Control Web Panel
WebPanel => Apache => Topic started by: psl on April 08, 2016, 09:15:29 AM
-
I have the warning:
WARNING! You are not running CWP Apache and this could cause that your domains do not work!
and also CWP says under service status:
Apache Webserver httpd dead but subsys locked
My webserver is working fine.
I can restart it using httpd -k restart
I have no issues.
How can I fix CWP thinking Apache is down?
I am hesitant to click the [Try Fixing This] button because I don't want it to make any changes as my sites are currently working fine.
Apache version: Apache/2.2.31
CWP version: 0.9.8.11
Any ideas?
-
You should click on it.
If something goes wrong
try to stop apache and check if it is still working, kill all process.
other solution is to simply reboot the server.
-
Ok that worked fine.
Many thanks.
-
We have been getting this allot recently on our servers.
What does the "Try fixing this" button do??
I tried inspecting the code but it's al hashed....
and what psl said about using the command:
httpd -k restart
It doesn't do a whole lot.
So i would like to know:
What command does the button use/do to fix the problem that is occuring at that moment?
-
this issue occurs if you are installing default centos apache which conflicts with cwp apache
-
this issue occurs if you are installing default centos apache which conflicts with cwp apache
yes...
finaly found the fix for this. Quite dissapointed in this forum that nobody was willing to share it.
killall httpd
/usr/local/apache/bin/httpd -k restart
-
you should do
killall -9 httpd
yum remove httpd
yum install cwp-httpd --enablerepo=cwp
then start it as a service
service httpd start
-
This happens every time I do a major upgrade of software packages (yum update)
This time, I didn't click the red button to "fix it", but just did a reboot.
But now none of my sites work! Why is this?
I didn't install or do anything. I just updated the packages yum wanted to update. That's it.
-
Be aware of what you installing/updating. What OS are you running?
-
Not sure how, but it looks like you installed the AL version of Apache.
Follow what @studio4host posted, and that should restore everything.
And just a note, when reading how-to's on other sites that are not for CWP, remember it might not work with/or corrupt CWP.
Which is why making a snapshot or backup that you can restore is great.