On Mon, 15 Mar 1999, dizzy wrote:

> It was suggested that thease aqquired stale pids come from
> killing diald by hand

> ie: kill -9 pid.

AAAIIIIIIEEE!  I haven't had to use a kill -9 for years with
Linux.  (Recently I got trapped in Solaris and had to, though.
:-) 

Don't kill -9 anything, it doesn't give the process an
opportunity to clean up. 

Don't even kill diald.  Use the facility your distribution
provides for starting and stopping daemons.  When I want to stop
diald I enter the command

        /etc/init.d/diald stop

and I restart it with

        /etc/init.d/diald start

> I tried that and it did not leave behind a stale pid. So Im
> not sure what the problem is but neverthe less I know how to
> fix this delimma if it occurs again. 

I just tried both ... in my case the pidfile is cleaned up with
kill, and it is not cleaned up with kill -9. 

Ed

-- 
Ed Doolittle <mailto:[EMAIL PROTECTED]>
"Everything we do, we do for a reason."  -- Peter O'Chiese


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to