Server hard drive got disconected some corruption with ispconfig?

Discussion in 'Installation/Configuration' started by ngoyette, Jul 27, 2015.

  1. ngoyette

    ngoyette Member

    Hello
    i've had a problem where vmware just disconnected hard drive... got corruption fixed all i could manually ....

    but now @ boot i see
    Code:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    looking around i found some website db corrupted .. not a problem... but in the /var/log/ispconfig/cron.log i see a lots of error
    Code:
    Mon Jul 27 15:04:27 EDT 2015 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
    Mon Jul 27 15:04:28 EDT 2015 PHP Warning:  mysqli::close(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 82
    repeating about 20 times...

    how can i trace what is the problem??
    BTW, all other db operation on websites seem's to work .. i can also log in localy ....

    thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that mysql was not available at that time.
     
  3. ngoyette

    ngoyette Member

    thank you for the reply till


    yeah its strange...i can see this message like 5 times on boot... was not seeing this before ... its making me nervous :(
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you see this only at boot time, then there should be no problem. Probably postfix gets started before MySQL.
     
  5. ngoyette

    ngoyette Member

    okay thank you till
     

Share This Page