]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2002/003132.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2002 / 003132.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Complete DB loss on spontaneous SIGHUP
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Complete%20DB%20loss%20on%20spontaneous%20SIGHUP&In-Reply-To=Pine.LNX.4.44.0209171820170.18142-100000%40david.mail.net">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="003133.html">
11 <LINK REL="Next" HREF="003128.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Complete DB loss on spontaneous SIGHUP</H1>
15 <B>Ballsy</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Complete%20DB%20loss%20on%20spontaneous%20SIGHUP&In-Reply-To=Pine.LNX.4.44.0209171820170.18142-100000%40david.mail.net"
17 TITLE="[IRCServices] Complete DB loss on spontaneous SIGHUP">ballsy at mystical.net
18 </A><BR>
19 <I>Wed Sep 18 15:12:00 PDT 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003133.html">[IRCServices] Complete DB loss on spontaneous SIGHUP
22 </A></li>
23 <LI>Next message: <A HREF="003128.html">[IRCServices] I can`t make new beta
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#3132">[ date ]</a>
27 <a href="thread.html#3132">[ thread ]</a>
28 <a href="subject.html#3132">[ subject ]</a>
29 <a href="author.html#3132">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>FreeBSD 4.2
35 ircservices-4.5.43
36 bahamut-1.4.30
37
38 I've had services die for unexplained reasons again twice since
39 the original post below...fortunately, the DBs were still intact. For the
40 most recent instance, I had debugging enabled (at level 2 or 3), and I
41 discovered the following:
42
43 &gt;<i>From my client on the network (which was oper'd):
44 </I>
45 08:46 [mynetwork] *** Routing -- from server.az.us.mynetwork.net: Server
46 services.mynetwork.net[<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">unknown at 0.0.0.0</A>] closed the connection
47 08:46 [mynetwork] services.mynetwork.net was connected for 4339 seconds.
48 51/56 sendK/recvK.
49
50 And the last log file entries...
51
52 [Sep 18 08:45:56.243446 2002] debug: Top of main loop
53 [Sep 18 08:46:11.253876 2002] debug: Top of main loop
54 [Sep 18 08:46:11.254066 2002] debug: Checking timeouts at time_msec =
55 1561020.214
56 [Sep 18 08:46:11.254206 2002] debug: Finished timeout list
57 [Sep 18 08:46:12.937952 2002] Received SIGHUP, restarting.
58 [Sep 18 08:46:12.938218 2002] debug: Top of main loop
59 [Sep 18 08:46:12.938343 2002] debug: Running expire routines
60 [Sep 18 08:46:12.938487 2002] debug: NickServ: updating last seen time for
61 `grace
62 [Sep 18 08:46:12.938586 2002] debug: NickServ: updating last seen time for
63 Asellus
64 [Sep 18 08:46:12.938679 2002] debug: NickServ: updating last seen time for
65 Baltazir[LOA]
66 [Sep 18 08:46:12.938934 2002] debug: NickServ: updating last seen time for
67 Ballsy
68
69 &lt;snip&gt; More of the same &quot;updating last seen time&quot; lines
70
71 [Sep 18 08:46:12.941303 2002] debug: Saving databases
72
73
74 ...and that was it. It's easy enough to restart services via
75 cron, but I'd like to get to the bottom of what's causing this. In every
76 instance, that SIGHUP has been around, but again, I dunno where it's
77 coming from.
78
79 David
80
81
82
83 On Tue, 17 Sep 2002, Ballsy wrote:
84
85 &gt;<i>
86 </I>&gt;<i> FreeBSD 4.2
87 </I>&gt;<i> ircservices-4.5.43
88 </I>&gt;<i>
89 </I>&gt;<i> I migrated from SIRV-2.7.0 (imported DBs using
90 </I>&gt;<i> import-db +sirv /my/path/here
91 </I>&gt;<i> )
92 </I>&gt;<i> fairly successfully today, and services ran fine for most of the day. I headed
93 </I>&gt;<i> home, and when I logged back on, I noticed services were gone. Logged
94 </I>&gt;<i> into the shell and checked the logs, and the last entry was as follows:
95 </I>&gt;<i>
96 </I>&gt;<i>
97 </I>&gt;<i> [Sep 17 17:12:05 2002] Received SIGHUP, restarting.
98 </I>&gt;<i>
99 </I>&gt;<i> There was no corresponding RESTART command issued before this, and
100 </I>&gt;<i> I can't imagine anyone would have issued a -HUP from the shell since I am
101 </I>&gt;<i> the only one that uses it (I'm not naive enough to completely rule it out,
102 </I>&gt;<i> of course). When I restarted the services (unfortunately I didn't check
103 </I>&gt;<i> the file sizes of the .db files first), the following were the first
104 </I>&gt;<i> entries dumped to the services.log file:
105 </I>&gt;<i>
106 </I>&gt;<i> [Sep 17 17:48:59 2002] Services 4.5.43 (compiled for ircd.dal Bahamut)
107 </I>&gt;<i> starting up
108 </I>&gt;<i> [Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless
109 </I>&gt;<i> channel #7er_himmel
110 </I>&gt;<i> [Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless
111 </I>&gt;<i> channel #afl
112 </I>&gt;<i> [Sep 17 17:49:00 2002] ChanServ: database load: Deleting founderless
113 </I>&gt;<i> channel #Ai_no_Card
114 </I>&gt;<i>
115 </I>&gt;<i> This went on for several lines, as numerous (dare I say all?)
116 </I>&gt;<i> channels were deleted. I have verified that the DBs are being updated
117 </I>&gt;<i> every 15m (as per services.conf). Essentially, apparently due to the
118 </I>&gt;<i> seemingly rogue SIGHUP above, my dbs were completely wiped out (even MY
119 </I>&gt;<i> nick was showing up as not registered afterwards, and I'd been using it
120 </I>&gt;<i> all day).
121 </I>&gt;<i> I searched the archives for a while and couldn't find anything
122 </I>&gt;<i> similar, so figured I'd ask here. Has any seen this type of behaviour
123 </I>&gt;<i> before ? Thanks in advance for any light which can be shed.
124 </I>&gt;<i>
125 </I>&gt;<i> David
126 </I>&gt;<i>
127 </I>&gt;<i>
128 </I>&gt;<i> ------------------------------------------------------------------
129 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
130 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A>
131 </I>&gt;<i>
132 </I>
133
134 </PRE>
135
136 <!--endarticle-->
137 <HR>
138 <P><UL>
139 <!--threads-->
140 <LI>Previous message: <A HREF="003133.html">[IRCServices] Complete DB loss on spontaneous SIGHUP
141 </A></li>
142 <LI>Next message: <A HREF="003128.html">[IRCServices] I can`t make new beta
143 </A></li>
144 <LI> <B>Messages sorted by:</B>
145 <a href="date.html#3132">[ date ]</a>
146 <a href="thread.html#3132">[ thread ]</a>
147 <a href="subject.html#3132">[ subject ]</a>
148 <a href="author.html#3132">[ author ]</a>
149 </LI>
150 </UL>
151
152 </body></html>