View Single Post
  #1  
Old 25th June 2012, 00:27
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 263
Thanks: 32
Thanked 6 Times in 5 Posts
Default ISPC 3.0.4.5: Cron Jobs don't work

Hi, I have trouble with the cron jobs.

I have installed ISPC on debian squeeze following falko's perfect server How-To (thanks!)

I created the cron job in ISPC config under the proper user (web7)

syslog is telling me the following:
Quote:
Jun 24 17:05:01 bababobo1 /USR/SBIN/CRON[23877]: (web7) CMD (/usr/bin/php /var/www/clients/client1/web7/web/cronjobs/il_test.php^I#domain)
Jun 24 17:05:01 bababobo1 /USR/SBIN/CRON[23871]: (CRON) error (grandchild #23877 failed with exit status 17)
I also tried to change /usr/bin/php into /var/www/clients/client1/web7/usr/bin/php but the log stays the same, I presume both resolve to the chrooted shell.

Exit status 17 baffles me a little, according to
http://www.visualcron.com/ExitCodes.aspx
it means "The system cannot move the file to a different disk drive." ??
(even more baffling, I was unable to find another cron exit codes list on the internet)

Anyway, I don't know what's wrong.

I checked the log in /var/log/ispconfig/cron.log, and it says:
Quote:
mkdir: cannot create directory `/var/www/clients/client1/web7/var': File exists
mkdir: cannot create directory `/var/www/clients/client1/web7/var/run': File exists
usermod: user web7 is currently logged in
failed to execute usermod -d /var/www/clients/client1/web7/. -s /usr/sbin/jk_chrootsh web7
failed to modify user web7
usermod: user web7 is currently logged in
usermod: unlocking the user's password would result in a passwordless account.
You should set a password with usermod -p to unlock this user's password.
usermod: user web7 is currently logged in
failed to execute usermod -d /var/www/clients/client1/web7/. -s /usr/sbin/jk_chrootsh web7
failed to modify user web7
usermod: user web7 is currently logged in
PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
usermod: user web7 is currently logged in
failed to execute usermod -d /var/www/clients/client1/web7/. -s /usr/sbin/jk_chrootsh web7
failed to modify user web7
usermod: user web7 is currently logged in
PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
usermod: unlocking the user's password would result in a passwordless account.
You should set a password with usermod -p to unlock this user's password.
I have no idea what these things mean and if that is the cause of my crons not working.
Who can help?
Thank you

Last edited by manarak; 25th June 2012 at 00:30.
Reply With Quote
Sponsored Links