View Single Post
  #1  
Old 17th April 2011, 05:58
Nolan Nolan is offline
Member
 
Join Date: Nov 2010
Posts: 83
Thanks: 2
Thanked 5 Times in 4 Posts
Default Cron issue in Debian 6

Hi, I've got a cron job to execute every minute, and It's not working. The web files were transferred from a different server with permissions.
Here's the ISPConfig Cron - Log:
Code:
PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
ERROR: /var/www/clients/client1 is writable by group or others!mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
ERROR: /var/www/clients/client1 is writable by group or others!ERROR: /var/www/clients/client1 is writable by group or others!invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
usermod: no changes
PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
ERROR: /var/www/clients/client1 is writable by group or others!mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
ERROR: /var/www/clients/client1 is writable by group or others!ERROR: /var/www/clients/client1 is writable by group or others!invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
usermod: no changes
PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
ERROR: /var/www/clients/client1 is writable by group or others!mkdir: cannot create directory `/var/www/clients/client1/web2/var': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client1/web2/var/run/mysqld': File exists
ln: creating hard link `/var/www/clients/client1/web2/var/run/mysqld/mysqld.sock': File exists
ERROR: /var/www/clients/client1 is writable by group or others!ERROR: /var/www/clients/client1 is writable by group or others!invalid shell, /var/www/clients/client1/web2/bin/bash does not exist
usermod: no changes
PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
repquota: Cannot find any quota file to work on.
Any suggestions?

-Nolan

Last edited by Nolan; 17th April 2011 at 06:48.
Reply With Quote
Sponsored Links