WHM 11.38

These forums are not for questions about ModSecurity, just the cmc script itself
4 posts Page 1 of 1
redexpertos
Junior Member
Posts: 8
Joined: 29 May 2011, 16:28


CMC not running on WHM 11.38

I got this errors.

Tried to solve by updating cpanel and cmc installation with no success, someone else having this issue?

Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-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.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
bloatedstoat
Junior Member
Posts: 6
Joined: 11 Jun 2013, 01:22


Hello, I have just posted a similar thread. Do you have MailManage, MailQueues and Explorer also experiencing problems?
bloatedstoat
Junior Member
Posts: 6
Joined: 11 Jun 2013, 01:22


Update the path to perl in /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi to:

#!/usr/local/cpanel/3rdparty/bin/perl
Sarah
Moderator
Posts: 799
Joined: 09 Dec 2006, 22:49


The update script in our blog post should fix these problems:
http://blog.configserver.com/index.php?itemid=738
4 posts Page 1 of 1