🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26228

Re: inn-1.7.2.insync-1.1d, AIX 4.2.1, and scanlogs.

#26228
From: Christopher D Dukes
Date: Sat, 14 Feb 1998 00:00
46 lines
2985 bytes
In article <wkoh0a1bwx.fsf@ibm.net>, Timothy Miller  <tmill06@ibm.net> wrote:
>
>	I'm having an interesting problem here.  INN is a new compilation
>with CSet++ 3.1.3 (the 3.1.4 CD grew legs) on a new installation of 4.2.1
>patched through the December 1997 mega-APAR.
>
>	The scanlogs script is hanging on the following block:
>	
>    ${EGREP} '437 Unwanted newsgroup' ${PROBS} > ${T}
>    if [ -s ${T} ] ; then
>       echo Top ${TOP} unwanted newsgroups:
>       ${SED} 's/.*"\(.*\)".*/\1/' ${T} \
>           | sort | uniq -c | sort -nr | ${SED} ${TOP}q
>       echo ''
>    fi

I think it is something in the latest batch of PTFs, I get the same behavior
under AIX 4.1.5 with mega PTFs.  I have heard reports of similar
behavior with head in the shutdown scripts for SPs under AIX 4.2.1.
The script also hangs with gsort at the same place.
The script from INN 1.6b3 hangs just as well as the script from
INN 1.7.2.innsyc-d (Well I screwed up that version number).

To make things worst.  If you run scanlogs by itsself, it doesn't hang
and if run from news.daily, it doesn't seem to hang if run interactive.

For now I have a cronjob that looks for a 'sort -nr' that belongs to
scanlog run an hour after the daily news.daily runs.  If that sort is
there, it gets HUPed.
>	I'm x-posting to comp.unix.aix since if it's a problem with sort,
>it's OS related; and to news.software.nntp in case anyone else has seen
>this with INN.  I'd take this to AIX support now, but I'd like a little
>more specific info first, else I'm likely to get stonewalled.  Of course,
>it could be a shell bug too...  *sigh*

My money is on a shell bug.  Monday night I'll try sending the script
through bash instead.
-- 
The following must be destroyed.  Microsoft, Lyons Partnership.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.
"Securing a Windows NT system -- Wire Cutters or Thermite?"

Technical Details
Message-ID: <6c4boc$r8n$1@uni00nw.unity.ncsu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <wkoh0a1bwx.fsf@ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <6c4boc$r8n$1@uni00nw.unity.ncsu.edu>
Subject: Re: inn-1.7.2.insync-1.1d, AIX 4.2.1, and scanlogs.
Date: Sat, 14 Feb 1998 00:00:00 +0000
From: cddukes@cc04du.unity.ncsu.edu (Christopher D Dukes)
References: <wkoh0a1bwx.fsf@ibm.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 325046435
X-UCE-Policy-00: Unsolicited Commercial E-mail sent to this account will
X-UCE-Policy-01: be billed a $1000 editing fee. The sending of UCE to
X-UCE-Policy-02: this account will be considered acceptance of these
X-UCE-Policy-03: terms.
Organization: North Carolina State University
X-Html-LART: <html><blink><h3>12:00</h3></blink></html>
Newsgroups: news.software.nntp,comp.unix.aix