🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by mahoney barry Thu, 15 Nov 1990 10:00
problem with GROUPS file
#1104
Author: mahoney barry
Date: Thu, 15 Nov 1990 10:00
42 lines
2427 bytes
We have been using nn (and cnews) for a year or so on
a Pyramid 98x (OSx 5.0) and recently decided to use nn
and nntp (mini inews) read the news directly from a
MicroVax II (VMS). This change was mainly due to space
limitations on the former machine and also because our
feed was from the MicroVax anyway. While this was all
running pretty well with our original configuration and
initially using nntp some problems are beginning to arise.

We are currently running nn (version 6.4 patch 12), the mini
inews which came with nn (version 1.5.7) and ANU news is
running on the MicroVax.

Our problem is this: The GROUPS file appears to be causing
problems when new groups are added. Two problems exist (which
are probably related?)	- first groups are being duplicated
with for example the following lines occuring in the GROUPS 
file
	comp.graphics.visualization
	comp.graphics.visualization 658595281
The second occurance with the date stamp may be repeated if
further articles are received in other batches?
The second problem is that the group name which occurs in the
users .newsrc file for these GROUPS is corrupt like:
	alt.boomerang 6585750:
	alt.nodies 6585: 1-30
	alt.wee.willie.wisner 65857:
	comp.graphics.visualiz: 1-22,26,28-29,31-32,37-39
i.e. the date stamp is included in the group name or the
group name is truncated.

I hope I've given enough information to highlight the problem.
Can anyone help with a fix, what we have done wrong, where we
should start looking.

advTHANKSance
--
Barry Mahoney (e-mail: mahoney@zeus.usq.edu.au)         _--_|\
Computer Services Unit                                 /     *\
University College of Southern Queensland.             \_.--._/
Toowoomba Queensland Australia.                              v
Re: problem with GROUPS file
#1107
Author: Kim F. Storm
Date: Thu, 15 Nov 1990 18:23
39 lines
2348 bytes
mahoney@zeus.usq.EDU.AU (mahoney barry) writes:

>Our problem is this: The GROUPS file appears to be causing
>problems when new groups are added. Two problems exist (which
>are probably related?)	- first groups are being duplicated
>with for example the following lines occuring in the GROUPS 
>file
>	comp.graphics.visualization
>	comp.graphics.visualization 658595281

Several reports have indicated similar problems at other sites recently.
I don't know what causes these problems, but I'll look for a way to
make nnmaster and nnadmin watch out for this kind of problems.

The actual problem is that the MASTER and GROUPS files are out of
sync, and there is only one way to fix this:

- Rebuild the database from scratch, ignoring the old GROUPS file.

You *can* preserve the GROUPS file if you get rid of the duplicates
manually (I'll make this automatic in the next patch).

The only known explanation for this problem is if somebody has edited
the GROUPS file while nnmaster has been running; this may cause a lot
of problems is nnmaster adds a new group to the GROUPS file, and then
the edited version is written back, thus losing nnmaster's latest updates.
I'll have to design a better algorithm for this - probably I'll separate
the GROUPS file into one maintained by nnmaster and one which the sysop
has access to to set the per-group options, and which nnmaster -G may
then be used to merge into the file maintained by nnmaster.

This will also allow better consistency checking on the GROUPS file, since
it is no longer expected to be modified by the sysop.

I'll "fix" this as soon as I have some time to work on nn again.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
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