Cron-Log Probleme mit zugriff auf die Datenbank

Dieses Thema im Forum "Installation und Konfiguration" wurde erstellt von panda, 12. Aug. 2014.

  1. panda

    panda New Member

    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?
     
  2. Till

    Till Administrator

    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.
     

Diese Seite empfehlen