πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80772

Re: ISC Newsgroups - Unmatched )

#80772
From: John F. Morse
Date: Mon, 27 Apr 2009 16:34
151 lines
7050 bytes
Julien Γ‰LIE wrote:
> Hi John,
>
>> When I ran the docheckgroups on it, I received four egrep errors:
>>
>> news@optima5:/var/lib/news$ cat newsgroups | docheckgroups
>> egrep: Unmatched ) or \)
>> egrep: Unmatched ) or \)
>> egrep: Unmatched ) or \)
>> egrep: Unmatched ) or \)
>
> I had already seen problems like that on a few systems (caused by
> different grep or even sed implementations).  I do not manage to
> reproduce your problem with the docheckgroups shipped with INN 2.4.3.
>
> Note that I have converted docheckgroups to use awk instead of egrep
> since that time.
>
>
>> This is from the bz2 archive. I don't know if the error exists in the
>> plain textfile or the gz archive.
>
> And does the error still exist with this docheckgroups:
>
>    http://inn.eyrie.org/trac/export/8433/trunk/control/docheckgroups.in
>
> Just download it, chmod 755 and put something like
>    . /usr/lib/news/innshellvars
> at the second line of the file (the line is the same as what there is
> in your current docheckgroups script).
>
> Then, run with "newsgroups" and "docheckgroups.in" in the same directory:
>
>    cat newsgroups | ./docheckgroups.in
>
>
> Is it better or not?


Hi Julien.

Sorry this test and reply took so long. I've had thunderstorms all
night, and the sump pump float switch is acting up. Only got two hours
sleep before the alarm sounded at 0530 (1030Z), and I had been up 24
hours before that!

So, here's the output. It's nearly noon, and I'm going to bed. ;-)


news@optima5:~$ cat newsgroups | ./docheckgroups.in
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
awk: line 1: regular expression /^aaa[.     ]| ... exceeds
implementation size limit
news@optima5:~$


The above is INN version is 2.4.4 (on Optima5).


Out of curiosity, since you mentioned INN 2.4.3, I tried this on
Optima7, which is INN 2.4.3. I didn't see any errors like on Optima5.


news@optima7:/var/lib/news$ cat newsgroups | /usr/lib/news/bin/docheckgroups


<snip>


# Change these lines:
#   xanadu.info        Announcements about access (no posting)
#   comp.parallel        Massively parallel hardware/software. (Moderated)
#   comp.protocols.dns.bind    Berkeley Internet Name Domain (BIND).
(Moderated)
#   comp.unix.bsd.freebsd.announce    Announcements pertaining to
FreeBSD. (Moderated)
#   comp.unix.bsd.netbsd.announce    Announcements pertaining to NetBSD.
(Moderated)
#   comp.unix.bsd.openbsd.announce    OpenBSD announcements. (Moderated)
#   info.bind        *The Berkeley BIND server (bind@arpa.berkeley.edu).
(Moderated)
#   linux.debian.announce    debian-announce@lists.debian.org (Moderated)
#   linux.debian.announce.devel   
debian-devel-announce@lists.debian.org (Moderated)
#   linux.debian.announce.security   
debian-security-announce@lists.debian.org (Moderated)
#   linux.debian.beowulf    debian-beowulf@lists.debian.org (Moderated)
#   linux.debian.doc    debian-doc@lists.debian.org (Moderated)
#   linux.debian.isp    debian-isp@lists.debian.org (Moderated)
#   linux.debian.laptop    debian-laptop@lists.debian.org (Moderated)
#   linux.debian.maint.boot    debian-boot@lists.debian.org (Moderated)
#   linux.debian.maint.dpkg    debian-dpkg@lists.debian.org (Moderated)
#   linux.debian.maint.firewall    debian-firewall@lists.debian.org
(Moderated)
#   linux.debian.news    debian-news@lists.debian.org (Moderated)
#   linux.debian.policy    debian-policy@lists.debian.org (Moderated)
#   linux.debian.ports.68k    debian-68k@lists.debian.org (Moderated)
#   linux.debian.ports.powerpc    debian-powerpc@lists.debian.org
(Moderated)
#   linux.debian.project    debian-project@lists.debian.org (Moderated)
#   linux.debian.security    debian-security@lists.debian.org (Moderated)
#   linux.debian.user    debian-user@lists.debian.org (Moderated)
#   linux.debian.www    debian-www@lists.debian.org (Moderated)
#   linux.samba        samba@lists.samba.org (Moderated)
#   linux.samba.announce    samba-announce@lists.samba.org (Moderated)
#   rec.radio.broadcasting    Discussion of global domestic broadcast
radio. (Moderated)

Mon Apr 27 10:36:57 CDT 2009
news@optima7:/var/lib/news$


It took 01:15:28 to finish! Perhaps due to swap spooling, since this is
a production server and has only 128 MB of RAM.


top - 08:42:06 up 46 days, 11:58,  5 users,  load average: 1.06, 1.08, 1.02
Tasks:  85 total,   3 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s):  41.0% user,  54.4% system,   0.0% nice,   4.6% idle
Mem:    127444k total,   124232k used,     3212k free,    23048k buffers
Swap:   200772k total,    16288k used,   184484k free,    37336k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
COMMAND                   
30955 news      12   0  6652 6648 1032 S  3.6  5.2   2:03.83
docheckgroups             
28845 news      19   0   548  544  432 R  3.3  0.4   0:00.10
grep                      
29736 john      15   0  1072 1072  844 R  2.3  0.8   1:12.64 top


Any thoughts about those lines I provided in the earlier message, which
had only closing parentheses (most were "smileys")? Perhaps they are a
genuine problem?


-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <gt4mr1$qmh$1@optima7.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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
References: <gt3blo$khr$1@optima7.xanadu-bbs.net> <gt3ir3$aqe$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gt4mr1$qmh$1@optima7.xanadu-bbs.net>
Subject: Re: ISC Newsgroups - Unmatched )
Date: Mon, 27 Apr 2009 11:34:41 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gt3blo$khr$1@optima7.xanadu-bbs.net> <gt3ir3$aqe$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 151
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: optima7.xanadu-bbs.net 1240850081 27345 192.168.89.210 (27 Apr 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 27 Apr 2009 16:34:41 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
In-Reply-To: <gt3ir3$aqe$1@news.trigofacile.com>