[mythtv-users] Trouble with monit
lifter89 at comcast.net
Sun May 11 01:52:13 UTC 2008
Nick Morrott wrote:
> On 11/05/2008, Harry Devine <lifter89 at comcast.net> wrote:
>> Nick Morrott wrote:
>> > On 10/05/2008, Harry Devine <lifter89 at comcast.net> wrote:
>> >> I restarted the backend
>> >> fine, but the monit process won't start. I start it and it says it
>> >> started, but when I immediately check it with "service monit status" it
>> >> says it's dead with subsys locked.
>> > This is usually due to a service's stale pidfile which was left behind
>> > when the process aborted. Check /var/run/ for monit's pidfile, delete
>> > it, and then restart the monit service.
>> I looked but there's no pidfile (I looked for monit.pid). It still says
>> "monit dead but subsys locked" after I start it and check its status.
>> Could it be under another pidfile name?
> Check for (and delete) /var/lock/subsys/monit.
No good. I found it, deleted it, and as soon as I start the service, it
immediately dies. Maybe I have to re-install it? It just won't run at
all for some reason.
More information about the mythtv-users