🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30354

Re: INN 2.1 /Linux/2.0.30/innwatch error

#30354
From: Grigori Vulis
Date: Sat, 08 Aug 1998 00:00
44 lines
2381 bytes
Euan Hogg <euan@ginger.workgroup> wrote:

> About every minute innwatch generates the following error to the
> consol:
> 
> [: integer expression expected before -lt
> 
> I've seached the FAQ Parts 1 thru 9 and tried looking thru the
> innwatch script to find what I've missed. No joy.

The FAQ is for older versions of INN, and much of it no longer applies
to INN 2.  I thought I posted this a couple days ago, but maybe it was
just mail...

Look in ~news/etc/innwatch.conf, about the third line from the bottom. 
You'll see that it contains a $7.  Try changing it to $4. That kills
the error message, but I haven't yet filled up enough disk space to see
if it triggers innwatch correctly.  If you're using CNFS, it really
won't matter much anyway.

> Innd seams to run fine though.

Right.  Innwatch is not really needed for innd to work.  The error is
happening in a line that checks to see if you have enough free space in
your spool area, puts inn to sleep and mails you nastygrams if it goes
too low.

If you don't think you'll need innwatch to be checking these things,
you can always prevent it from starting.  See the doinnwatch line in
~news/etc/inn.conf

> BTW Could the newfeeds file be a little more complex, there are a few
> English words still in it.

That particular bit of loveliness is far older than INN.  If you've got
an idea for writing a nice editor for it, I'm sure there are people
who'd appreciate it.

-- 
"Currently, there are so many articles being posted that the USENET is in
danger of collapse as site after site decides to cease to accept and
retransmit certain newsgroups." -- Matt Bishop, 1986

Technical Details
Message-ID: <6qi7c3$hv3$1@fluffy.meow.org>
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: <35cc4d1e.23773828@news.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <6qi7c3$hv3$1@fluffy.meow.org>
Subject: Re: INN 2.1 /Linux/2.0.30/innwatch error
Date: Sat, 08 Aug 1998 00:00:00 +0000
From: gerglery@usa.net (Grigori Vulis)
References: <35cc4d1e.23773828@news.demon.co.uk>
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: 379228777
X-Complaints-To: mom
X-Trace: fluffy.meow.org 902602947 18403 127.0.0.1 (8 Aug 1998 19:02:27 GMT)
Organization: International Brotherhood of Vulii
NNTP-Posting-Date: 8 Aug 1998 19:02:27 GMT
Newsgroups: news.software.nntp