|Applies To||RSA Product Set: NetWitness Logs & Network|
RSA Product/Service Type: Core Appliance
RSA Version/Condition: 10.6.x, 11.x
O/S Version: 10 and 11
Product Name: sasftpagent.sh
|Issue||When running the NetWitness Logs and Networks sasftpagent.sh script version 3.0.1, it fails returning this error "bad substitution" on Solaris 10 and Solaris 11.|
|Cause||The Solaris /usr/bin/sh is strict about the POSIX compliance version it will allow.|
The sasftpagent.sh script version 3.0.1 uses some commands and shell syntax for a different POSIX standard that is not available in Solaris /usr/bin/sh.
Solaris has other versions of the commands and shell under a different path which will work with the sasftpagent.sh script.
|Resolution||Change the first line of the sasftpagent.sh script version 3.0.1 from,|
to be the following two lines,
|Workaround||Another available work-around is to use the older version 2.7.10 sasftpagent.sh script (see attached below), which does work on Solaris 10/11.|
|Notes||Other errors may be observed when running the sasftpagent.sh script.|