cpsrvd pending on WHM and down on CPanel account
AnsweredAfter the last two updates there were problems with the "cpsrvd" service, in the Service Information section of the WHM the cpsrvd service appears "pending", but in the domain management cpanel account it appears "down".
In the error log it appeared that the directory did not exist:
warn [cpanel] open(<, /var/run/chkservd/cpsrvd): No such file or directory
Once created in the cpanel/Whm 120.0.10 version it worked creating the directory in question, but in the two updates up to the current 120.0.14, when restarting the server after the update it requires creating the directory again but the service remains in effect. pending and down respectively
Below is the CPANEL log that indicates the failure to initialize a variable:
[2024-07-14 10:13:30 -0400] warn [Internal Warning while parsing ./frontend/jupiter/tools/status.html.tt 9069] Use of uninitialized value $contents in chomp at /usr/local/cpanel/Cpanel/Status.pm line 107.
at /usr/local/cpanel/Cpanel/Status.pm line 107.
Cpanel::Status::get_monitored_services() called at /usr/local/cpanel/Cpanel/Serverinfo.pm line 234
Cpanel::Serverinfo::get_status() called at /usr/local/cpanel/Cpanel/API/ServerInformation.pm line 146
Cpanel::API::ServerInformation::get_information(Cpanel::Args=HASH(0x21cd0e0), Cpanel::Result=HASH(0x21cd638)) called at /usr/local/cpanel/Cpanel/API.pm line 369
eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 371
Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x21cd0e0), Cpanel::Result=HASH(0x21cd638), "ServerInformation", "get_information") called at /usr/local/cpanel/Cpanel/API.pm line 252
Cpanel::API::execute("ServerInformation", "get_information", HASH(0x21c5af0)) called at /usr/local/cpanel/Cpanel/Template/Plugin/CPDefault.pm line 93
Cpanel::Template::Plugin::CPDefault::_execute("ServerInformation", "get_information") called at (eval 6) line 1
eval {...} called at (eval 6) line 1
eval {...} called at (eval 6) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x21b7120)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163
Template::Document::process(Template::Document=HASH(0x21c45b8), Template::Context=HASH(0x21b7120)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x21b7120), Template::Document=HASH(0x21c45b8)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x21b6d00), "/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", HASH(0x21b6270)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template.pm line 66
Template::process(Template=HASH(0x21b6958), "/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", HASH(0x21b6270), SCALAR(0x1daa238)) called at /usr/local/cpanel/Cpanel/Template.pm line 485
Cpanel::Template::process_template("cpanel", HASH(0x21b6270), HASH(0x1db1930)) called at cpanel.pl line 1108
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", 1) called at cpanel.pl line 4643
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 931
cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/tools/status.html.tt") called at cpanel.pl line 324
[2024-07-14 10:13:30 -0400] warn [Internal Warning while parsing ./frontend/jupiter/tools/status.html.tt 9069] Use of uninitialized value $contents in string eq at /usr/local/cpanel/Cpanel/Status.pm line 108.
at /usr/local/cpanel/Cpanel/Status.pm line 108.
Cpanel::Status::get_monitored_services() called at /usr/local/cpanel/Cpanel/Serverinfo.pm line 234
Cpanel::Serverinfo::get_status() called at /usr/local/cpanel/Cpanel/API/ServerInformation.pm line 146
Cpanel::API::ServerInformation::get_information(Cpanel::Args=HASH(0x21cd0e0), Cpanel::Result=HASH(0x21cd638)) called at /usr/local/cpanel/Cpanel/API.pm line 369
eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 371
Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x21cd0e0), Cpanel::Result=HASH(0x21cd638), "ServerInformation", "get_information") called at /usr/local/cpanel/Cpanel/API.pm line 252
Cpanel::API::execute("ServerInformation", "get_information", HASH(0x21c5af0)) called at /usr/local/cpanel/Cpanel/Template/Plugin/CPDefault.pm line 93
Cpanel::Template::Plugin::CPDefault::_execute("ServerInformation", "get_information") called at (eval 6) line 1
eval {...} called at (eval 6) line 1
eval {...} called at (eval 6) line 1
Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x21b7120)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163
Template::Document::process(Template::Document=HASH(0x21c45b8), Template::Context=HASH(0x21b7120)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322
Template::Context::process(Template::Context=HASH(0x21b7120), Template::Document=HASH(0x21c45b8)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x21b6d00), "/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", HASH(0x21b6270)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template.pm line 66
Template::process(Template=HASH(0x21b6958), "/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", HASH(0x21b6270), SCALAR(0x1daa238)) called at /usr/local/cpanel/Cpanel/Template.pm line 485
Cpanel::Template::process_template("cpanel", HASH(0x21b6270), HASH(0x1db1930)) called at cpanel.pl line 1108
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/jupiter/tools/status.html.tt", 1) called at cpanel.pl line 4643
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 931
cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/tools/status.html.tt") called at cpanel.pl line 324
-
Hey there! /var/run/chkservd/cpsrvd should be a file, not a directory. The default content of that file is just one + symbol if you have monitoring enabled.
Is that file in place with the + symbol?
0 -
changed the directory to a file with the + inside, after restart, now it appears up and running. Thanks!
0 -
I'm glad that's all it was!
0
Please sign in to leave a comment.
Comments
3 comments