[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Information about "Execution failed" on monit 5.0.3
From: |
Jan-Henrik Haukeland |
Subject: |
Re: Information about "Execution failed" on monit 5.0.3 |
Date: |
Mon, 8 Oct 2012 22:35:57 +0200 |
Hi, you can find some pointers on how to debug a script here,
http://mmonit.com/wiki/Monit/FAQ#execution Remember also that Monit usually
needs absolute paths
-jan-henrik
On Oct 8, 2012, at 4:53 PM, Simone D. <address@hidden> wrote:
> Hi all,
> I'm using monit 5.0.3 to monitor a daemon.
>
> check process manage_github_japns
> with pidfile /var/run/japns/japns.pid
> start program = "/usr/local/bin/start_japns"
> stop program = "/usr/local/bin/stop_japns"
>
> If I do "sudo /usr/local/bin/start_japns" it works (the same for "sudo
> /usr/local/bin/stop_japns"), but if I try to use monit to start it using
> "sudo monit start manage_github_japns" I get "Execution failed".
>
> Is there a log to see what goes wrong?
>
> Thank you,
> Simone