🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12593

Re: C-news expire reports non-numeric in active file

#12593
From: Duncan Gibson
Date: Fri, 22 Nov 1996 00:00
54 lines
3171 bytes
Duncan Gibson <duncan@yc.estec.esa.nl> wrote:
DG> 	/yc/news/lib/expire/upact: errors in active.tmp -- aborting
DG> 	line 169: "6.24848e+07" is non-numeric
DG> 	line 169: "0062484761" < "6.24848e+07"

In article <e16p5t.967@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> wrote:
OT> Most likely your awk is broken. (upact is based on an awk script.)
OT> Looks like one of the big numbers causes it to switch from integer to
OT> floating point format. The numbers are well below the 32-bit MAXINT so
OT> there is no real reason to do so. Possible remedy: install GNU awk.
OT> (Which operating system do you run?) Of course, floating point format
OT> is invalid for the numbers in the active file.

We have recently switched over from HPUX 9.05 to 10.01.

DG> reading the group in question (comp.mail.misc) at the moment, so I
DG> have simply removed the articles in there are modified the active
DG> file so that the high and low article numbers are back to something
DG> small.

OT> This is a reasonable thing to do (actually, I would recommend to set
OT> the highest article number in the active file to 1). But was it
OT> actually in the above floating-point format before you modified it,
OT> and did relaynews puke on it? That would be interesting.

The actual entry in the active file is not corrupted, so it was obviously
an internal problem within upact (or awk).

We actually restarted our article numbering a couple of years ago when
we switched over to a new machine (and I inadvertently zapped the high
and low numbers in the active file by running upact -b with an empty
news spool). I think that I used 'find' to remove all articles from all
of the users' .newsrc files so that they were obliged to start again.
What do the 'big' sites which have been running for a lot longer than
we have do when this sort of situation arises?

As an aside, several people have recommended that we switch over to using
INN rather than C-news, but as we are a leaf node we don't really need the
throughput. From the reports I've heard about INN expanding to use all of
the resources on the machine, this would seriously hamper the real work
that the users are supposed to do.

Cheers
Duncan


This is my article, not my employer's, with my opinions and my disclaimer!
--
Duncan Gibson, ESTEC/YCV, Postbus 299, 2200AG Noordwijk, The Netherlands
Tel: +31 71 5654013   Fax: +31 71 5656142  Email: duncan@yc.estec.esa.nl


Technical Details
Message-ID: <E17t48.61J@yc.estec.esa.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <E0r003.DDB@yc.estec.esa.nl> <e16p5t.967@bigred.inka.de>

Show Full Headers
Complete Article Headers
Message-ID: <E17t48.61J@yc.estec.esa.nl>
Subject: Re: C-news expire reports non-numeric in active file
Date: Fri, 22 Nov 1996 00:00:00 +0000
From: duncan@yc.estec.esa.nl (Duncan Gibson)
References: <E0r003.DDB@yc.estec.esa.nl> <e16p5t.967@bigred.inka.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 198014774
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: ESA/ESTEC/YC, Noordwijk, The Netherlands
Newsgroups: news.admin.technical,news.software.nntp