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 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...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

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....

Powered by WHMCompleteSolution