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

The following errors were found : Drupal not upgrading using Softaculous

While upgrading the Drupal from 8.19 to 8.21 from cPanel >> Softaculous Application...

587 sender verify fail for <email address>: No Such User Here

I was getting the error while sending email as -587 sender verify fail for <email address>:...

How to install MALDET Linux Malware Detect on cPanel Server?

Maldet is a malware detector and scanner for Linux based servers a project designed by R-fx...

#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation

While running one query from cPanel >> PhpMyAdmin, I was getting this error message -#1227...

How to prevent xmlrpc attack on the WordPress?

To prevent xmlrpc attack in WordPress website just add below code to the .htaccess file of the...

Powered by WHMCompleteSolution