[Top][All Lists]

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

Re: Init script fails to start

From: Eric Pailleau
Subject: Re: Init script fails to start
Date: Wed, 10 Nov 2010 09:47:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100624 Mandriva/3.0.5-0.1mdv2009.1 (2009.1) Thunderbird/3.0.5

Le 10/11/2010 09:24, Eric Pailleau a écrit :

[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nn_logger
echo $PID > /var/run/
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...


reply via email to

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