WARNING! You are not running CWP Apache

Started by psl, April 08, 2016, 09:15:29 AM

Previous topic - Next topic

psl

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?

Administrator

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.



AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

psl


ggiinnoo

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?

Administrator

this issue occurs if you are installing default centos apache which conflicts with cwp apache



AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

dennisss

Quote from: Administrator on July 29, 2016, 05:00:10 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.


killall httpd
/usr/local/apache/bin/httpd -k restart


studio4host

you should do

killall -9 httpd
yum remove httpd
yum install cwp-httpd --enablerepo=cwp


then start it as a service
service httpd start
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.

DeveloperMcD

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.

overseer

Be aware of what you installing/updating. What OS are you running?

Starburst

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.