]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2007/005281.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2007 / 005281.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] forceload option automatically runs
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20forceload%20option%20automatically%20runs&In-Reply-To=464b64d9.21111%40msgid.achurch.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005278.html">
11 <LINK REL="Next" HREF="005282.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] forceload option automatically runs</H1>
15 <B>Nick Gawronski</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20forceload%20option%20automatically%20runs&In-Reply-To=464b64d9.21111%40msgid.achurch.org"
17 TITLE="[IRCServices] forceload option automatically runs">nick at nickgawronski.com
18 </A><BR>
19 <I>Wed May 16 19:08:17 PDT 2007</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005278.html">[IRCServices] forceload option automatically runs
22 </A></li>
23 <LI>Next message: <A HREF="005282.html">[IRCServices] forceload option automatically runs
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5281">[ date ]</a>
27 <a href="thread.html#5281">[ thread ]</a>
28 <a href="subject.html#5281">[ subject ]</a>
29 <a href="author.html#5281">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hi, It would be a nice thing just to remove the old version 4 database
35 support as with xml export import features there is really no need for
36 version 4 support. For now it is a nice thing to have for users who
37 might want to still use the databases but really sometime soon it should
38 be removed. Another thing I noticed is when I used the -export option
39 and I already had another copy of services running it tried to start the
40 httpd module and exitted with the bind error address already in use. I
41 had to shutdown services, export the databases then restart version 5.0
42 again. It would be nice if the -export or -import is given services
43 would just check and not load all of the modules just the ones for xml
44 export and or import so the already runing copy would not need to be
45 shutdown.On Thu, 17 May 2007, Andrew Church wrote:
46
47 &gt;<i> &gt;Hi, One thing I noticed is that the forceload option could be just added
48 </I>&gt;<i> &gt;into the main code rather then an option. If services sees corruption in
49 </I>&gt;<i> &gt;the databases it could just automatically load what ever it can understand
50 </I>&gt;<i> &gt;and ignore the rest of the database. This would also help when restarting
51 </I>&gt;<i> &gt;ircservices as if no one is at the system or needs to restart ircservices
52 </I>&gt;<i> &gt;it could take care of the databases itself rather then needing to login to
53 </I>&gt;<i> &gt;the system and run a binary. I could see this useful for ircops who don't
54 </I>&gt;<i> &gt;normally have access directly to the system where ircservices is running
55 </I>&gt;<i> &gt;but if they saw a need to restart ircservices they could do so with out
56 </I>&gt;<i> &gt;needing to contact the admin of the server if a database would not load
57 </I>&gt;<i> &gt;and services would not start.
58 </I>&gt;<i>
59 </I>&gt;<i> The problem with this (and the reason -forceload is not the default
60 </I>&gt;<i> in the first place) is that if some part of the database is corrupt,
61 </I>&gt;<i> there's no telling how bad the situation is. In the worst case, Services
62 </I>&gt;<i> could be unable to load any data, then overwrite your database files with
63 </I>&gt;<i> empty databases, destroying any chance you had of retrieving the data via
64 </I>&gt;<i> other means (such as writing a program to extract the data).
65 </I>&gt;<i>
66 </I>&gt;<i> In any case, -forceload is only supported for the database/version4
67 </I>&gt;<i> module, and there only for certain databases (a corrupt oper.db, for
68 </I>&gt;<i> example, will cause Services to abort whether -forceload is given or not).
69 </I>&gt;<i> Moreover, due to the format of those database files, it's unlikely you'd
70 </I>&gt;<i> be able to recover any data anyway under most circumstances. I probably
71 </I>&gt;<i> ought to just get rid of the option entirely.
72 </I>&gt;<i>
73 </I>&gt;<i> --Andrew Church
74 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
75 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
76 </I>&gt;<i> ------------------------------------------------------------------
77 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
78 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
79 </I>&gt;<i>
80 </I>
81 </PRE>
82
83
84 <!--endarticle-->
85 <HR>
86 <P><UL>
87 <!--threads-->
88 <LI>Previous message: <A HREF="005278.html">[IRCServices] forceload option automatically runs
89 </A></li>
90 <LI>Next message: <A HREF="005282.html">[IRCServices] forceload option automatically runs
91 </A></li>
92 <LI> <B>Messages sorted by:</B>
93 <a href="date.html#5281">[ date ]</a>
94 <a href="thread.html#5281">[ thread ]</a>
95 <a href="subject.html#5281">[ subject ]</a>
96 <a href="author.html#5281">[ author ]</a>
97 </LI>
98 </UL>
99
100 </body></html>