Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 24th June 2012, 23:27
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
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; 24th June 2012 at 23:30.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron jobs doesn't start. vaio1 Installation/Configuration 1 11th May 2012 09:36
Cron jobs not getting run 99miles General 3 29th February 2012 23:16
ISPc with frontal and specialized work for PC servers DreamK Tips/Tricks/Mods 1 8th February 2010 10:33
Upgraded and all webs work but dont show in ISPC grandpagenocide General 3 10th April 2008 14:18
cron jobs again DaRKNeSS666NL Installation/Configuration 8 29th March 2007 09:18


All times are GMT +2. The time now is 15:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.