Author Topic: Apache not working  (Read 3867 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache not working
« 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?

Offline
*
Re: Apache not working
« Reply #1 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
« Last Edit: November 19, 2020, 10:07:28 AM by dzseti »

Offline
*
Re: Apache not working
« Reply #2 on: November 19, 2020, 07:53:11 PM »
Code: [Select]
rpm -e httpd --nodepsthen 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.

Offline
*
Re: Apache not working
« Reply #3 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