🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Craig Dewick Mon, 17 Aug 1998 00:00
problems with 'innwatch.ctl', 'send-uucp', and some libinn functions in inn-2.1 (fwd)
#30531
Author: Craig Dewick
Date: Mon, 17 Aug 1998 00:00
121 lines
5608 bytes
Hi folks,

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.

Regards,

Craig.

---------- Forwarded message ----------
Date: Fri, 14 Aug 1998 17:35:36 +1000 (EST)
From: Craig Dewick <cdewick@lios.apana.org.au>
To: inn-bugs@isc.org
Cc: netstat@jedi,
    Craig's Mail Archiver <mailout@lios.apana.org.au>
Subject: problems with innwatch.ctl and send-uucp, and some libinn functions


Hello,

I installed inn-2.1 recently onto my news server (a Sparcstation running
SunOS 5.6), and I've sorted out all the niggly problems relating to the
move from 1.7.2 to 2.1 except for three.

*** 1 - First off the rank is the default configuration of 'innwatch.ctl'.
By default it is using '/usr/bin/df' instead of '/usr/ucb/df', which is a
big nasty since the two df's are very different. Also, '/usr/bin/df' does
not support the '-i' option, so inode checking with it cannot work.

I got rid of the real '/usr/bin/df' and made it a symlink to
'/usr/ucb/df', which fixes the problem with checking spool space, but then
the spool inode check is wrong because it's using argument 7 of the 'df
-i' output, and there are only 5 fields. Field 3 is the correct one. I
fixed 'innwatch.ctl' manually and it now works ok. 

Every time I do a 'make install' in inn-2.1/site I have to re-edit the
file however since it puts back the version with argument 7 installed for
the inode check.

*** 2 - The second problem is a little more major, and is that the
'send-uucp' script fails every time it is run with the following error
messages logged to 'send-uucp.log':

send-uucp: [29048] begin Fri Aug 14 17:21:48 EST 1998
send-uucp: [29048] begin bellman
time: command terminated abnormally.

real        0.6
user        0.1
sys         0.1
send-uucp: [29048] end bellman
send-uucp: [29048] end Fri Aug 14 17:21:50 EST 1998

Something is obviously wrong. I tried to installed the 'send-uucp' script
from version 1.7.2, and it gives exactly the same problem now.

Is this a known bug? I know less and less servers feed sites via UUCP, but
I support about 10 UUCP sites, and they have had no news for a week. Any
ideas what can be done to solve this problem?

**** 3 - Finally, I'm trying to build version 3.9.4 of Bob Yetman's 'suck'
with the Inn dbz history file checking code enabled, and it fails with the
following errors:

gcc -s  -L/news/lib -o suck both.o both_phrases.o suck.o suckutils.o
killfile.o timer.o killprg.o dedupe.o suck_phrases.o active.o batch.o
chkhistory_db.o       -lsocket -lnsl   -linn         
Undefined                       first referenced
 symbol                             in file
QIOclose                            /news/lib/libinn.so
QIOopen                             /news/lib/libinn.so
QIOread                             /news/lib/libinn.so
ld: fatal: Symbol referencing errors. No output written to suck
make: *** [suck] Error 1

Are these functions supposed to be part of libinn? There were no error
messages reported when libinn was being built, and I've been told that the
QIOx functions are supposed to be part of libinn.

I'd appreciate some pointers with solving these last two problems. They're
the only hassles I'm having with inn 2.1, since it's otherwise working as
expected once I worked the new config file structure.

Regards,

Craig.

---- end ----

Any assistance with the 'send-uucp' script problem would be gratefully
accepted.

Remember that the third problem has been resolved. The solution was that
the QIOx functions have been moved from libinn to libstorage, so I needed
to include libstorage as an additional library for 'ld' to use.

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: problem with 'send-uucp' in inn-2.1 running under SunOS 5.6 (fwd)
#30578
Author: 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'

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