Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans
Error while accessing modsec control from WHM :Software 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,
[email protected][~]# /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
[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]