Can't locate object method "SQL_TC_ALL" via package "60"

Operating System & Version
CLOUDLINUX 7.9
cPanel & WHM Version
v92.0.8

Viktor Renyi

Registered
Jan 8, 2019
2
0
1
Budapest
cPanel Access Level
Root Administrator
Hi,

clicking on the add new database link at the top of the page I get an error ( Error ID 191bdac0d6559) and I can't even add a database.

This error.log:

cpsrvd 191bdac0d6559: Can't locate object method "SQL_TC_ALL" via package "60" (perhaps you forgot to load "60"?) at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/DBI/Const/GetInfo/ANSI.pm line 216.
Compilation failed in require at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/DBI/Const/GetInfoType.pm line 44.

[2021-01-15 13:45:24 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[mysql] function=[GET_DISK_USAGE]: statusmsg=[Error ID 191bdac0d6559] at /usr/local/cpanel/Cpanel/Wrap.pm line 133, <$socket> line 1.
Cpanel::Wrap::send_cpwrapd_request("env", HASH(0x36333c0), "action", "fetch", "no_cperror", 1, "data", ARRAY(0x3632d00), ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 65
Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "mysql", "function", "GET_DISK_USAGE", "data", ARRAY(0x3632d00), ...) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 147
Cpanel::AdminBin::Call::_call_wrap(undef, "Cpanel", "mysql", "GET_DISK_USAGE") called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 87
Cpanel::AdminBin::Call::call("Cpanel", "mysql", "GET_DISK_USAGE") called at /usr/local/cpanel/Cpanel/API/Mysql.pm line 558
Cpanel::API::Mysql::list_databases(Cpanel::Args=HASH(0x35adcb8), Cpanel::Result=HASH(0x35adb80)) called at /usr/local/cpanel/Cpanel/API.pm line 345
eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 347
Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x35adcb8), Cpanel::Result=HASH(0x35adb80), "Mysql", "list_databases") called at /usr/local/cpanel/Cpanel/API.pm line 222
Cpanel::API::execute("Mysql", "list_databases", HASH(0x35ada48)) called at /usr/local/cpanel/Cpanel/Template/Plugin/CPDefault.pm line 80
Cpanel::Template::Plugin::CPDefault::_execute("Mysql", "list_databases", HASH(0x35e4da8)) called at (eval 4) line 1
eval {...} called at (eval 4) line 1
eval {...} called at (eval 4) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x321cb48)) called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
eval {...} called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
Template::Document::process(Template::Document=HASH(0x335d798), Template::Context=HASH(0x321cb48)) called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x321cb48), Template::Document=HASH(0x335d798)) called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x3219830), "/usr/local/cpanel/base/frontend/paper_lantern/sql/index.html.tt", HASH(0x3219068)) called at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
Template::process(Template=HASH(0x3219488), "/usr/local/cpanel/base/frontend/paper_lantern/sql/index.html.tt", HASH(0x3219068), SCALAR(0x131a330)) called at /usr/local/cpanel/Cpanel/Template.pm line 483
Cpanel::Template::process_template("cpanel", HASH(0x3219068), HASH(0x1330740)) called at cpanel.pl line 1107
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/sql/index.html.tt", 1) called at cpanel.pl line 4606
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 930
cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/sql/index.html.tt") called at cpanel.pl line 326
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,852
904
313
cPanel Access Level
Root Administrator
I'm sorry to hear that didn't take care of it. Can you restart the MySQL service normally on the system? If not, it may give us helpful errors about the problem.

If that doesn't give us more details, can you please open a ticket with our team so we can examine the system directly?
 

Ujins

Member
Jan 13, 2021
5
2
3
NY
cPanel Access Level
Website Owner
Post the line of code failing the compile (the error message from the log file gives you the line number and column number). This line will include a call to some procedure. Show the DECLARE (or procedure header) for that procedure.

You "may" have to show some additional info ... specifically the DIM/LOCAL statements for the parameter variables used in that call, but maybe not. But it can't hurt to show those too.
 
  • Like
Reactions: cPRex