ModSec Control dies with Perl module problems - [Solved]
Posted: 11 Jun 2013, 01:35
Within the past week ModSec Control on our cPanel server WHM 11.38.0 (build 16) no longer works. When start is attempted we get:
Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/JSON.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 15.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 53.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 53.
Compilation failed in require at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
In addition we have MailManage, MailQueues and Explorer which also die with :
No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi): subprocess exited with status 2 in each case.
Security&Firewall is unaffected and is running happily.
Any advice or recommendations?
Note: I'd rather not update any Perl modules on the cli for this production server, prefer to leave that to cPanel's own update process.
Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/JSON.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/JSON.pm line 15.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template/Plugin/JSON.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 53.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 53.
Compilation failed in require at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
In addition we have MailManage, MailQueues and Explorer which also die with :
No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi): subprocess exited with status 2 in each case.
Security&Firewall is unaffected and is running happily.
Any advice or recommendations?
Note: I'd rather not update any Perl modules on the cli for this production server, prefer to leave that to cPanel's own update process.