Most affordable 24×7 server management plan including 24×7 monitoring, security audit and much more  Server Management Services 

Error while accessing modsec control from WHM :Software error:

Full Error,

Can’t locate JSON/XS.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/JSON.pm line 15.

This may occur while you try to access modsec control from WHM.

So here from this error it’s clear that it’s occurred because of it ” Can’t locate JSON/XS “. Here for fixing this we need to install JSON/XS in the server, for that login to the server via ssh and enter the following command,

root@iserversupport4[~]# /scripts/perlinstaller JSON:XS

This is the cPanel script for installing JSON:XS on your server.

Now restart cPanel and try again and it will be fixed.

Need our help to fix the issue ? Submit Support Ticket Now