monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit: action failed -- There is no service by that name


From: Salam Y. ELIAS
Subject: Re: monit: action failed -- There is no service by that name
Date: Mon, 08 Nov 2010 21:14:29 +0100

After rebooting my machine, I browsed the monit websit, now http is
nonitored and my config appears to be correct, thanks for your response.

By the way, any idea or template onhow to monitor Xorg process
Salam


On Mon, 2010-11-08 at 12:06 -0500, Jeremy Clarke wrote:
> On Sun, Nov 7, 2010 at 7:15 PM, Salam Y. ELIAS <address@hidden>
> wrote:
>                 check process httpd with
>                 pidfile /var/run/httpd/httpd.pid
>                 
> 
> Are you sure that is where the PID file lives on your server? It will
> be in different locations depending on your Linux flavor. On my centos
> 5 box it's at '/var/run/httpd.pid'. 
> 
> You should cd into the /var/run/httpd/ directory and make sure the
> httpd.pid file is there. 
> 
> I've also had issues with Apache pid files dissapearing, so I set the
> 'start' action to be '/etc/init.d/httpd restart', which makes apache
> regenerate a new pid file so monit can continue to track it.
> 
> -- 
> Jeremy Clarke
> Code and Design | globalvoicesonline.org
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]