Control Web Panel

WebPanel => Apache => Topic started by: psl on April 08, 2016, 09:15:29 AM

Title: WARNING! You are not running CWP Apache
Post 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?
Title: Re: WARNING! You are not running CWP Apache
Post by: Administrator on April 08, 2016, 01:11:02 PM
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.
Title: Re: WARNING! You are not running CWP Apache
Post by: psl on April 12, 2016, 08:06:28 AM
Ok that worked fine.
Many thanks.
Title: Re: WARNING! You are not running CWP Apache
Post by: ggiinnoo on July 28, 2016, 12:40:42 PM
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?
Title: Re: WARNING! You are not running CWP Apache
Post by: Administrator on July 29, 2016, 05:00:10 AM
this issue occurs if you are installing default centos apache which conflicts with cwp apache
Title: Re: WARNING! You are not running CWP Apache
Post by: dennisss on September 06, 2018, 10:06:45 AM
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.

Code: [Select]
killall httpd
/usr/local/apache/bin/httpd -k restart
Title: Re: WARNING! You are not running CWP Apache
Post by: studio4host on September 06, 2018, 11:15:47 AM
you should do
Code: [Select]
killall -9 httpd
yum remove httpd
yum install cwp-httpd --enablerepo=cwp

then start it as a service
Code: [Select]
service httpd start