🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8795

Re: expire reports 'Bad entry, "alt.sports.baseball.sf-giants' and such

#8795
From: Michael Hucka
Date: Tue, 25 Jun 1996 00:00
59 lines
3381 bytes
>>>>> On 06 Jun 1996, lvanwagn@lcp.com (Lyndon VanWagner) wrote:

  lvanwagn> Anyways, I believe that I've recovered everything, and we seem to
  lvanwagn> be getting our feeds again, but news.daily is reporting the
  lvanwagn> following messages during expire:: Bad entry,
  lvanwagn> "alt.sports.baseball.sf-giants" ...

  lvanwagn> There are many of these messages, but certainly not all of them
  lvanwagn> in the active or newsgroups files.  Nor is this message reported
  lvanwagn> in any of the FAQ's that come with the upgrade.

  lvanwagn> Does anyone have an idea of what might be cause this message, and
  lvanwagn> what to do to repair it?

This reply is probably too late to help you, but we recently encountered the
same kinds of errors in our news logs.  It turned out the problem was due to
malformed entries in the history file.

I suggested grep'ing through your history file for the group name reported in
the error message, and looking at each entry to see that it is correctly
formatted.  Some history file errors can be repaired by Dave Barr's "fixhist"
script (see http://www.math.psu.edu/barr/INN.html).  In our case, the lines
had the form

  <46uf04$qoq@news.aloha.com>     814925547~-~814920035   ubc.gene
  <yoshio-2910951317420001@chisp11.slip.net>      814946758~-~814940262   fj.rec.spo

I.e., part of the group name and everything after it had been cut off.
Fixhist won't actually catch this particular problem, but the following patch
(which I've already sent to Dave) will modify fixhist to handle this case.

*** fixhist     Tue Jun 25 18:03:10 1996
--- /n/wolf/z/src/news/tools/fixhist/fixhist    Tue Jun 25 18:16:06 1996
***************
*** 39,44 ****
--- 39,48 ----
        }
        if ($msgid !~ /^<[^<> ]*>$/) {
                &tossit();              # malformed msg-ids
+               next;
+       }
+       if ($arts && ($arts !~ m,[^/]*/.*,)) {
+               &tossit();              # malformed articles list
                next;
        }
        if (/[\000-\010\012-\037\177-\237]/) { # non-control chars except tab


(N.b.: I don't believe this addition will cause fixhist to fail for cases
that it handled successfully before, but it hasn't been tested very
thoroughly, so use with caution.)
-- 
                                                                      ___  ___ 
Mike Hucka   hucka@umich.edu   http://ai.eecs.umich.edu/people/hucka |   \/   |
Ph.D. wanna-be, computational models of human visual processing       | |\/| |
Programmer analyst & newsmaster @ U. of Michigan Dept. of EECS       |___||___|

Technical Details
Message-ID: <82ivcfw7sb.fsf@krusty.eecs.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <31b74412.32850448@speed.roc.lcp.com>

Show Full Headers
Complete Article Headers
Message-ID: <82ivcfw7sb.fsf@krusty.eecs.umich.edu>
Subject: Re: expire reports 'Bad entry, "alt.sports.baseball.sf-giants' and such
Date: Tue, 25 Jun 1996 00:00:00 +0000
From: hucka@eecs.umich.edu (Michael Hucka)
References: <31b74412.32850448@speed.roc.lcp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 162194097
Sender: hucka@krusty.eecs.umich.edu
To: lvanwagn@lcp.com, laura, don, liz
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
X-attribution: Hucka
Reply-to: hucka@eecs.umich.edu
Newsgroups: news.software.nntp