🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Andrew Anderson Wed, 25 Jun 1997 00:00
nnrpd.c: This shouldn't really happen.
#18708
Author: Andrew Anderson
Date: Wed, 25 Jun 1997 00:00
10 lines
720 bytes


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrew J. Anderson, UNIX System Administrator
Center for Information Technology, Stetson University
Andrew.Anderson@stetson.edu

Re: nnrpd.c: This shouldn't really happen.
#18692
Author: Andrew Anderson
Date: Wed, 25 Jun 1997 00:00
28 lines
1549 bytes
Let's try this again...

Quick summary: Solaris 2.5.1 latest patch level, INN 1.5.1.

From the logs:
Jun 24 21:00:07 server nnrpd[1367]: client connect
Jun 24 21:00:07 server nnrpd[1367]: client internal newline "..."
Jun 24 21:00:07 server nnrpd[1367]: client cant getgrouplist Permission denied
Jun 24 21:00:07 server nnrpd[1367]: client exit articles 0 groups 0
Jun 24 21:00:07 server nnrpd[1367]: client times user 0.010 system 0.020 elapsed 0.023

I tracked "cant getgrouplist" to nnrpd/nnrpd.c, right below the comment 
that "This shouldn't really happen."

Well, it did.  How do I fix it?  I'm using the same config.data from a
working INN on another server.  Incoming news appears to work, just no
news readers (used both tin and slrn to verify).

Andrew

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrew J. Anderson, UNIX System Administrator
Center for Information Technology, Stetson University
Andrew.Anderson@stetson.edu

Re: nnrpd.c: This shouldn't really happen.
#18705
Author: Forrest J. Cavalier III
Date: Wed, 25 Jun 1997 00:00
33 lines
1815 bytes
In article <5opujp$ir4$2@news.stetson.edu>, andrew@stetson.edu wrote...
>
>Let's try this again...
>
>Quick summary: Solaris 2.5.1 latest patch level, INN 1.5.1.
>
>From the logs:
>Jun 24 21:00:07 server nnrpd[1367]: client connect
>Jun 24 21:00:07 server nnrpd[1367]: client internal newline "..."
>Jun 24 21:00:07 server nnrpd[1367]: client cant getgrouplist Permission denied
>Jun 24 21:00:07 server nnrpd[1367]: client exit articles 0 groups 0
>Jun 24 21:00:07 server nnrpd[1367]: client times user 0.010 system 0.020 
elapsed 0.023
>
>I tracked "cant getgrouplist" to nnrpd/nnrpd.c, right below the comment 
>that "This shouldn't really happen."
>
>Well, it did.  How do I fix it?  I'm using the same config.data from a
>working INN on another server.  Incoming news appears to work, just no
>news readers (used both tin and slrn to verify).
>

The message logged before that is the clue.  group.c:GetGroupList() is
failing because you have an invalid line in the active file.  (Or
more likely, much of the file is corrupt or missing.)

Forrest Cavalier, Mib Software, INN customization and consulting
Searchable Hypertext docs on Usenet, INN, etc:
	http://www.mibsoftware.com/userkt/userkt.html


Re: nnrpd.c: This shouldn't really happen.
#18815
Author: Joshua Goodall
Date: Fri, 27 Jun 1997 00:00
42 lines
2474 bytes
In article <5opujp$ir4$2@news.stetson.edu>
          andrew@stetson.edu (Andrew Anderson) wrote:

> Let's try this again...
> 
> Quick summary: Solaris 2.5.1 latest patch level, INN 1.5.1.
> 
> From the logs:
> Jun 24 21:00:07 server nnrpd[1367]: client connect
> Jun 24 21:00:07 server nnrpd[1367]: client internal newline "..."
> Jun 24 21:00:07 server nnrpd[1367]: client cant getgrouplist Permission denied
> Jun 24 21:00:07 server nnrpd[1367]: client exit articles 0 groups 0
> Jun 24 21:00:07 server nnrpd[1367]: client times user 0.010 system 0.020 elapsed 0.023
> 
> I tracked "cant getgrouplist" to nnrpd/nnrpd.c, right below the comment 
> that "This shouldn't really happen."
> 
> Well, it did.  How do I fix it?  I'm using the same config.data from a
> working INN on another server.  Incoming news appears to work, just no
> news readers (used both tin and slrn to verify).

Looking at the source, this error is actually triggered in nnrpd/group.c in
GetGroupList(). I'm not too familiar with this chunk of the INN source, but
it's scanning through the active file, and at this point looking for a
newline. The error is raised when no such newline exists.

Unless some memory management or IO error is to blame, it is possible/
probable that your active file is corrupt. At the simplest, this might be a
single newline missing at the very end of file. This is easily fixed but if
your active file is truly mangled then you should rebuild it by running
makeactive, then actsyncing the output with the actives from your feeders,
then renumbering everything.

I can't speak authoritatively (ask James Brister?) but think this is
close to the mark.

-- 
Joshua Goodall           Un*x, INN & Usenet, sax/flute, coffee, discordia
                             ...I am not a number, I am a free(3) man(1)!

Re: nnrpd.c: This shouldn't really happen.
#18844
Author: James Brister
Date: Sun, 29 Jun 1997 00:00
23 lines
1684 bytes
Joshua Goodall <joshua@eris.ednet.co.uk> writes:

> Unless some memory management or IO error is to blame, it is possible/
> probable that your active file is corrupt. At the simplest, this might be a
> single newline missing at the very end of file. This is easily fixed but if
> your active file is truly mangled then you should rebuild it by running
> makeactive, then actsyncing the output with the actives from your feeders,
> then renumbering everything.
> 
> I can't speak authoritatively (ask James Brister?) but think this is
> close to the mark.

Very close to the mark. I can't add anything, except aht if this active
file came off a linux distribution (Red Hat I think, but am not certain),
then this is a known problem (missing newline on last line).

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: nnrpd.c: This shouldn't really happen.
#18908
Author: James Youngman
Date: Tue, 01 Jul 1997 00:00
13 lines
1156 bytes
James Brister <brister@vix.com> writes:

> Very close to the mark. I can't add anything, except aht if this active
> file came off a linux distribution (Red Hat I think, but am not certain),
> then this is a known problem (missing newline on last line).

Yep, a previous version of the INN package for Red Hat had this
problem.  The current version (4.2) does not (AFAIK) have this
problem, and there is an update available for the previous version,
which fixes this problem.

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