The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

#2002 - The server is not responding (or the local MySQL server's socket is not corre

Discussion in 'General Discussion' started by HostPenguin, Aug 17, 2008.

  1. HostPenguin

    HostPenguin Registered

    Joined:
    Nov 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I am currently experiencing the following error when updating to any cPanel VPS Optimized version.

    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

    I have tried some of the suggested methods on here, but i'm still currently experiencing the same problem.
     
  2. GatorZach

    GatorZach Registered
    PartnerNOC

    Joined:
    Mar 17, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    service mysql restart
     
  3. HostPenguin

    HostPenguin Registered

    Joined:
    Nov 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    [root@server mysql]# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    [root@server mysql]# service mysql restart
    ERROR! MySQL manager or server PID file could not be found!
    Starting MySQL/etc/init.d/mysql: line 159: kill: (10169) - No such process
    ERROR!
     
  4. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    18
    what is in the mysql error log ?
     
  5. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    It should be due to space exceeded, check our tail -f hostname.err file in your
    /var/lib/mysql/

    Clear the err file and try restarting

    or check df -h
     
  6. hightekhosting

    hightekhosting Active Member

    Joined:
    Aug 12, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Try running:

    Code:
    /scripts/mysqlup --force
    This will reinstall MySQL with the latest version

    If that does not work, rename your my.cnf

    Code:
    mv /etc/my.cnf /etc/mycnf.old
    Then run

    Code:
    /scripts/mysqlup --force
    again and see how that goes :)

    Last time we had that issue, that solved it quick smart :)

    Regards,

    Dale E
     
Loading...

Share This Page