Can't exec "/bin/bash": No such file or directory at /usr/sec/bin/setupfake line 359.
shell failed at /usr/sec/bin/setupfake line 359.
I keep getting the above-referenced error emailed to me each time I run the script (nightly). The script appears to run perfectly otherwise (backups being made and rotated). I also run the script for a different database on the same server without getting the error message. The variables seem pretty similar in both scripts.
2010-11-06 18:33:57 CET
Can't exec "/bin/bash": No such file or directory at /usr/sec/bin/setupfake line 359. shell failed at /usr/sec/bin/setupfake line 359.
This version requires bash. Maybe your bash is located somewhere else than in the /bin directory (/usr/sec/bin/bash)? In this case changing the sha-bang to the right pathname will do the job.
On the other hand it looks like the script is executed from another script in some kind of chroot. Then you'll have to make sure that bash is available in this environment.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.