After some changes on one of our internal servers one of the cron jobs stopped to work with this error: /usr/bin/php: bad interpreter: Permission denied
Everything is in place! PHP is there ... the script is executable ... but the cron job is not working!
I have searched google for some answers. And I have found it on one website. The partition where the script was stored is mounted as "noexec".
To fix this you need to edit your fstab file and change mount options for your partition. After this "mount -a" should work, it did not work for me and I've had to remount partitions manualy (reboot will help too).
Greetings
Wednesday, June 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment