[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Init script fails to start
From: |
Tony DeMatteis |
Subject: |
Init script fails to start |
Date: |
Mon, 08 Nov 2010 12:01:36 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
Hello,
New to monit. Trying simple; start script if no pid file but init
script fails to start.
I followed this thread with interest, but did not solve my problem. I'm
quite certain it
probably has to do with permissioning.
Thank you
http://lists.nongnu.org/archive/html/monit-general/2010-06/msg00002.html
/etc/monit.d/nn_logger.conf
Original config:
check process nn_logger pidfile /var/run/nn_logger.pid
start program = "/etc/init.d/nn_logger start'"
stop program = "/etc/init.d/nn_logger stop'"
Tried from thread suggestions:
check process nn_logger pidfile /var/run/nn_logger.pid
start program = "/bin/su - monit - c '/usr/sh /etc/init.d/nn_logger start'"
stop program = "/bin/su - monit - c '/usr/sh /etc/init.d/nn_logger stop'"
tonyd.vcf
Description: Vcard
- Init script fails to start,
Tony DeMatteis <=