Cron-Log Probleme mit zugriff auf die Datenbank

panda

New Member
#1
Ich verwende Debian7 nach einen System update habe ich im ISPConfig Cron - Log jedes mal wenn ich reboote folgende Fehler.

Code:
Tue Aug 12 12:29:03 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 62
Tue Aug 12 12:29:03 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:03 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:04 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:04 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:05 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:05 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:06 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:06 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:07 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:07 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:08 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:08 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:09 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:09 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:10 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:10 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:11 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Tue Aug 12 12:29:11 CEST 2014 PHP Warning: mysqli::mysqli(): (HY000/2002): 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 72
Tue Aug 12 12:29:16 CEST 2014 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Ich habe dann versucht ein ISPConfig update zu machen. Aber die Fehlermeldung kommt immer wieder nach reboot. Hat jemand eine idee?
 

Till

Administrator
#2
Hören die fehler denn nach einer Minute auf oder läuft das so ewig durch? Ich vermute mal dass mysql beim boot noch nicht voll gestartet ist und daher ispconfig noch nicht darauf zugreifen kann.
 

Werbung