🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30531

problems with 'innwatch.ctl', 'send-uucp', and some libinn functions in inn-2.1 (fwd)

#30531
From: 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'


Technical Details
Message-ID: <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-comp.sys.sun.apps.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Pine.GSO.4.00.9808171736390.5605-100000@lios.apana.org.au>
Subject: problems with 'innwatch.ctl', 'send-uucp', and some libinn functions in inn-2.1 (fwd)
Date: Mon, 17 Aug 1998 00:00:00 +0000
From: Craig Dewick <cdewick@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-mail
X-Deja-AN: 381889680
To: netstat@jedi
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: postmaster@jedi.apana.org.au
X-Trace: jedi.apana.org.au 903339953 22850 203.14.152.52 (17 Aug 1998 07:45:53 GMT)
Organization: Core Matrix Foundation, t/a the Jedi News Exchange
Mime-Version: 1.0
NNTP-Posting-Date: 17 Aug 1998 07:45:53 GMT
Newsgroups: jedi.general,news.software.nntp,comp.sys.sun.apps