[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Error 411



chimbis@xxxxxxxxxx wrote:

> And NOW I know there is something strange going on with Leafnode.
> I just downloaded a bunch of articles from one of my groups that was
> left operating normaly, alt.folklore.ghost-stories, I saw fetch getting
> them in my terminal window. Now when I try to access the group from
> Gnus I get a 411 error. It says it's not there.

Now you are getting clearer. It is the nntpd which is producing the 411
message, not fetchnews, as I assumed. Well, it seems your groupinfo file
is corrupt. There is a problem with current versions of leafnode in
downloading new groupinfo files. Possibly, you must recompile leafnode
with the following patch applied:

--- activutil.c.orig	Fri Jan  7 17:04:28 2000
+++ activutil.c	Fri Jan  7 17:05:05 2000
@@ -38,6 +38,8 @@
 
 #define   STRNCMPEQ(s1, s2, n)    (*(s1) == *(s2) && strncmp((s1), (s2), n) == 0)
 
+#define MAX_DIFF 50000
+
 extern struct state _res;
 
 /* insert or update a newsgroup in the global list */
@@ -364,7 +366,7 @@
     else
 	oldlen = 0;
 
-    if ( ( newlen > oldlen-10000 ) || forcedwrite ) {
+    if ( ( newlen > oldlen-MAX_DIFF ) || forcedwrite ) {
 	rename( s, c );
     } else {
 	syslog( LOG_ERR, "error writing groupinfo file (disk full?)" );

and then invoke "fetchnews -f". Check your logs for the message
"error writing groupinfo file (disk full?)". If it occurs, set
MAX_DIFF to a higher value and recompile again.

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list