[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit EXEC error
From: |
Jan-Henrik Haukeland |
Subject: |
Re: Monit EXEC error |
Date: |
Sun, 23 Oct 2011 17:48:34 +0200 |
On Oct 23, 2011, at 3:47 PM, Pratap Kumar wrote:
>
> Hi,
>
> I am executing dcerpc service using below configuration because it doesnot
> have PID file,
>
>
> check program dcerpc with path "/etc/init.d/dcerpcd"
> if status != 0 then EXEC "/etc/init.d/dcerpcd start"
>
> Monit.log
>
> [IST Oct 23 18:56:56] error : 'dcerpc' status failed (1) for
> /etc/init.d/dcerpcd. Error: no output..
> [IST Oct 23 18:56:56] info : 'dcerpc' exec: /etc/init.d/dcerpcd
> [IST Oct 23 18:57:41] error : 'dcerpc' status failed (1) for
> /etc/init.d/dcerpcd. Error: no output..
> [IST Oct 23 18:57:41] info : dcerpc' exec: /etc/init.d/dcerpcd
> [IST Oct 23 18:58:26] error : 'dcerpc' status failed (1) for
> /etc/init.d/dcerpcd. Error: no output..
> [IST Oct 23 18:58:26] info : '.dcerpc' exec: /etc/init.d/dcerpcd
>
>
> Why it continously writing to the Monit.log.
See the manual on how to use 'check program'.
> Could you please help me out
Not really, you need to try and figure this out yourself. A minimum of effort
is required, this list is not your personal support channel. The log output you
provided should help. Hint, calling /etc/init.d/dcerpcd without arguments
obviously returns 1 which means that your 'if status != 0' always is true.
- Monit EXEC error, Pratap Kumar, 2011/10/23
- Re: Monit EXEC error,
Jan-Henrik Haukeland <=