[IRCServices] Complete DB loss on spontaneous SIGHUP

Ballsy ballsy at mystical.net
Wed Sep 18 14:06:59 PDT 2002


FreeBSD 4.2
ircservices-4.5.43

	I migrated from SIRV-2.7.0 (imported DBs using 
import-db +sirv /my/path/here
) 
fairly successfully today, and services ran fine for most of the day.  I headed 
home, and when I logged back on, I noticed services were gone.  Logged 
into the shell and checked the logs, and the last entry was as follows:	


[Sep 17 17:12:05 2002] Received SIGHUP, restarting.

	There was no corresponding RESTART command issued before this, and 
I can't imagine anyone would have issued a -HUP from the shell since I am 
the only one that uses it (I'm not naive enough to completely rule it out, 
of course).  When I restarted the services (unfortunately I didn't check 
the file sizes of the .db files first), the following were the first 
entries dumped to the services.log file:

[Sep 17 17:48:59 2002] Services 4.5.43 (compiled for ircd.dal Bahamut) 
starting up
[Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless 
channel #7er_himmel
[Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless 
channel #afl
[Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless 
channel #Ai_no_Card

	This went on for several lines, as numerous (dare I say all?) 
channels were deleted.  I have verified that the DBs are being updated 
every 15m (as per services.conf).  Essentially, apparently due to the 
seemingly rogue SIGHUP above, my dbs were completely wiped out (even MY 
nick was showing up as not registered afterwards, and I'd been using it 
all day).
	I searched the archives for a while and couldn't find anything 
similar, so figured I'd ask here.  Has any seen this type of behaviour 
before ?  Thanks in advance for any light which can be shed.

David