Page 1 of 1
Problem with /restart on FreeBSD
Posted: Mon Dec 27, 2004 12:39 am
by Wabbit
when I use the command /restart or the script file unreal and do a /unreal restart the server just shuts down and doesn't restart and I get nothing in the log file. I noticed that the script file uses the command kill -1 for rehash and kill -2 for restart
Unfortunatelly kill -2 doesn't restart unrealircd it justs kills it.
on the man page of kill i see that it causes an interupt
2 INT (interrupt)
any hints ?[/b]
Posted: Mon Dec 27, 2004 10:22 am
by Dukat
Can you still start it manually?
Posted: Wed Dec 29, 2004 2:20 am
by Wabbit
Yes it's not a problem to start it.. just the problem is to restart
i told you that the kill -2 doesn't seem to restart the pid..
and kill -1 just does a rehash.
Posted: Wed Dec 29, 2004 5:00 am
by Syzop
There seem to be some problems with killing w/SIGINT after 1 restart the 2nd kill -2 seems to cause weird behavior (on Linux it simply gets ignored, and you say it kills the ircd).
That said.. /restart from the ircd itself (so not on the shell) should work just fine and infinite times. Unless there's a config error or some other problem it should restart just fine.
Posted: Wed Dec 29, 2004 9:57 am
by Wabbit
well that's the thing.. /restart doesn't work either.. and the script doesn't work.. so there is no possible way for me to restart
any hints ?
Posted: Wed Dec 29, 2004 4:13 pm
by Syzop
And with 'does not work' you mean /restart kills your server but does not get it started again? If so, did you check logs?
Posted: Sun Jan 02, 2005 1:11 pm
by Wabbit
yes you got it clear
does not work means it justs kills the server and doesn't start again
and as i wrote on my first post there is nothing in the logs
i checked any possible log that might interfere
Posted: Sun Jan 02, 2005 9:04 pm
by Syzop
Odd, never heard of.
I suggest you to report it on
http://bugs.unrealircd.org/
Posted: Mon Jan 03, 2005 12:10 am
by Wabbit
Can I run unrealircd in debug mode on the foreground ?
This will really help me find out what is going on.
Posted: Mon Jan 03, 2005 1:20 am
by codemastr
If you do: src/ircd -F then Unreal will run in the foreground.