Apache not working

Started by dzseti, November 19, 2020, 09:58:32 AM

Previous topic - Next topic

dzseti

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?

dzseti

#1
This seems to be a similar issue like: https://forum.centos-webpanel.com/index.php?topic=9832.0

studio4host

rpm -e httpd --nodeps
then rebuild webservers from cwp
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

thenob

correction removing httpd did also removed my init-scripts.
This worked for me:
rpm -e httpd --nodeps --justdb
rpm -e httpd-tools --nodeps --justdb
yum reinstall cwp-httpd