🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by David E A Wilson Wed, 18 Jul 1990 04:14
nnadmin problem
#736
Author: David E A Wilson
Date: Wed, 18 Jul 1990 04:14
77 lines
3278 bytes
Running nn 6.4.8 on Sun-4/260 running SunOS 4.1
(problem also was apparent with nn 6.4.6)

The newsgroup comp.sys.apple was deleted after the creation of comp.sys.apple2
but nn doesn't seem to know. Here is the output of running nnadmin on it.
-----------------------------------------------------------------------------
Script started on Wed Jul 18 10:38:58 1990
# nnadmin
Master is NOT running

C)onf E)xpire G)roups I)nit L)og M)aster Q)uit S)tat U)pdate V)alidate W)akeup
ADMIN >>>g
Group: comp.sys.apple

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>d
First article 0..0 (or all): 
offset = 100, article # = 7394
xpost(2): 226 227
ts=1795287 hp=0, fp=+443, lp=3462, ref=0+Re, lines=52
Sender(10): Ron Wilson
Subj(61): GS Sound underestimation (was:Re: Apple IIgs vs. Mac and IBM)

offset = 199, article # = 7395
xpost(1): 226
ts=1795793 hp=0, fp=+317, lp=657, ref=1+Re, lines=9
Sender(16): Avery Ray Colter
Subj(31): Fortran Compiler for IIe wanted

offset = 272, article # = 7396
xpost(1): 226
ts=1795797 hp=0, fp=+336, lp=1165, ref=1+Re, lines=19
Sender(16): Avery Ray Colter
Subj(49): Mac emulates II...thousands of II owners repulsed

*** DATABASE INCONSISTENCY DETECTED - run V)alidate

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>f
-rw-r--r--  1 news      363 Jul  6 10:19 /net/wyvern/local/spool/nn/DATA/2/226.d
-rw-r--r--  1 news       16 Jul  6 10:19 /net/wyvern/local/spool/nn/DATA/2/226.x

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>h
comp.sys.apple  226
first/last art: 000000 000000
   active info: 000000 000000
Offsets: index->0, data->0

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>v
comp.sys.apple: 

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>z
Confirm Remove Group (run rmgroup)  Y)es N)o >>>y
Not privileged to run rmgroup

D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
GROUP comp.sys.apple >>>q

C)onf E)xpire G)roups I)nit L)og M)aster Q)uit S)tat U)pdate V)alidate W)akeup
ADMIN >>>q

# 
script done on Wed Jul 18 10:39:40 1990
-----------------------------------------------------------------------------
Questions:
1)	Why does D)ata claim the database is inconsistent when validate can
	find no problems?

2)	Why would root not be privileged to run rmgroup?

3)	comp.sys.apple is not in the active file so a sucessfull rmgroup
	occurred in the past - what is needed to remove a group from nn?

David Wilson	david@wraith.cs.uow.edu.au
Re: nnadmin problem
#1062
Author: Kim F. Storm
Date: Fri, 09 Nov 1990 16:45
46 lines
2415 bytes
Long time ago david@cs.uow.edu.au (David E A Wilson) wrote:

>Running nn 6.4.8 on Sun-4/260 running SunOS 4.1

>The newsgroup comp.sys.apple was deleted after the creation of comp.sys.apple2
>but nn doesn't seem to know. Here is the output of running nnadmin on it.

[deleted]

>D)ata E)xpire F)iles G)roup H)eader R)ecollect V)alidate Z)ap
>GROUP comp.sys.apple >>>z
>Confirm Remove Group (run rmgroup)  Y)es N)o >>>y
>Not privileged to run rmgroup

>Questions:
>1)	Why does D)ata claim the database is inconsistent when validate can
>	find no problems?

This is caused by a bug which was fixed in patch 10.

>2)	Why would root not be privileged to run rmgroup?

Because it tested on the real uid rather than the effective uid.
Fixed in patch 11.

But there is perhaps a small misunderstanding here.  The Z)ap option
will only run rmgroup to remove the group from the news system, and 
then nnmaster is expected to notice this on the next scan of the active
file. And 6.4.10 will do that.

>3)	comp.sys.apple is not in the active file so a sucessfull rmgroup
>	occurred in the past - what is needed to remove a group from nn?

As stated above, there is nothing you should do except removing the 
group the usual way.  But there was a bug which sometimes prevented this.

Anyway, groups are never removed completely from the database, since
there will still be allocated an entry for the group in the MASTER and
the GROUPS files (where the name will also appear).  It is planned to
do better cleaning of the MASTER and GROUPS file to remove all traces
of removed groups, but for all practical purposes, removed groups which
do appear in the database are ignored by nn (and nnmaster).

-- 
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