🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #38277

Re: Problem with trn when creating/removing newsgroups on server?

#38277
From: Wayne Ling
Date: Mon, 02 Feb 1998 00:00
110 lines
5134 bytes
In article <82u3aibeky.fsf@pooh.eecs.umich.edu>,
Michael Hucka  <hucka@eecs.umich.edu> wrote:
>I have a user who is complaining about encountering errors like this from trn
>3.6 on a Debian Linux system:
>
>   Warning!  Somebody reset sci.answers--assuming nothing read.
>   Checking out your .newsrc -- hang on a second...
>   
>   Warning!  Somebody reset comp.ai.genetic--assuming nothing read.
>   
>   Warning!  Somebody reset comp.dcom.cell-relay--assuming nothing read.
>   
>etc.  He says it doesn't happen all the time, and I'm having trouble
>reproducing it.  Does this look like a familiar problem to anyone?
>
>The one hypothesis I have is the following.  In trying to figure this out, it
>occurred to me that it might be happening when new groups get created or
>removed on the news server.  We're running INN 1.7.2 (insync) with actived.
>Wouldn't it be the case that when the active file is getting changed due to
>newsgroup creation and deletion, a news reader might get confused?
>
>I took a quick glance at the trn 3.6 source code, and it looks like the place
>where it generates the error messages above does in fact involve contacting
>the news server and checking newsgroup sizes.  Unfortunately, a quick test of
>running trn on one machine and doing some ctlinnd rmgroup/newgroup commands
>on the server failed to reproduce the error messages in the trn session.
>
>--
>Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
> PhD to be, computational models of human visual processing (AI Lab)     of
>   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan



I do have a solution for you. The following is the tried and 
true fix.


=In news.software.readers, in <69hfj5$rq$1@shipwreck.sympatico.ca>
=Wayne Ling wrote:
=>
=>While using trn on Linux RedHat 5.0, several times during
=>a session, trn would complain that someone has reset a newsgroup.
=>I looked into .newsrc and I found that the newsgroup in question
=>would have an impossibly long number in the file, as shown below.
=>
=>comp.os.linux.misc: 1-213671,,,,,,,,,,,,,,,214204214342214196214158214153214138215158214639214043213961213885213840213719213711213755,214111,214689,214694,214699,2
=>
=>The trn I use is version 3.6 and it comes with RH 5.0.
=>I just wonder if anyone has seen a similar problem.  One thing
=>worth noting is that I also run netscape 4.04 in parallel
=>with trn but I do not use netscape to read newsgroup.  To be on
=>the safe side, I have changed the newsgroup directory of
=>netscape to an other directory but my trn problem persists.
=
=There are subscription instruction for the trn mailing lists at
=    ftp://ftp.clari.net/private/trn/README 
=
=and the following patch for this problem was posted to one of them recently:
=
=
=In <199712291520.QAA00243@ostrich.swipnet.se>,
="Jan D." <Jan.Djarv@mbox200.swipnet.se> wrote:
=>> Hello,
=>> 
=>> Recently I decided to move to trn4-test60.  I've been using trn4-test58 for
=>> quite a while with no problems, so I thought that I would not have any problems
=>> with a newer version.  The problem that I experience is that time to time I get
=>> a message `somebody reset ...' or something a like, which make it impossible to
=>> comfortably read the news.  Does anybody else experience such a problem?
=>> 
=>> I cannot be quite sure, but the problem seems to be from my using libc6.  The
=>> trn4-test58 was compiled with libc5 stuff.  Now, I try to recompile all versions
=>> of trn that I have handy.  These are trn3.6, trn4-test58, trn4-test60.  All seem
=>> to behave in the same manner.
=>
=>Yes, I had the same problem until somebody on this list (sorry, lost the
=>name and the mail)  came up with this patch:
=>
=>Index: rcln.c
=>--- rcln.c.orig        Sat Oct  4 19:49:25 1997
=>+++ rcln.c     Fri Nov 21 18:52:07 1997
=>@@ -101,7 +101,7 @@
=>     register char* maxt = NULL;
=>     ART_NUM min = 0, max = -1, lastnum = 0;
=>     char* mbuf;
=>-    bool morenum;
=>+    bool_int morenum;
=> 
=>     if (!artnum)
=>       return 0;
=>
=>I haven't had any trouble since then on Linux and Glibc 6.
=>I think the problem was that isdigit returned a number that didn't
=>fit into a char.
=>
=>       Jan D.
=
=
=
=-- 
=Denis McKeon
=

-- 
Note: Please remove DELETE_NoSpam to get my return address.
      wling@sympatico.ca

Technical Details
Message-ID: <6b5t0t$j7$1@shipwreck.sympatico.ca>
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: <82u3aibeky.fsf@pooh.eecs.umich.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6b5t0t$j7$1@shipwreck.sympatico.ca>
Subject: Re: Problem with trn when creating/removing newsgroups on server?
Date: Mon, 02 Feb 1998 00:00:00 +0000
From: wling@sympatico.caDELETE_NoSpam (Wayne Ling)
References: <82u3aibeky.fsf@pooh.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
X-Deja-AN: 321539840
X-Complaints-To: usenet@news20.bellglobal.com
X-Trace: news21.bellglobal.com 886470465 5935 (None) 206.47.27.172
Organization: No Spam Solidarity
Newsgroups: news.software.nntp,news.software.readers