🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Benjamin Ryzman Mon, 15 May 2000 00:00
INN 2.3 Beta makehistory w/o Overview
#46426
Author: Benjamin Ryzman
Date: Mon, 15 May 2000 00:00
29 lines
1752 bytes
For what's worth, this is on FreeBSD 4.0.

While trying out inn-BETA-20000514, I get the following:
$ /usr/news/bin/makehistory -b -f history.n -l 600000
'Xref:full' must be included in /var/news/etc/overview.fmt

Xref:full is however included in my overview.fmt.

Checking at expire/makehistory.c I find that Xrefp is set only when running
makehistory -O and thus it will exit(1) whenever one doesn't use Overview.

makehistory -O is not an option as I get:
/usr/bin/sort: read error: Input/output error
makehistory: Can't sort OverTmp file (/usr/bin/sort exit 2),
No such file or directory
when I try it.

I've tried a crude patch, but Xrefp is used everywhere else, and I'm not
sure what to do.

I'm back to inn-2000-03-07 for now, but could someone please explain to me
what I overlooked?

-- 
Benjamin Ryzman				Anti-Spam note: please replace
Senior System Admin			`INVALID' by `fr' in my return
Easynet France				address.

Re: INN 2.3 Beta makehistory w/o Overview
#46425
Author: Katsuhiro Kondou
Date: Mon, 15 May 2000 00:00
61 lines
2847 bytes
In article <6IIT4.2036$MF1.54800@tengri.easynet.fr>,
	benjamin.ryzman@easynet.INVALID (Benjamin Ryzman) wrote;

} While trying out inn-BETA-20000514, I get the following:
} $ /usr/news/bin/makehistory -b -f history.n -l 600000
} 'Xref:full' must be included in /var/news/etc/overview.fmt
} 
} Xref:full is however included in my overview.fmt.
} 
} Checking at expire/makehistory.c I find that Xrefp is set only when running
} makehistory -O and thus it will exit(1) whenever one doesn't use Overview.
:
} I've tried a crude patch, but Xrefp is used everywhere else, and I'm not
} sure what to do.
} 
} I'm back to inn-2000-03-07 for now, but could someone please explain to me
} what I overlooked?

That's my mistake.  Try attached.

--- makehistory.c.orig	Fri May 12 15:50:31 2000
+++ makehistory.c	Mon May 15 11:39:50 2000
@@ -463,7 +463,7 @@
 	Missfieldsize++;
     if (Expp == (ARTOVERFIELD *)NULL)
 	Missfieldsize++;
-    if (Xrefp == (ARTOVERFIELD *)NULL || !foundxreffull) {
+    if (Overview && (Xrefp == (ARTOVERFIELD *)NULL || !foundxreffull)) {
 	(void)fprintf(stderr, "'Xref:full' must be included in %s\n", SchemaPath);
 	exit(1);
     }
@@ -497,6 +497,15 @@
 	    fp->HeaderLength = 0;
 	    Expp = fp++;
 	}
+        if (Overview && Xrefp == (ARTOVERFIELD *)NULL) {
+	    fp->NeedHeadername = FALSE;
+	    fp->Headername = COPY(XREF);
+	    fp->HeadernameLength = strlen(XREF)-1;
+	    fp->Header = (char *)NULL;
+	    fp->HasHeader = FALSE;
+	    fp->HeaderLength = 0;
+	    Xrefp = fp++;
+	}
     }
 }
 
@@ -584,7 +593,7 @@
 	    }
 	}
     }
-    if (Xrefp->HeaderLength == 0) {
+    if (DoOverview && Xrefp->HeaderLength == 0) {
 	if (!SMprobe(SMARTNGNUM, art->token, (void *)&ann)) {
 	    Xrefp->Header = NULL;
 	    Xrefp->HeaderLength = 0;

-- 
Katsuhiro Kondou

INN 2.3 Beta nnrpd issue
#46572
Author: phil
Date: Wed, 24 May 2000 00:00
51 lines
2036 bytes
I have installed inn beta.  Here is a sample session from the command
line to
illustrate my problem

telnet <host> 119
Trying <IP>...
Connected to <host>.
Escape character is '^]'.
200 <host> InterNetNews NNRP server INN 2.3.0 (20000518 prerelease)
ready (posting ok).
mode reader
Connection closed by foreign host.

And another example:

telnet <host> 119
Trying <IP>...
Connected to <host>.
Escape character is '^]'.
200 <host> InterNetNews NNRP server INN 2.3.0 (20000518 prerelease)
ready (posting ok).
authinfo user <user>
381 PASS required
authinfo pass <password>
281 Ok
mode reader
200 <host> InterNetNews NNRP server INN 2.3.0 (20000518 prerelease)
ready (posting ok).
quit
205 .
Connection closed by foreign host.

The problem is that most readers do MODE READER first, and just get
dropped.
I have been running a previous beta with no difficulties, but two
versions I have
tried since the public Beta began have this problem, the net effect
being that
noone can read news except from the PC based newsreader called
NewsRover.  All other newsreaders I have tried do a MODE READER before
any auth info commands.

Any ideas?  What did I miss??

Thanks in advance.


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: INN 2.3 Beta nnrpd issue
#46998
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
23 lines
1344 bytes
Answering old posts....

phil <phil@unix.sprint.net> writes:

> I have installed inn beta.  Here is a sample session from the command
> line to illustrate my problem

> telnet <host> 119
> Trying <IP>...
> Connected to <host>.
> Escape character is '^]'.
> 200 <host> InterNetNews NNRP server INN 2.3.0 (20000518 prerelease)
> ready (posting ok).
> mode reader
> Connection closed by foreign host.

A whole bunch of bugs in the readers.conf support were recently fixed; try
the most recent BETA snapshot and see if you're still having this problem.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads