monit-general
[Top][All Lists]
Advanced

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

Re: Init script fails to start


From: Tony DeMatteis
Subject: Re: Init script fails to start
Date: Wed, 10 Nov 2010 10:58:00 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

I have verified that the PID is correct by ps aux on nn_logger; only one instance running.

Thank you :)

On 11/10/2010 01:47 AM, Eric Pailleau wrote:
Le 10/11/2010 09:24, Eric Pailleau a écrit :

[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nn_logger
echo $PID > /var/run/nn_logger.pid
Hello again,

well , I red a bit fast...
$PID is set by a 'pgrep nn_logger' ...

But my post scriptum shows, that pid is invalid...

May be there is another nn_logger running at the moment and pgrep does not return right pid, or nn_logger is forking itself after a while : the first pgrep return the father pid before exit,
while the right child nn_logger have another pid...

Regards.

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Attachment: tonyd.vcf
Description: Vcard


reply via email to

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