🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Craig Dewick Thu, 13 Aug 1998 00:00
a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30463
Author: Craig Dewick
Date: Thu, 13 Aug 1998 00:00
47 lines
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'

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30466
Author: Miquel van Smoorenburg
Date: Thu, 13 Aug 1998 00:00
30 lines
1981 bytes
In article <6quamr$1js$1@lios.apana.org.au>,
Craig Dewick <cdewick@lios.apana.org.au> wrote:
>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).

No, maybe something went wrong with the version number, but the 2.1
version is newer. I merged all send-xxxx scripts so that they behave
the same and could be described by 1 common manual page.

>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.

Very strange. The loop in which "time batcher ..." is called is the same
as in the send-uucp script from 1.7.2. Are you sure your "pathbin" is
set correctly in inn.conf and all permissions are right?

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.     <*>

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30470
Author: Brian Edmonds
Date: Thu, 13 Aug 1998 00:00
18 lines
2301 bytes
Craig Dewick <cdewick@lios.apana.org.au> writes:
> 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).

In 2.0 the batcher segfaulted all the time, and with the small number of 
sites that use UUCP feeds it may not have been fixed for 2.1.  The 2.0
server I run that does a couple UUCP feeds uses a INN 1.7 batcher, which 
seems to be just fine.  If you've still got the batcher from 1.7.2 give
it a try.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30474
Author: hume.spamfilter
Date: Thu, 13 Aug 1998 00:00
24 lines
1644 bytes
In comp.unix.solaris Craig Dewick <cdewick@lios.apana.org.au> wrote:
: 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

Gah.  Its easier to go blowing away system binaries than edit a script?

: 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!

No, but it produces the output the script is looking for.

/usr/bin/df -e

And then you tell it to look at the second column.  And you don't need to
wreck your system to do it.

I haven't touched INN since 1.6, but I'm pretty sure all this was kept in
a very configurable script that all the other scripts sourced at startup.

-- 
Brandon Hume    - hume -> bofh.halifax.ns.ca, http://www.bofh.halifax.ns.ca/
		- Finger for Geek codes, PGP, /dev/zero, yadda yadda.

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30584
Author: Katsuhiro Kondou
Date: Tue, 18 Aug 1998 00:00
10 lines
1260 bytes
In article <Pine.GSO.4.00.9808181728060.6896-100000@lios.apana.org.au>,
	Craig Dewick <cdewick@lios.apana.org.au> wrote;

} Does anyone have a fix for the batcher? 

This was fixed already.  Try the latest snapshot.
-- 
Katsuhiro Kondou

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30585
Author: Brian Edmonds
Date: Tue, 18 Aug 1998 00:00
20 lines
2346 bytes
Craig Dewick <cdewick@lios.apana.org.au> writes:
>> If you've still got the batcher from 1.7.2 give it a try.
> Thanks for the suggestion Brian, but will that actually work reliably?

I've been using a 1.7 batcher with 2.0 for over a month to feed news to
a couple systems with no problem.

> Does anyone have a fix for the batcher? 

The INN developers are aware of the problem.  Presumably it's not as
high a priority as other ongoing performance problems in 2.x.  I don't
have the time to track it down, but if someone else does patches are
most certainly welcome.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: a couple of problems with Inn-2.1 (send-uucp, and innwatch.ctl)
#30595
Author: Craig Dewick
Date: Tue, 18 Aug 1998 00:00
39 lines
2427 bytes
On 13 Aug 1998, Brian Edmonds wrote:

[ posted and mailed ]

> Craig Dewick <cdewick@lios.apana.org.au> writes:
> > 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).
> 
> In 2.0 the batcher segfaulted all the time, and with the small number of 
> sites that use UUCP feeds it may not have been fixed for 2.1.  The 2.0
> server I run that does a couple UUCP feeds uses a INN 1.7 batcher, which 
> seems to be just fine.  If you've still got the batcher from 1.7.2 give
> it a try.

Thanks for the suggestion Brian, but will that actually work reliably? I
didn't realise the batcher itself was the problem (even though you said so
very clearly!) until earlier today when I made up a test script to fire it
off as though it's part of the real 'send-uucp' script. 8-)

Does anyone have a fix for the batcher? 

Maybe I can just copy the source for the batcher from the inn-1.7.2 source
tree into the 2.1 source tree and recompile it...

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'


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads