Pandora FMS Community

Fedora 8 and start-stop-daemon

BabelAddicted · 5 may 2008, 19:08 · 3 mensajes · 60 visitas

  1. Inicio del debate

    Guys....this is the init script of Babel Server, right? PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin NAME="Babel server" DAEMON=/usr/local/bin/babelserver PIDFILE=/var/run/babelserver.pid if [ ! -f $DAEMON ] then echo "$NAME Server not found at $DAEMON, please check setup." exit fi case "$1" in start) echo -n "Starting $NAME" start-stop-daemon --start --make-pidfile --pidfile $PIDFILE -b --exec $DAEMON echo "." ;; stop) echo -n "Stopping $NAME" start-stop-daemon --stop --pidfile $PIDFILE echo "." ;; force-reload|restart) echo -n "Restarting $NAME" start-stop-daemon --stop --pidfile $PIDFILE --oknodo --retry 30 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON echo "." ;; *) echo "Uso: $0 {start|stop|restart|force-reload}" exit 1 esac Well..now...i've installed again the start-stop-daemon on Fedora 8, because it hasn't that... Ok... When i startup the server i notice that the "Starting Babel Server" is OK, but when i try to "stop" the service it doesn't....because it's not really started when i boot up the system. How can it be? >_> I've tried to modify the init script but it doesn't staaaaart!!!!!! >_< I hate this....i'm trying from two weeks ago, but i don't understand WHY this **** don't want to start....and i've followed even the pandora guide! This is the error message that i can't understand.... [root@fedorababel8 /]# service babelserver_daemon start Starting Babel server. [root@fedorababel8 /]# service babelserver_daemon stop Stopping Babel serverstart-stop-daemon: warning: failed to kill 8076: No such process 1 pids were not killed No process in pidfile `/var/run/babelserver.pid' found running; none killed. . [root@fedorababel8 /]# Mah.....i think this babel server doesn't work......

  2. Hi, Try to run this please: sh -x babelserver_daemon start What do you get?

  3. (Link not available anymore)

Entra en tu cuenta para publicar.