🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16750

Re: Anyone seen this?

#16750
From: James Youngman
Date: Mon, 07 Apr 1997 00:00
40 lines
1982 bytes
In article <5i04th$24l$1@morse.satech.net.au>, greg@arrakis.satech.net.au 
says...
>
>Linux 2.0.29 and INN 1.5.1
>
>It's running ok, but I get this on the windown in which I run rc.news:
>
>/usr/lib/news/bin/innwatch: [: integer expression expected before -lt
>
>I can't seem to find a -lt in innwatch.ctl, plenty of lt though.
>
>It's a bash thing I bet...

No, I seem to remember that this is because the output of df(1) isn't in the 
expected format unless you get config.data right.

My Red Hat system's INN-1.5.1 has config.data set up this way:-
(this is from a patch file in the source package)

##  How inn (not just innwatch anymore) gets disk space usage
+##  (SVR4 machine would probably use /usr/ucb/df)
+#### =()<INNWATCH_DF           @<INNWATCH_DF>@>()=
+INNWATCH_DF            /bin/df
+##  Field number of INNWATCH_DF (with -i) output that gives free
+##  inodes (starting at 1).
+#### =()<INNWATCH_INODES               @<INNWATCH_INODES>@>()=
+INNWATCH_INODES                        4
+##  Field number of INNWATCH_DF output that gives the free block count.
+##### =()<INNWATCH_BLOCKS              @<INNWATCH_BLOCKS>@>()=
+INNWATCH_BLOCKS                        4


-- 
James Youngman       VG Gas Analysis Systems  The trouble with the rat-race 
Before sending advertising material, read     is, even if you win, you're 
http://www.law.cornell.edu/uscode/47/227.html         still a rat.


Technical Details
Message-ID: <5ib5t5$36l$4@halon.vggas.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.mbox.zip!not-for-mail
References: <5i04th$24l$1@morse.satech.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <5ib5t5$36l$4@halon.vggas.com>
Subject: Re: Anyone seen this?
Date: Mon, 07 Apr 1997 00:00:00 +0000
From: JYoungman@vggas.com (James Youngman)
References: <5i04th$24l$1@morse.satech.net.au>
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: 231333940
Organization: VG Gas Analysis Systems
Newsgroups: news.software.nntp