🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83604

Re: Watermarks upside down

#83604
From: John F. Morse
Date: Tue, 02 Nov 2010 19:36
162 lines
7593 bytes
Hi Julien,

John F. Morse wrote:

> Hi Julien,
>
>>> Is there an easy fix for the following type of errors:
>>>
>>> news@optima11:/etc/news$ inncheck -v
>>> Looking at /var/lib/news/active...
>>> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
>>> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
>>> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
>>> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
>>> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
>>>
>>> This is an old INN 2.4.5 test server on Lenny.
>>
>> Isn't news.daily taking care of that?
>
>
> Don't know if it is new trouble since midnight, or carried over from 
> past days. I will find out after midnight tonight.
>
> The transit server (INN 2.4.5 on Lenny) also has one of these errors:
>
> news@optima2:~$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:5117: `0000000004' <  '0000000006'.
>
>
>> Did it run last night?
>
>
> Yes.
>
> Expire messages:
> expireover start Sun Oct 31 00:00:59 CDT 2010: ( 
> -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
>    Article lines processed    45842
>    Articles dropped               0
>    Overview index dropped         0
> expireover end Sun Oct 31 00:07:49 CDT 2010
> lowmarkrenumber begin Sun Oct 31 00:07:49 CDT 2010: 
> (/var/log/news/expire.lowmark)
> lowmarkrenumber end Sun Oct 31 00:07:50 CDT 2010
> expire begin Sun Oct 31 00:08:20 CDT 2010: (-v1)
>    Article lines processed   303382
>    Articles retained         278165
>    Entries expired            25217
> expire end Sun Oct 31 00:09:21 CDT 2010
>     all done Sun Oct 31 00:09:21 CDT 2010
>
>
>> Is "tdx-util -A" complaining?  (if using tradindexed overview)
>
>
> It did show hundreds of errors. I then ran it with -F and it fixed all 
> of those errors, but not the errors found with inncheck -v.
>
> news@optima11:~$ tdx-util -A
> news@optima11:~$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
> Looking at /etc/news/control.ctl...
> Looking at /etc/news/expire.ctl...
> Looking at /etc/news/incoming.conf...
> Looking at /etc/news/inn.conf...
> Looking at /etc/news/moderators...
> Looking at /etc/news/newsfeeds...
> ME, controlchan!, nocem!, innfeed!, optima5, inpaths!, done.
> Looking at /etc/news/nntpsend.ctl...
> Looking at /etc/news/overview.fmt...
> Looking at /etc/news/passwd.nntp...
> Looking at /etc/news/readers.conf...
>
> Examining the active file, I see the watermarks are not changed.
>
> These groups are all in cnfs:
>
>   1179 at.anzeigen.wohnen 0000000000 0000000006 y
>   1198 at.internet.provider 0000000002 0000000010 y
>   2563 de.comp.text.dtp 0000000000 0000000002 y
>   6032 za.net.misc 0000000000 0000000002 y
>   6045 za.unix.misc 0000000000 0000000002 y
>
> Optima11 is a very stable server, but has only a 4.3 GB hard drive. So 
> I use it for testing only. It's at the tail end of the chain of 
> servers, and fed by the old reader server, Optima5 (INN 2.4.5 on 
> Lenny), which may have a bad hard drive. I replaced Optima5 with n102 
> (INN 2.5.2 on Squeeze), which works great, and feeds Optima5.
>
> The transit server, Optima2 mentioned above, feeds Optima5. It too is 
> in the process of being replaced by v102, another new INN 2.5.2 also 
> on Squeeze. It's peering with Optima5 right now as I configure the 
> servers.
>
> None of my work would have created the problems. All I'm doing today 
> is editing the incoming.conf, innfeed.conf and newsfeeds files, to add 
> v102 into the peering, then commenting out the information.
>
>
>> I see in your crontab from one of your previous articles
>> that you are using "news.daily lowark" so it should normally
>> work.
>>
>> Otherwise, mind the bug in INN 2.4.5 if you use "ctlinnd renumber":
>>
>>  INN 2.5.0:
>>
>>    Fixed a bug in ctlinnd renumber which was resetting the low
>>    and high water marks of empty newsgroups in the active file.
>>    This command now makes the low water mark one more than the real
>>    high water mark.  The answers to LIST ACTIVE, GROUP and LISTGROUP
>>    have also been fixed to do that.
>
>
> I'll let midnight have a chance with it. After all, it is Halloween! ;-)
>
> Booooo! =-O


There must be spooks in my servers. ;-)

I let it run two midnight expiry sessions. Neither one was fixed by 
expire.lowmark (if it is supposed to do this).

Since these are not tradspool, I cannot simply look at the corresponding 
article number file name in a group directory.

They are hidden away in CNFS buffers, and I know of no way to determine 
if the articles exist or not. The handy grephistory and sm utilities 
won't work since I don't have the M-ID nor the token.

Attempting to read the groups with a newsreader shows no messages (empty 
groups) due to the watermarks being out of whack.

Further attempts to use a newsreader -- after editing its newsrc file to 
be able to access these articles -- would also likely fail since the 
server's watermarks are upside down.

Do you know of any method to access these articles by article number so 
I could see what is actually in the CNFS cycbuffs?

What are the consequences of using "ctlinnd renumber" on 2.4.5 if these 
groups are not empty? Did the bug reset the watermarks to 0000000000 
0000000000 instead of 0000000000 0000000001?

I guess I could edit the active file to set those groups to 0000000000 
0000000001 and lose those few articles. They may have already expired. 
Those groups are not of interest to me or my users, and the articles are 
likely long ago propagated to peers.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <iapp8f$sqj$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!83.128.0.12.MISMATCH!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news-out.octanews.net!indigo.octanews.net!news.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <iakcpm$not$1@n102.xanadu-bbs.net> <iakhd5$fu$1@news.trigofacile.com> <iakp6g$r36$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <iapp8f$sqj$1@n102.xanadu-bbs.net>
Subject: Re: Watermarks upside down
Date: Tue, 02 Nov 2010 14:36:47 -0500
From: "John F. Morse" <john@example.invalid>
References: <iakcpm$not$1@n102.xanadu-bbs.net> <iakhd5$fu$1@news.trigofacile.com> <iakp6g$r36$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!83.128.0.12.MISMATCH!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news-out.octanews.net!indigo.octanews.net!news.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 162
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1288726607 29523 192.168.89.210 (2 Nov 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 2 Nov 2010 19:36:47 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
In-Reply-To: <iakp6g$r36$1@n102.xanadu-bbs.net>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 7425