Page 1 of 1

auto stop

Posted: Tue Oct 18, 2005 11:57 am
by Bertje
server stops automaticly

my ircd stops auto after 1-2 minutes
  • [13:06] * Disconnected
    -
    [13:06] * Connect retry #1 70.96.188.38 (6667)
    -
    [13:06] * Unable to connect to server (Connection refused)
help anyone ?

Posted: Tue Oct 18, 2005 12:09 pm
by pytolechat
what do u have in your log file?

Posted: Tue Oct 18, 2005 12:12 pm
by Bertje
nothing cause there isn't an error shown

Posted: Tue Oct 18, 2005 12:17 pm
by Bertje
this is my ssh output:

[~/Unreal3.2]# ./unreal start
Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.3
using TRE 0.7.2 (GPL)

* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Dynamic configuration initialized .. booting IRCd.
---------------------------------------------------------------------



so i don't see any probs, my other server is working fine soo.. :(

Posted: Tue Oct 18, 2005 12:25 pm
by Solutech
Is unreal dying or is your client refusing to connect ? . I ask this as it says connection refused . Id check your config file . IF unreal is dying then it should be recorded in the log file . Check for messages in there .

Posted: Tue Oct 18, 2005 12:32 pm
by pytolechat
cat your/unreal/path/ircd.log

Posted: Tue Oct 18, 2005 12:41 pm
by Bertje
my ircd.log is empty.
unreal config file:

log "ircd.log" { maxsize 1000000; flags { oper; kline; kills; errors; }; };

add other flags ??


- The servers works all fine but then it justs stops. no error, nothing.

Posted: Tue Oct 18, 2005 3:18 pm
by Syzop
So is the process gone when it stops? ('ps x' on shell)

If so, it either crashed or got killed.

A sign of a crash is if there's a core file ('ls -al *core*'), if there isn't then it might be killed by some automatic program or shell maintainer (I don't know the details of your box, of course)

If it's always gone so soon, then you could issue the following startup command: 'src/ircd -F' (instead of the usual ./unreal start), and keep it running in the console until it dies (you get a better message).
Note though, that in that case it may not die at all (as long as your terminal is connected), if so.. that would suggest an automatic/admin kill.

Posted: Fri Oct 21, 2005 11:55 am
by Prism128
Bertje wrote:this is my ssh output:

[~/Unreal3.2]# ./unreal start
I beleive the # (at least on /bin/bash) means you're running as root... DON'T RUN AS ROOT.

Make a new user, redownload and recompile (this is to avoid permissions/ownership problems), copy your config(s) and chown (chown user:group filename) them.
Syzop wrote:Note though, that in that case it may not die at all (as long as your terminal is connected), if so.. that would suggest an automatic/admin kill.
You could use screen, make it log to a file and disconnect. then reconnect after it dies and read the screen log ;)