Unable To Execute Shell Script With Expect Commands in The JCS Instance VM
(Doc ID 2434617.1)
Last updated on AUGUST 16, 2018
Applies to:Java Cloud Service - Version N/A and later
Information in this document applies to any platform.
Unable to execute shell script with expect commands
Customer have SFTP shell scripts based on unix internal utility command exact. Due to missing util under /usr/bin/expect, our shell script is failing with missing directory or filename.
[oracle@bcujcsprod-wls-1 SFTP_Scripts]$ ./Institution_Upload_BCU.sh
bash: ./Institution_Upload_BCU.sh: /usr/bin/expect: bad interpreter: No such file or directory
The same type of command worked on our dev/test environment, customer verified on Prod box /usr/bin folder, there are no expect util present.
Can you install missing util files on JCS Prod instance?
/usr/bin/expect: bad interpreter: No such file or directory
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document