View Single Post
  #1  
Old 25th February 2010, 11:19
IrDA IrDA is offline
Junior Member
 
Join Date: Dec 2009
Posts: 13
Thanks: 0
Thanked 2 Times in 1 Post
Default Cron jobs not running

Hi all,

I am trying to set up some cron jobs for certain clients but I can't get them to work properly. I use the ISPconfig interface to set up cron jobs and the client have the option Full Cron enabled. The command is use for a test client to run every two minutes is:

Code:
2
*
*
*
*
/usr/bin/wget -O - -q -t 1 http://www.xxxx.gr/cron.php
This does not run. In /etc/cron.d/ there are an entry representing my test client (ipsc_chrooted_webX). These contain the jk_chrootsh shell which is not installed in my server, I didn't think that I would need jailkit.

Several errors appear in ISPC Cron-log (under "Monitor" tab).

Code:
chmod: cannot access `/var/www/clients/client7/web7/*': No such file or directory
chmod: cannot access `/var/www/clients/client8/web8/*': No such file or directory
chmod: cannot access `/var/www/clients/client7/web7/*': No such file or directory
chmod: cannot access `/var/www/clients/client8/web8/*': No such file or directory
/usr/local/ispconfig/server/scripts/create_jailkit_chroot.sh: line 24: jk_init: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_user.sh: line 25: jk_jailuser: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_chroot.sh: line 24: jk_init: command not found
mkdir: cannot create directory `/var/www/clients/client2/web2/var': File exists
mkdir: cannot create directory `/var/www/clients/client2/web2/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client2/web2/var/run/mysqld': File exists
ln: creating hard link `/var/www/clients/client2/web2/var/run/mysqld/mysqld.sock': File exists
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_user.sh: line 25: jk_jailuser: command not found
usermod: no changes
/usr/local/ispconfig/server/scripts/create_jailkit_chroot.sh: line 24: jk_init: command not found
mkdir: cannot create directory `/var/www/clients/client2/web2/var': File exists
mkdir: cannot create directory `/var/www/clients/client2/web2/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client2/web2/var/run/mysqld': File exists
ln: creating hard link `/var/www/clients/client2/web2/var/run/mysqld/mysqld.sock': File exists
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_user.sh: line 25: jk_jailuser: command not found
usermod: no changes
I am not sure about these errors at all. Some of them appear to be coming from missing jailkit programs. Could you please help me set up cron correctly and get rid of these errors??
Reply With Quote
Sponsored Links