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!
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure Amazon S3 backups in WHM?

There is always issues on the server like Hard Drive Failures and its very important to keep your...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Failed to open dir: Permission denied in /usr/local/lib/php/autoindex/default.php

While accessing the site I was getting error as -'Failed to open dir: Permission denied in...

How to reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

Powered by WHMCompleteSolution