Page 1 of 1

Unrealircd Instance gets killed immediately after rehash

Posted: Fri May 02, 2008 2:34 pm
by thha
Hi guys n' girls!

I've got a strange and stupid problem. Everytime I rehash my UnrealIRCD 3.2.7 the instance of it get's killed.

The logs don't show anything, except the starting line of the ircd.
[Fri May 2 16:26:06 2008] - TIME SYNCH: timeserver=1209737483, our=1209745566, offset = -8083 [old offset: -8079]
Here's my config file (I replaced the original domain with domain.com):
loadmodule "src/modules/commands.so";
loadmodule "src/modules/f_staticcloak.so";
loadmodule "src/modules/m_onlyopersjoin.so";

me
{
name "domain.com";
info "IRC Network";
numeric 1;
};

admin {
"test;
};

/*
* iNCLUDES start
*/
include "conf/classes.conf";
include "conf/allowed.conf";
include "conf/listen.conf";
include "conf/links.conf";
include "conf/vhosts.conf";
include "conf/opers.conf";
/*
* INCLUDES stop here
*/

ulines { /* ONLY SERVICES */
services.domain.com;
stats.domain.com;
};

drpass {
restart "123";
die "456";
};

log "ircd.log" {
maxsize 5MB;
flags {
errors;
spamfilter;
kline;
tkl;
};
};

include "aliases/anope.conf";

ban nick {
mask "*S*e*r*v*";
reason "not allowed";
};

set {
network-name "DoMain";
default-server "domain.com";
services-server "services.domain.com";
stats-server "stats.domain.com";
help-channel "#help";
hiddenhost-prefix "camping";
static-cloak "user.domain.com";
/* cloak-keys {
"asdfasdf";
"qwerqwer";
"zuiozuio";
};
on-oper host */
hosts {
local "locop.domain.com";
global "ircop.domain.com";
coadmin "coadmin.domain.com";
admin "admin.domain.com";
servicesadmin "csops.domain.com";
netadmin "netadmin.domain.com";
host-on-oper-up "yes";
};
};

set {
allowed-nickchars {
latin1;
};
kline-address "[email protected]";
modes-on-connect "+xiw";
modes-on-oper "+xwgs";
restrict-usermodes "Gs";
restrict-channelmodes "G";
oper-auto-join "#ircop";
options {
hide-ulines;
show-connect-info;
allow-part-if-shunned;
flat-map;
fail-oper-warn;
};
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2;
};
static-quit "Client dropped connection!";
static-part "Client dropped channel!";

maxchannelsperuser 20;
anti-spam-quit-message-time 10s;

//oper-only-stats "goOwpkfGsMRUEelLCXzdD";
oper-only-stats "*";

throttle {
connections 100;
period 60s;
};

anti-flood {
nick-flood 4:60; /* 3 nickchanges per 60 seconds (the default) */
};

/* Spam filter */
spamfilter {
ban-time 1d; /* default duration of a *line ban set by spamfilter */
ban-reason "Spam/Advertising"; /* default reason */
virus-help-channel "#help"; /* channel to use for 'viruschan' action */
};
};
If you need more information, just ask. I really don't know what I am doing wrong. On my local PC the Windows Version of the IRCD works without any problems using this configuration.

Thanks for your help.

Yours
Tom

Re: Unrealircd Instance gets killed immediately after rehash

Posted: Fri May 02, 2008 4:12 pm
by Syzop
Chances are that it's crashing on rehash.
Try running without this in your conf:
loadmodule "src/modules/f_staticcloak.so";
loadmodule "src/modules/m_onlyopersjoin.so";
In other words, without loading any 3rd party modules, and see if that helps.
If you then still crash (without the 3rd party modules) then you can report the crash at http://bugs.unrealircd.org/ (in that case, also include the output of './unreal backtrace' on the shell so we can help).
If you don't crash without those modules, then there's a bug in an unofficial module, and you should contact the author of that module

Re: Unrealircd Instance gets killed immediately after rehash

Posted: Fri May 02, 2008 8:53 pm
by thha
Ok. I'll try that.

Thank you very much.

Re: Unrealircd Instance gets killed immediately after rehash

Posted: Tue Nov 03, 2009 12:00 am
by Nightwatch
I had the same issues and removed

loadmodule "src/modules/f_staticcloak.so";

and it loaded and stayed up fine after that.