Problems with apache

Discussion in 'General' started by fordwrench, Jun 21, 2011.

  1. fordwrench

    fordwrench Member HowtoForge Supporter

    I keep getting the following errors in my apache2 error.log and apache cannot connect to mysql.


    DBI connect('database=dbispconfig;host=localhost:3306','ispconfig',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/ispconfig/server/scripts/vlogger line 257
    [Tue Jun 21 03:29:35 2011] [notice] Digest: generating secret for digest authentication ...
    [Tue Jun 21 03:29:35 2011] [notice] Digest: done
    DBI connect('database=dbispconfig;host=localhost:3306','ispconfig',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/ispconfig/server/scripts/vlogger line 257
    [Tue Jun 21 03:29:37 2011] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze1 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations



    Mrfordwrench
     
  2. Ghostdare

    Ghostdare Member

    Your mysqld service is running.


    PS: Ty Falko.... i forgot the qquestion mark.
     
    Last edited: Jun 22, 2011
  3. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to restart MySQL?
     

Share This Page