🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16652

At wits end with INN 1.5.1, ctlinnd and makehistory (fwd)

#16652
From: Stuart M. Castergine
Date: Thu, 03 Apr 1997 00:00
56 lines
2998 bytes

I've been trying to get INN 1.5.1 working for days with no success on a
Pacnet webcube (redhat linux).

I started by trying to do the rpm's (redhat's software install program) 
and got errors that INN couldn't mmap the active file. I asked around and
found out that most versions of linux want you to compile inn without
mmap. The rpm's I tried came directly from redhat and pacnet, so I assume
(am I right?) that more recent versions of redhat linux support mmap. But,
obviously(?), the version running on this system doesn't. Anybody know how
to check what version? I'm not a redhat expert. Or a linux expert, for
that matter.

So, I got the source for INN 1.5.1 and began to build a version from
source without mmap, using the sample linux config that came with the
distribution. Everything seemed to compile OK, no errors (except that
there isn't any lint on this damn system), and innd will run and perform
basic functions, but there are serious problems.

1. at first innd wouldn't start up, complaining that /var/news/etc/history
didn't exist, but it *did* exist. I ran the build script, which rebuilt
the history database with a -i and then innd would start up.

2. makehistory won't rebuild the database if there are any articles in the
spool! (spool was empty when I rebuilt database in step 1) It says "Can't
do dbzfresh, No such file or directory" I searched through the
makehistory.c code and found where it was making the dbzfresh call and
returning that error, I added a line to print out the file it was trying
to open there and the file it was trying to access,
/var/news/etc/history, did* exist and *was* accessible (correct
permissions, etc.).

3. ctlinnd won't work. Every atempt to execute it gives 

	Can't send "reload" command (sendto failure) Operation not
        supported on transport endpoint.

I checked to make sure the socket files were all there (in /var/news/run/

and they are, here is a listing:

srwxrwxr-x   1 news     news            0 Apr  3 19:44 control=
-rw-rw-r--   1 news     news            5 Apr  3 19:44 innd.pid
srwxrwxr-x   1 news     news            0 Apr  3 19:44 nntpin=

I'm about to tear my hair out here. I've gone over and over config.data to
make sure my paths are all consistent and I can't figure out what is going
on. 

Thanks in advance,
Stu



Technical Details
Message-ID: <Pine.SOL.3.95.970403201817.20770A-100000@cd>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.admin.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Pine.SOL.3.95.970403201817.20770A-100000@cd>
Subject: At wits end with INN 1.5.1, ctlinnd and makehistory (fwd)
Date: Thu, 03 Apr 1997 00:00:00 +0000
From: "Stuart M. Castergine" <scasterg@dispatch.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.admin.mbox.zip!not-for-mail
X-Deja-AN: 230551897
Distribution: inet
X-Sender: scasterg@cd
Organization: The Columbus Dispatch
Newsgroups: news.software.nntp,comp.os.linux.admin