Author Topic: MD5 Checksum for cwaf_rules-1.233.tgz failed  (Read 188 times)

Offline Khalequzzaman

  • Newbie
  • *
  • Posts: 1
MD5 Checksum for cwaf_rules-1.233.tgz failed
« on: April 25, 2021, 12:03:11 PM »
Hello,

I am using DirectAdmin and tried to switch ModSecurity OWASP to Comodo WAF. But, when I run the above command:

cd /usr/local/directadmin/custombuild
./build update
./build set modsecurity yes
./build set modsecurity_ruleset comodo
./build modsecurity

I get the error (screenshot): https://prnt.sc/121m9is

The output of HTTPD service after the errors:
[root[at]liberty custombuild]# systemctl status httpd.service -l
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2021-04-25 21:59:07 +06; 17s ago
  Process: 14344 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 19031 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
  Process: 16830 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 16830 (code=exited, status=1/FAILURE)

Apr 25 21:59:07 XXX-hostname-XXX systemd[1]: Starting The Apache HTTP Server...
Apr 25 22:00:08 XXX-hostname-XXX httpd[17242]: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Syntax error on line 36 of /etc/httpd/conf/extra/httpd-modsecurity.conf: Syntax error on line 1 of /etc/modsecurity.d/comodo_rules.conf.main: Syntax error on line 1 of /etc/cwaf/cwaf.conf: Syntax error on line 1 of /usr/local/cwaf/rules/rules.conf.main: Could not open configuration file /etc/httpd/00_Init_Initialization.conf: No such file or directory
Apr 25 21:59:07 XXX-hostname-XXX systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Apr 25 21:59:07 XXX-hostname-XXX systemd[1]: Failed to start The Apache HTTP Server.
Apr 25 21:59:07 XXX-hostname-XXX systemd[1]: Unit httpd.service entered failed state.
Apr 25 21:59:07 XXX-hostname-XXX systemd[1]: httpd.service failed.
[root[at]liberty custombuild]#

I tried to rebuild the configuration files of Comodo WAF. But it didn't work for me.

Waiting for its solution...

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek