Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Fedora 8 and start-stop-daemon

  • Fedora 8 and start-stop-daemon

    Posted by BabelAddicted on May 5, 2008 at 19:08

    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......

    manu replied 16 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies