Article View: news.software.nntp
Article #30463a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
From: Craig Dewick
Date: Thu, 13 Aug 1998 00:00
Date: Thu, 13 Aug 1998 00:00
47 lines
2967 bytes
2967 bytes
Hello,
I've recently installed Inn-2.1 on my news server (running SunOS 5.6) to
replace Inn-1.7.2, and it works fine apart from one area, which is that the
'send-uucp' script keeps failing each time it is run (from cron).
I 'diff'd the scripts from each version and found that Inn-2.1 ships
with an *older* (version 1.10) script than Inn-1.7.2 does (version 1.13).
The version of the script distributed with Inn-2.1 is continually failing,
with this message logged to 'send-uucp.log' each time it's invoked by cron:
time: command terminated abnormally.
I'm going to replace the 'send-uucp' script with the one from Inn-1.7.2 and
see what happens.
Another problem with Inn-2.1 is the configuration of the 'innwatch.ctl'
file. By default under SunOS 5.x (Solaris 2.x) the config process selects
'/usr/bin/df' instead of '/usr/ucb/df'. This causes serious problems because
the two df's are very different.
I decided against modifying the config script to use '/usr/ucb/df' instead
of '/usr/bin/df', so I deleted '/usr/bin/df' and made it a symlink to
'/usr/ucb/df'. Once this was fixed up, I found yet another another problem
with 'innwatch.ctl'.
This is that the line used to check free inodes in the news spool specifies
the wrong argument number. It defaults to 7, but '/usr/ucb/df -i' under
SunOS 5.x only outputs 5 columns of data. Argument 3 is the correct one to
use, and the *real* '/usr/bin/df' doesn't support the '-i' options at all!
BTW, doing a 'make install' from 'inn-2.1/site' modifies 'innwatch.ctl' to
use argument 7 for spool inode checking regardless of what I do to the
default 'innwatch.ctl' script in 'inn-2.1/samples'. So I have to manually
alter the script in '/news/etc' once it was installed.
Regards,
Craig.
--
Craig Dewick. Send email to 'cdewick@lios.apana.org.au'
Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
access my archive of Sun information and links to other places. For info
about Sun Ripened Kernels, go to 'http://www.zeta.org.au/~craig/srk'
Technical Details
Message-ID:
<6quamr$1js$1@lios.apana.org.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <6quamr$1js$1@lios.apana.org.au> Subject: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl) Date: Thu, 13 Aug 1998 00:00:00 +0000 From: cdewick@lios.apana.org.au (Craig Dewick) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mail X-Deja-AN: 380694665 X-Complaints-To: postmaster@jedi.apana.org.au X-Trace: jedi.apana.org.au 902999581 29971 203.14.152.52 (13 Aug 1998 09:13:01 GMT) Organization: Lios - Children of the Light - May the Schwartz be With You Keywords: Solaris 2.x, SunOS 5.x, Inn-2.1 NNTP-Posting-Date: 13 Aug 1998 09:13:01 GMT Newsgroups: news.software.nntp,comp.sys.sun.apps,comp.unix.solaris