Yep - this all used to work fine until I upgraded to 2006 :-(

Could you try the pidof commands above to check what your build does?

Having spent a while reading the scripts....

/etc/rc.d/init.d/slimserver stop 

will call pidof if a pid file is not saved by the server in /var/run
[which I don't believe it is with the readhat/mandrake rpm].  This is
supposed to find the pid so that "stop" works.  But what is actually
run is "pidof /usr/local/slimserver/slimserver.pl" which doesn't return
a pid.

Full detail:

/etc/rc.d/init.d/slimserver uses the killproc function from
/etc/rc.d/init.d/functions to stop processes.  killproc checks for a
pid file in /var/run and if not runs pidof to find the pid of the
process it is asked to stop.  If I change one line in the stop script
to "killproc slimserver" rather than "killproc $SLIMSERVER_BIN" it all
works again!


-- 
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=18595

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

Reply via email to