Hello Guest

Author Topic: Fedora 8 and start-stop-daemon  (Read 4171 times)

0 Members and 1 Guest are viewing this topic.

Offline BabelAddicted

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Fedora 8 and start-stop-daemon
« on: May 05, 2008, 08:08:03 AM »
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......
« Last Edit: December 31, 1969, 04:00:00 PM by BabelAddicted »

Offline Manuel Arostegui

  • Global Moderator
  • Expert member
  • *****
  • Posts: 853
  • Karma: 50
    • View Profile
Fedora 8 and start-stop-daemon
« Reply #1 on: May 05, 2008, 11:28:58 PM »
Hi, Try to run this please: sh -x babelserver_daemon start What do you get?
« Last Edit: December 31, 1969, 04:00:00 PM by manu »

Offline Manuel Arostegui

  • Global Moderator
  • Expert member
  • *****
  • Posts: 853
  • Karma: 50
    • View Profile
Fedora 8 and start-stop-daemon
« Reply #2 on: May 08, 2008, 11:19:02 PM »
http://www.openideas.info/phpbb/viewtopic.php?t=1011&sid=0d9054bd7ac0ed84fffd213edb32a104
« Last Edit: December 31, 1969, 04:00:00 PM by manu »