Pages: [1]   Go Down
Author Topic: Fedora 8 and start-stop-daemon  (Read 1459 times)
0 Members and 1 Guest are viewing this topic.
BabelAddicted
Jr. Member
**

Karma: 0
Offline Offline

Posts: 11


View Profile
« on: May 05, 2008, 04:08:03 PM »

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: January 01, 1970, 01:00:00 AM by BabelAddicted » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #1 on: May 06, 2008, 07:28:58 AM »

Hi,

Try to run this please:

sh -x babelserver_daemon start


What do you get?
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #2 on: May 09, 2008, 07:19:02 AM »

http://www.openideas.info/phpbb/viewtopic.php?t=1011&sid=0d9054bd7ac0ed84fffd213edb32a104
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST