The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ConfigServer ModSec Control in 11.38.1 not working

Discussion in 'Security' started by Hedloff, Jul 30, 2013.

  1. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Hi,

    We have 11.38.1 builde 13 and 15 and ConfigServer ModSec Control have stopped working.
    We get this error on all servers:
    Software error:

    Can't locate JSON/XS.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/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 25.
    BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 25.

    Anyone seen these and know how to fix them?
    Think it might have something to do with the app config thing you have added lately...
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
  4. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    It seems perl module JSON::XS is missing. You can follow below steps to install it

     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    ConfigServer update script I mentioned in my previous post will fix that automatically.
     
  6. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Yes, that worked fine. Thanks :)
    Only downside is that it installed other scripts we did not use from before as mail manage, mail queue and explorer.
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is no downside to those other scripts, if, they were installed.
     
Loading...

Share This Page