Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

#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:
    51
    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:
    51
    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:
    51
    [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:
    68
    what is in the mysql error log ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    66
    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:
    51
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice