]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2006/005131.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2006 / 005131.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] db recovery?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20db%20recovery%3F&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005130.html">
11 <LINK REL="Next" HREF="005132.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] db recovery?</H1>
15 <B>Jim Stratus</B>
16 <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20db%20recovery%3F&In-Reply-To="
17 TITLE="[IRCServices] db recovery?">stratus at blazeirc.net
18 </A><BR>
19 <I>Tue Mar 7 15:23:53 PST 2006</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005130.html">[IRCServices] db recovery?
22 </A></li>
23 <LI>Next message: <A HREF="005132.html">[IRCServices] db recovery?
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5131">[ date ]</a>
27 <a href="thread.html#5131">[ thread ]</a>
28 <a href="subject.html#5131">[ subject ]</a>
29 <a href="author.html#5131">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>When I removed the oper.db file (I actually renamed it) but I removed it,
35 services generated a new one, however this resulted in all databases being
36 lost. Apparently when oper.db was removed per se, services lost all
37 registered channels, nicks, admins, everything. Is this expected for just
38 the removing of oper.db? I thought the other dbs would not be effected by
39 this.
40
41 Jim Stratus
42 ----- Original Message -----
43 From: &quot;Andrew Church&quot; &lt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>&gt;
44 To: &lt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.esper.net</A>&gt;
45 Sent: Friday, March 03, 2006 3:15 AM
46 Subject: Re: [IRCServices] db recovery?
47
48
49 &gt;<i> Services is designed to not overwrite database files until the new
50 </I>&gt;<i> copies have been safely written to disk; this looks more like a case of
51 </I>&gt;<i> filesystem corruption at the OS level, probably due to the write cache not
52 </I>&gt;<i> being written out to disk when the system restarted. You'll have to
53 </I>&gt;<i> either
54 </I>&gt;<i> restore from a backup or remove the corrupt files (e.g. &quot;rm oper.db&quot;).
55 </I>&gt;<i>
56 </I>&gt;<i> --Andrew Church
57 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
58 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
59 </I>&gt;<i>
60 </I>&gt;&gt;<i>My server box itself rebooted of some fatal error that apache caused, and
61 </I>&gt;&gt;<i>naturally ircservices was not shutdown properly, nor was much of anything
62 </I>&gt;&gt;<i>else. My services have run stable for at least 5 years now, according to
63 </I>&gt;&gt;<i>my
64 </I>&gt;&gt;<i>log which is proof of that, I haven't even had to use the log which is
65 </I>&gt;&gt;<i>definitely apparent. However, I now have the problem that services is not
66 </I>&gt;&gt;<i>loading anymore.
67 </I>&gt;&gt;<i>
68 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] IRC Services 5.0.57 starting up
69 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] database/version4: Invalid version number (0) on
70 </I>&gt;&gt;<i>oper.db
71 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] database/version4: Unable to read version number
72 </I>&gt;&gt;<i>from
73 </I>&gt;&gt;<i>oper.db
74 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] operserv/main: Unable to read from database!
75 </I>&gt;&gt;<i>(code -1)
76 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] modules: init_module() failed for operserv/main
77 </I>&gt;&gt;<i>[Mar 02 23:58:52 2006] Error loading modules, aborting
78 </I>&gt;&gt;<i>
79 </I>&gt;&gt;<i>I fear this may have been caused by the server's pre-mature termination of
80 </I>&gt;&gt;<i>the process. Can the database or file be repaired?
81 </I>&gt;&gt;<i>
82 </I>&gt;&gt;<i>Jim Stratus
83 </I>&gt;&gt;<i>BlazeIRC Network
84 </I>&gt;&gt;<i>
85 </I>&gt;&gt;<i>------------------------------------------------------------------
86 </I>&gt;&gt;<i>To unsubscribe or change your subscription options, visit:
87 </I>&gt;&gt;<i><A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
88 </I>&gt;<i> ------------------------------------------------------------------
89 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
90 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
91 </I>
92 </PRE>
93
94
95 <!--endarticle-->
96 <HR>
97 <P><UL>
98 <!--threads-->
99 <LI>Previous message: <A HREF="005130.html">[IRCServices] db recovery?
100 </A></li>
101 <LI>Next message: <A HREF="005132.html">[IRCServices] db recovery?
102 </A></li>
103 <LI> <B>Messages sorted by:</B>
104 <a href="date.html#5131">[ date ]</a>
105 <a href="thread.html#5131">[ thread ]</a>
106 <a href="subject.html#5131">[ subject ]</a>
107 <a href="author.html#5131">[ author ]</a>
108 </LI>
109 </UL>
110
111 </body></html>