Edit: mod can remove this post, i havent seen that the issue was posted already
Hello!
It seems that after v84.0.13 cPanel update the CWAF plugin is broken, accessing it’s control panel returns error 500. Reinstall doesn’t help
Browser error:
No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi): The subprocess reported error number 72,057,594,037,927,935 when it ended. The process dumped a core file.
tail -f /usr/local/cpanel/logs/error_log:
Can’t locate Cpanel/AdvConfig/apache.pm in [at]INC (you may need to install the Cpanel::AdvConfig::apache module) ([at]INC contains: /usr/local/cpanel /var/cpanel/cwaf/modules/CPAN/lib /usr/local/cpanel/whostmgr/docroot/cgi /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/Cpanel.pm line 15.
BEGIN failed–compilation aborted at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/Cpanel.pm line 15.
Compilation failed in require at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/if.pm line 15.
BEGIN failed–compilation aborted at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/Platform.pm line 16.
Compilation failed in require at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/ClientAPI.pm line 17.
BEGIN failed–compilation aborted at /var/cpanel/cwaf/modules/CPAN/lib/Comodo/CWAF/ClientAPI.pm line 17.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi line 19.
BEGIN failed–compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cwaf.cgi line 19.
[2019-11-21 13:18:18 +0100] info [whostmgrd] Internal Server Error: “GET /cpsess3925626570/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 72,057,594,037,927,935 when it ended. The process dumped a core file
Server is Centos 7 CloudLinux:
Linux 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux