Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: gauravsingh on March 29, 2017, 07:30:26 AM

Title: Apache server does not start after upgrading to 2.4 in latest CWP Upgrade
Post by: gauravsingh on March 29, 2017, 07:30:26 AM
Hello,
I have been trying to upgrade the cwp version as provided in the upgrade details since it was first released. But, still getting error and cant not update.
When CWP is updated apache 2.4 does not start. and is giving error.
Code: [Select]
[root@vps modsecurity-2.9.1]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]
Title: Re: Apache server does not start after upgrading to 2.4 in latest CWP Upgrade
Post by: Koevoet on March 29, 2017, 09:38:27 AM
I had this error when i first updated CWP and Apache , in order to get rid of that specific error i had to rebuild apache again from within CWP , this got rid of that specific error , but gave me other ones , you may or may not get them depending on your system.

Regards
Title: Re: Apache server does not start after upgrading to 2.4 in latest CWP Upgrade
Post by: Administrator on March 29, 2017, 01:33:34 PM
check in the file (from command line) /usr/local/apache/conf/httpd.conf for line having text mod_antiloris and delete that line.
then you can restart your apache