500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/ addon_cwaf.cgi): The subprocess reported error number 2 when it ended.

The 500 internal server on WHM Comodo plugin with below Error Message:

[2017-03-04 10:55:43 -0300] info [xml-api] Using new TIERS.json version file
Can't locate whmlib.pm in @INC (you may need to install the whmlib module) (@INC contains:
/usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi /usr/local/cpanel/3rdparty/perl/524/lib64/
perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib /
usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int /usr/local/cpanel/
3rdparty/perl/524/lib64/perl5/5.24.1 /opt/cpanel/perl5/524/site_lib/x86_64-linux-64int /opt/cpanel/
perl5/524/site_lib) at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi line 9.
[2017-03-04 10:55:46 -0300] info [whostmgrd] Internal Server Error: "GET /cpsess1341326746/cgi/
addon_cwaf.cgi HTTP/1.1" 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/
addon_cwaf.cgi): The subprocess reported error number 2 when it ended.

Solution:

root@cloud [/]# /var/cpanel/cwaf/scripts/update-client.pl

Available new client version 2.20.1
script file downloaded OK
Running update command: bash /var/cpanel/cwaf/tmp/install/cwaf_client_install.sh -- --update --mode auto --path=/var/cpanel/cwaf
Verifying archive integrity... All good.
Uncompressing Comodo WAF Client Installer v2.20.1.........................................................................................................................................................................................................................
------------------------------------------------------
Checking pre-requisites
------------------------------------------------------
BASH bin OK (/bin/bash)
CPAN bin OK (/usr/bin/cpan)
GCC bin OK (/usr/bin/gcc)
MAKE bin OK (/usr/bin/make)
STRINGS bin OK (/usr/bin/strings)
------------------------------------------------------
Running installer
------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
+------------------------------------------------------
Update succesful!
update process finished!

That's it!

Was this answer helpful?

 Print this Article

Also Read

How to to know SSH port on the cPanel server?

Steps to know SSH port of cPanel server -1. Login to WHM with your login details. 2. Go to...

How to run the MySql performance tuning script for the cPanel server?

Follow below steps and run the mysql performance tuning script on your cPanel server -1. cd...

How to renew the cPanel license on your server?

Quickest way to renew cPanel license - First, you may check if the server has valid license for...

root @hostname emails are frozen on the cPanel server

I have configured WHM >> Edit System Mail Preferences page but emails are not getting...

Domain ****.com has outgoing email disabled.

I was getting below error message while sending emails - This message was created automatically...

Powered by WHMCompleteSolution