I'm seeing this error after the upgrade in WHM apparently completed, but now MySQL won't run:
Also, when attempting to restart mysqld, I get the following failure:
Code:
(XID h2bb74) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Whostmgr/Mysql/Upgrade.pm line 234.
Whostmgr::Mysql::Upgrade::__ANON__(Cpanel::Exception::Database::ConnectError=HASH(0x3e98a28)) called at /usr/local/cpanel/3rdparty
Code:
Waiting for “mysqld” to start ……[2018-08-27 22:32:27 -0400] warn [restartsrv_mysql] The system encountered an error while starting the “mysqld” service with the command “/etc/init.d/mysqld start”: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 1403. Cpanel::ServiceManager::Base::warn(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "The system encountered an error while starting the \x{e2}\x{80}\x{9c}mysqld\x{e2}"...) called at /usr/local/cpanel/Cpanel/ServiceManager/Manager/Initd.pm line 103 Cpanel::ServiceManager::Manager::Initd::start(Cpanel::ServiceManager::Manager::Initd=HASH(0x2513498), Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 848 Cpanel::ServiceManager::Base::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Services/Mysql.pm line 60 Cpanel::ServiceManager::Services::Mysql::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 707 Cpanel::ServiceManager::Base::restart(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "graceful", undef) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 540 Cpanel::ServiceManager::Base::run_from_argv(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "--verbose", "--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 96 scripts::restartsrv_base::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x21a1870), Try::Tiny::Catch=REF(0xb3ea58)) called at bin/restartsrv_base.pl line 130 scripts::restartsrv_base::run("--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 33 …[2018-08-27 22:32:33 -0400] warn [restartsrv_mysql] The system encountered an error while starting the “mysqld” service with the command “/etc/init.d/mysqld start”: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 1403. Cpanel::ServiceManager::Base::warn(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "The system encountered an error while starting the \x{e2}\x{80}\x{9c}mysqld\x{e2}"...) called at /usr/local/cpanel/Cpanel/ServiceManager/Manager/Initd.pm line 103 Cpanel::ServiceManager::Manager::Initd::start(Cpanel::ServiceManager::Manager::Initd=HASH(0x2513498), Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 848 Cpanel::ServiceManager::Base::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Services/Mysql.pm line 60 Cpanel::ServiceManager::Services::Mysql::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 707 Cpanel::ServiceManager::Base::restart(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "graceful", undef) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 540 Cpanel::ServiceManager::Base::run_from_argv(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "--verbose", "--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 96 scripts::restartsrv_base::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x21a1870), Try::Tiny::Catch=REF(0xb3ea58)) called at bin/restartsrv_base.pl line 130 scripts::restartsrv_base::run("--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 33 …[2018-08-27 22:32:39 -0400] warn [restartsrv_mysql] The system encountered an error while starting the “mysqld” service with the command “/etc/init.d/mysqld start”: The subprocess reported error number 1 when it ended. at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 1403. Cpanel::ServiceManager::Base::warn(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "The system encountered an error while starting the \x{e2}\x{80}\x{9c}mysqld\x{e2}"...) called at /usr/local/cpanel/Cpanel/ServiceManager/Manager/Initd.pm line 103 Cpanel::ServiceManager::Manager::Initd::start(Cpanel::ServiceManager::Manager::Initd=HASH(0x2513498), Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 848 Cpanel::ServiceManager::Base::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Services/Mysql.pm line 60 Cpanel::ServiceManager::Services::Mysql::start(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 707 Cpanel::ServiceManager::Base::restart(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "graceful", undef) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 540 Cpanel::ServiceManager::Base::run_from_argv(Cpanel::ServiceManager::Services::Mysql=HASH(0x21a1390), "--verbose", "--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 96 scripts::restartsrv_base::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x21a1870), Try::Tiny::Catch=REF(0xb3ea58)) called at bin/restartsrv_base.pl line 130 scripts::restartsrv_base::run("--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 33 …failed.
Last edited by a moderator: