Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: dzseti on November 19, 2020, 09:58:32 AM

Title: Apache not working
Post by: dzseti on November 19, 2020, 09:58:32 AM
After YUM updates this morning Apache load using the wrong conf file.

Instead of using: /usr/local/apache/conf/httpd.conf

... it is using: /etc/httpd/conf/httpd.conf

And I have also noticed that /etc/init.d/httpd does not exist.

I've updated CWP, but this has not solved the issue.

What do I do to correct this?
Title: Re: Apache not working
Post by: dzseti on November 19, 2020, 10:05:17 AM
This seems to be a similar issue like: https://forum.centos-webpanel.com/index.php?topic=9832.0 (https://forum.centos-webpanel.com/index.php?topic=9832.0)
Title: Re: Apache not working
Post by: studio4host on November 19, 2020, 07:53:11 PM
Code: [Select]
rpm -e httpd --nodepsthen rebuild webservers from cwp
Title: Re: Apache not working
Post by: thenob on November 27, 2020, 08:07:49 PM
correction removing httpd did also removed my init-scripts.
This worked for me:
Code: [Select]
rpm -e httpd --nodeps --justdb
rpm -e httpd-tools --nodeps --justdb
yum reinstall cwp-httpd