I made a change to the number of temporary IPs that can be blocked in my CSF firewall yesterday -- and everything was fine. Went in this mornign to check on it, and received a 500 error. I believe that WHM/CPanel was just updated.
The log shows the following error:
[Tue Oct 12 11:02:12 2021] csf.cgi: Can't locate Cpanel/cPanelFunctions.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi line 17.
[Tue Oct 12 11:02:12 2021] csf.cgi: BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi line 17.
[2021-10-12 11:02:12 -0700] warn [whostmgrd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi) exited with an error (ID 0128320013909651): The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 264.
Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x3bfb7a0)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 111
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3bfb7a0), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 3059, __CPANEL_HIDDEN__, GLOB(0x3bfba28), __CPANEL_HIDDEN__, ...) called at cpsrvd.pl line 7387
cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 6825
cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 2075
cpanel::cpsrvd::dodoc(HASH(0x14b4048)) called at cpsrvd.pl line 1812
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 1061
cpanel::cpsrvd::script() called at cpsrvd.pl line 440
------------------------
I can't find any reference to the cPanelFunctions.pm anywhere on my server or in searches. Advice?
Thanks
The log shows the following error:
[Tue Oct 12 11:02:12 2021] csf.cgi: Can't locate Cpanel/cPanelFunctions.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi line 17.
[Tue Oct 12 11:02:12 2021] csf.cgi: BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi line 17.
[2021-10-12 11:02:12 -0700] warn [whostmgrd] The subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf.cgi) exited with an error (ID 0128320013909651): The subprocess reported error number 2 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 264.
Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x3bfb7a0)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 111
Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3bfb7a0), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 3059, __CPANEL_HIDDEN__, GLOB(0x3bfba28), __CPANEL_HIDDEN__, ...) called at cpsrvd.pl line 7387
cpanel::cpsrvd::cgiHandler(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at cpsrvd.pl line 6825
cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 2075
cpanel::cpsrvd::dodoc(HASH(0x14b4048)) called at cpsrvd.pl line 1812
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 1061
cpanel::cpsrvd::script() called at cpsrvd.pl line 440
------------------------
I can't find any reference to the cPanelFunctions.pm anywhere on my server or in searches. Advice?
Thanks
Last edited by a moderator: