Control Web Panel

Security => Mod_Security => Topic started by: robertutzu14 on April 23, 2017, 12:27:22 PM

Title: Mode Security error cant start httpd
Post by: robertutzu14 on April 23, 2017, 12:27:22 PM
So after instaling Mode Security from the CWP6 GUI the httpd doesnt restart but if i unninstal mode security it does.
Any help is welcomed.
CODE:
Code: [Select]
sudo service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
Title: Re: Mode Security error cant start httpd
Post by: jibon57 on May 21, 2017, 03:26:17 AM
I am getting same problem :( :( ... I have CWP Pro version but still getting same problem there...
Title: Re: Mode Security error cant start httpd
Post by: jibon57 on May 21, 2017, 03:47:54 AM
Try this solution: http://forum.centos-webpanel.com/centos-6-problems/yum-update-after-get-mod-security-issue-cant-start-apache/msg11798/?topicseen#msg11798
Title: Re: Mode Security error cant start httpd
Post by: Yun on May 25, 2017, 01:45:26 PM
Try to activate Apache Unique Id module.
Remove # from in httpd.conf
#LoadModule unique_id_module modules/mod_unique_id.so
And re-install Mod_security..