🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30578

Re: problem with 'send-uucp' in inn-2.1 running under SunOS 5.6 (fwd)

#30578
From: Craig Dewick
Date: Tue, 18 Aug 1998 00:00
80 lines
3967 bytes
In <Pine.GSO.4.00.9808171736390.5605-100000@lios.apana.org.au> Craig Dewick <cdewick@lios.apana.org.au> writes:

>I forwarded the following message to inn-bugs a few days ago regarding
>some issues arising out of upgrading my news server from inn-1.7.2 to
>inn-2.1, but so far no positive response has been received about the
>problem with the 'send-uucp' script, or the 'innwatch.ctl'
>auto-configuration problem.

>The problem about the libinn functions and compiling 'suck' has been
>resolved thanks to a helpful hint (the only reply back so far) in response
>to the message.

>I can work around the 'innwatch.ctl' auto-configuration problem, but the
>'send-uucp' script problem still exists and I'm currently at a loss as to
>how it can be solved. I tried the old 'send-uucp' script from inn-1.7.2,
>but it fails with exactly the same errors.

I've done a little more work on the 'send-uucp' problem by making up a dummy
shell script to fire off the UUCP batcher with hard-coded values for all of
the important variables. Here's my current test script:

---- start ----

#!/usr/bin/sh
##  $Revision: 1.10 $
##  SH script to send UUCP batches out.

UUXFLAGS="- -r -gd"

time batcher -N 10 \
        -p "(echo '#! cunbatch' ; exec compress ) | /usr/local/bin/uux ${UUXFLAGS} %s!rnews" \
        bellman bellman.uucp

---- stop ----

'bellman' is the name of one of the UUCP sites listed in Inn's 'newsfeeds'
file, and 'bellman.uucp' is the list (in '/news/spool/outgoing') of articles
that are waiting to be batched up.
 
Like I half-expected, this fails predictably with the following results:

---- start ----

time: command terminated abnormally.

real        0.5
user        0.0
sys         0.2

---- stop ----

Now given that I've tried both Inn-2.1's and Inn-1.7.2's 'send-uucp' script,
and they're giving exactly the same results, is it possible that the problem
might not be in 'send-uucp' at all, but maybe a problem with the 'batcher'
utility, since it's the utility that is being timed?

From reading the time(1) man page, it's clear that if the program being
timed terminates abnormally, 'time' will say so and exit as well. What is
not clear is what the actual problem is which is causing 'time' to appear to
fail in the first place.

Is there a way to display the return code from 'batcher' so I can see if it
is in fact exiting abnormally? 

BTW, I know 'uux' works because the UUCP software has been installed and
working for at least 2 years, and it continues to queue up mail messages
faultlessly.

Does anyone have any idea what to do from this point?

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: <6rb5lj$6m9$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-aus.computers.sun.mbox.zip!not-for-mail
References: <Pine.GSO.4.00.9808171736390.5605-100000@lios.apana.org.au>

Show Full Headers
Complete Article Headers
Message-ID: <6rb5lj$6m9$1@lios.apana.org.au>
Subject: Re: problem with 'send-uucp' in inn-2.1 running under SunOS 5.6 (fwd)
Date: Tue, 18 Aug 1998 00:00:00 +0000
From: cdewick@lios.apana.org.au (Craig Dewick)
References: <Pine.GSO.4.00.9808171736390.5605-100000@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-aus.computers.sun.mbox.zip!not-for-mail
X-Deja-AN: 382206562
X-Complaints-To: postmaster@jedi.apana.org.au
X-Trace: jedi.apana.org.au 903420404 21645 203.14.152.52 (18 Aug 1998 06:06:44 GMT)
Organization: Lios - Children of the Light - May the Schwartz be With You
NNTP-Posting-Date: 18 Aug 1998 06:06:44 GMT
Newsgroups: jedi.general,news.software.nntp,comp.sys.sun.apps,comp.unix.solaris,aus.computers.sun,alt.sys.sun