mflint;178049 Wrote: 
> Gah - I might have found this thread too late!
> Anyway, I had the same problem with SS claiming it was already running.
> This cured it without having to reboot:
> 
> /etc/init.d/slimserver zap
> Matthew

That's good to know!  zap, eh?  Must be a feature of start-stop-daemon,
since "zap" does not appear as an option in the /etc/init.d/slimserver
script. It must kill the process, if it exists, and delete the
/var/run/slimserver/slimserver.pid file.

If SS dies unexpectedly, the /var/run/slimserver/slimserver.pid file
will still be around.  Then when you do a /etc/init.d/slimserver start,
it sees the pid file and thinks slimserver is already running.

That's why you have to manually delete this file after an unexpected SS
crash, or you'll get the "already running" error when you try to start
SS via "/etc/init.d/slimserver start".


-- 
Ron Olsen
------------------------------------------------------------------------
Ron Olsen's Profile: http://forums.slimdevices.com/member.php?userid=9233
View this thread: http://forums.slimdevices.com/showthread.php?t=32451

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to