🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #234

Disappearing DATA files.

#234
From: Tom Ivar Helbekkmo
Date: Wed, 28 Mar 1990 23:33
46 lines
2769 bytes
I'm running the newest release of NN here (retrieved and compiled a
week ago), and I've run into a strange situation:  It seems to me that
whenever B news expires the last message in a newsgroup, both data
files under .../nn/DATA/ representing that group are removed, and a
"database inconsistency" reported.  Here's a brief excerpt from the
log:

M: Mar 22 03:00 (M): Master terminated (hangup)
M: Mar 22 03:00 (M): Master started -r0 -e1 -E
X: Mar 22 03:00 (M): Expire:   3 art,  2 gr,  3 s (incl. collect)
C: Mar 22 03:00 (M): Collect:  48 art,  1 gr,  3 s (incl. expire)
M: Mar 22 03:00 (M): Master terminated
M: Mar 22 03:00 (M): Master started -r10 -e1
V: Mar 22 03:00 (news): Database inconsistency in group local.news
A: Mar 22 03:00 (news): SEND R 512 0
M: Mar 22 03:00 (M): Database validation completed
A: Mar 22 03:00 (M): RECV R 512 0 (news Mar 22 03:00)
A: Mar 22 03:02 (news): SEND R -1 0
A: Mar 22 03:02 (M): RECV R -1 0 (news Mar 22 03:02)
C: Mar 22 03:02 (M): Collect:  63 art,  6 gr,  3 s 

This happened when I was testing the brand new setup, manually
expiring the only posted message in the group in question -- but it
has later been seen to happen when the last item in a group is
automatically expired as well.  When an item is posted to the group
again, NN will resurrect it as well.  Until then, every nightly
expire/rebuild reports the inconsistency.

Is this a problem, or should I just not worry about it?

While I'm at it, there's another problem I haven't been able to figure
out from the source code yet either:  Extracting multiple articles by
specifying something like "~/src/newstuff/foo_*_of_n.sh" will ask if I
want to create the directory, then ask what to extract, and when I hit
'*' it will rapidly say it couldn't write each of the articles --
although it has created the directory, and I can see that the filename
expansions are working properly.

Any hints about where in the source to look for problems?

I'm running SCO Unix V/386 3.2.0 with GCC 1.37.1.

-tih
-- 
Tom Ivar Helbekkmo, NHH, Bergen, Norway.  Telephone: +47-5-959205
tih@barsoom.nhh.no, thelbekk@norunit.bitnet, edb_tom@debet.nhh.no
Technical Details
Message-ID: <752@barsoom.nhh.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!nuug!ifi!barsoom!tih

Show Full Headers
Complete Article Headers
Message-ID: <752@barsoom.nhh.no>
Subject: Disappearing DATA files.
Date: Wed, 28 Mar 1990 23:33:32 +0000
From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!nuug!ifi!barsoom!tih
Newsgroups: news.software.nn
Keywords: bug,DATA
Distribution: news
Organization: Norwegian School of Economics
Lines: 46
Posted: Thu Mar 29 00:33:32 1990