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!

Problem mysql restart in whm

Discussion in 'General Discussion' started by jaheem, Nov 3, 2017.

  1. jaheem

    jaheem Member

    May 31, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    my server mysql crached when i try to restart giv me

    Restarting MySQL Server

    Cpanel::Exception::Timeout/(XID znx69e) The system failed to lock the file “/var/run/restartsrv_mysql” after 60 seconds. at /usr/local/cpanel/Cpanel/Exception/ line 330. Cpanel::Exception::create("Timeout", "The system failed to lock the file \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} after [quant,_2"..., ARRAY(0x2f25be8)) called at /usr/local/cpanel/Cpanel/ line 46 Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., ARRAY(0x2f25be8)) called at /usr/local/cpanel/Cpanel/ line 425 Cpanel::SafeFile::_do_flock_or_return_exception(GLOB(0x322beb0), "/var/run/restartsrv_mysql") called at /usr/local/cpanel/Cpanel/ line 370 Cpanel::SafeFile::_safe_open(GLOB(0x322beb0), ">>", "/var/run/restartsrv_mysql", CODE(0xb8fc10), "safeopen") called at /usr/local/cpanel/Cpanel/ line 78 Cpanel::SafeFile::safeopen(GLOB(0x322beb0), ">>", "/var/run/restartsrv_mysql") called at /usr/local/cpanel/Cpanel/RestartSrv/ line 25 Cpanel::RestartSrv::Lock::new("Cpanel::RestartSrv::Lock", "mysql") called at /usr/local/cpanel/Cpanel/ServiceManager/ line 183 Cpanel::ServiceManager::Base::lock(Cpanel::ServiceManager::Services::Mysql=HASH(0x2d3bc50)) called at /usr/local/cpanel/Cpanel/ServiceManager/ line 459 Cpanel::ServiceManager::Base::BUILD(Cpanel::ServiceManager::Services::Mysql=HASH(0x2d3bc50), HASH(0xc060e0)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Cpanel/Class/ line 49 Cpanel::Class::Object::BUILDALL(Cpanel::ServiceManager::Services::Mysql=HASH(0x2d3bc50), HASH(0xc060e0)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Cpanel/Class/ line 41 Cpanel::Class::Object::new("Cpanel::ServiceManager::Services::Mysql", "service", "mysql") called at /usr/local/cpanel/Cpanel/ line 91 Cpanel::ServiceManager::new("Cpanel::ServiceManager", "service", "mysql") called at bin/ line 60 main::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/ line 98 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/ line 89 Try::Tiny::try(CODE(0x2cef9e0), Try::Tiny::Catch=REF(0xb99fc0)) called at bin/ line 107

    Any help

    Thank you
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Could you try restarting MySQL via the command line and verify if you see the same result? EX:

    If so, do you notice any output to /var/lib/mysql/$hostname.err during the failed restart attempt? Note that these types of issues are typically better addressed by opening a support ticket via the link in my signature so we can get a better idea of what's happening.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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