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!

MySQL Server Not Restarting

Discussion in 'Database Discussion' started by Mick Denton, Feb 11, 2016.

  1. Mick Denton

    Mick Denton Registered

    Joined:
    Feb 11, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Can anyone help?

    We are unable to restart the MySQL server and receive this log.

    Code:
    Waiting for “mysql” to start ……………failed.
    
    Service Error
    (XID f42v85) The “mysql” service failed to start.
    
    Startup Log
    Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/vps.example.co.uk.pid).
    
    Log Messages
    160210 15:33:31 mysqld_safe mysqld from pid file /var/lib/mysql/vps.example.co.uk.pid ended
    /usr/sbin/mysqld[0x862e61]
    /usr/sbin/mysqld[0x8626d1]
    /usr/sbin/mysqld[0x91c39e]
    /usr/sbin/mysqld[0x91c16f]
    /usr/sbin/mysqld[0x8616d1]
    /usr/sbin/mysqld[0x86bee5]
    /usr/sbin/mysqld[0x86baec]
    /usr/sbin/mysqld[0x86f603]
    /usr/sbin/mysqld[0x85936a]
    /usr/sbin/mysqld[0x8d5f19]
    160210 15:33:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    160210 15:33:25 mysqld_safe mysqld from pid file /var/lib/mysql/vps.example.co.uk.pid ended
    /usr/sbin/mysqld[0x862e61]
    /usr/sbin/mysqld[0x8626d1]
    /usr/sbin/mysqld[0x91c39e]
    /usr/sbin/mysqld[0x91c16f]
    /usr/sbin/mysqld[0x8616d1]
    /usr/sbin/mysqld[0x86bee5]
    /usr/sbin/mysqld[0x86baec]
    /usr/sbin/mysqld[0x86f603]
    /usr/sbin/mysqld[0x85936a]
    /usr/sbin/mysqld[0x8d5f19]
    
    mysql has failed. Contact your system administrator if the service does not automagically recover.
    
    
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,817
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Can you please try to restart mysql through command line and check mysql error logs file and let me know what exact error are you getting in logs file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the output to /var/lib/mysql/$hostname.err when MySQL fails to start?

    Thank you.
     
    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