Hello, I have the following cron entry and I'm having a problem with the output. Code: * * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo $(/bin/date) "$line" >> /var/log/ispconfig/cron.log; done Here is the cron.log output. Code: Fri Apr 17 00:30:02 EDT 2015 sh: -c: line 0: unexpected EOF while looking for matching `"' Fri Apr 17 00:30:02 EDT 2015 Warning: Truncating oversized referrer field Fri Apr 17 00:30:02 EDT 2015 sh: -c: line 1: syntax error: unexpected end of file The commands Code: /usr/bin/php -q /usr/local/ispconfig/server/server.php /usr/bin/php -q /usr/local/ispconfig/security/check.php Seem to work fine if I execute them manually. But the cron.log has that output error. Also when I run the server.sh from the command line it runs without errors. I'm not sure where it's getting /bin/sh from, it was using /bin/sh in the script but I changed it to /bin/bash and it still doesn't work properly. Can anyone help?
OVH installs the software for hradware raid controllers on servers that dont use a hardware raid. When ispconfig finds the raid drivers, it queries them for the raid status and as there is no raid, the raid driver returns an error and this error gets logged. Please see here: https://www.howtoforge.com/community/threads/unexpected-end-of-file-error-solved.68680