Monit: Apache returns "Execution Failed" status
Got a gig to administer a couple of servers on the Google Cloud Platform the other day.
So I got a few Ubuntu Servers 14.04 up & running and installed all the crap I usually need/ run on the boxes I get my hands on...
Now, after setting up Monit a bit, and starting it up, I've noticed that the Apache process was in problems.
No matter what I did, I got the same status... In the end, the problem was really, really stupid to fix...
Check the path to the pid file on the /etc/monit/conf.d/apache2 file:
Change the pid from /var/run/apache2.pid to /var/run/apache2/apache2.pid and restart the Monit service.
Of course, you already have copied the file /etc/monit/monitrc.d/apache2 to /etc/monit/conf.d/apache2, right?
So I got a few Ubuntu Servers 14.04 up & running and installed all the crap I usually need/ run on the boxes I get my hands on...
Now, after setting up Monit a bit, and starting it up, I've noticed that the Apache process was in problems.
No matter what I did, I got the same status... In the end, the problem was really, really stupid to fix...
Check the path to the pid file on the /etc/monit/conf.d/apache2 file:
Change the pid from /var/run/apache2.pid to /var/run/apache2/apache2.pid and restart the Monit service.
Of course, you already have copied the file /etc/monit/monitrc.d/apache2 to /etc/monit/conf.d/apache2, right?
Labels: IT slaves, links, Linux, Monit, Monitoring, Programs, Trusty Tahr, Ubuntu, Ubuntu Server
0 Comments:
Post a Comment
<< Home