Article View: news.software.nntp
Article #7009INN 1.4 failing without UNIX domain sockets and network interface
From: Charles Green
Date: Sun, 28 Apr 1996 00:00
Date: Sun, 28 Apr 1996 00:00
62 lines
3238 bytes
3238 bytes
Hi,
I've been through all the FAQs, READMEs and HOWTOs I could find on this
topic, and the closest thing I could find was mention that reading news
could be a problem under this configuration - nothing about posting.
(I was also cautioned against posting this to any Linux newsgroup. :-)
In any case, I'm running Slackware Linux 3.0 and trying to use INN 1.4.
(I've tried the package which comes with Linux, as well as compiling the
latest "official" sources, and I've even tried the "unoff4" release.)
When I use "Pnews" to post an article, this invokes "inews" which connects
to "localhost" on the "nntp" port, which I can also do with "telnet
localhost nntp". Instead of speaking with "nnrpd", which provides a "post"
command, I end up speaking with "innd" itself, which doesn't. I've made
sure that "localhost" isn't in the "hosts.nntp" file, but it is in
"nnrp.access".
During one of the rebuilds, I played around with various #defines, and
discovered that the success or failure of getting to talk to "nnrpd"
revolves around the UNIX_DOMAIN #defines. Sure enough, in innd/rc.c:
#if !defined (DO_HAVE_UNIX_DOMAIN)
rp->Address.s_addr = inet_addr(LOOPBACK_HOST);
rp->Name = COPY("localhost");
Thus, if you don't "HAVE_UNIX_DOMAIN", "localhost" is, effectively, forced
to be in "hosts.nntp".
When I change the configuration value for UNIX_DOMAIN (which contradicts
what the documentation states for Linux, of course), I get thousands of
innd: ME cant recv CCreader Invalid argument
syslog messages.
I have no Ethernet card in my machine, so there's nowhere to permanently
hang a hostname which I can connect to (other than making it synonymous
with "localhost", which fails). By bringing up a PPP link, I can find
out what IP address my end has for that session; I can then 'telnet' to
that IP address and port 'nntp', and I *do* get to talk to an nnrpd -
but that's pretty impractical.
I suppose, if there were a second loopback interface at an address other
than 127.0.0.1, I could set my local hostname to that. However, I find
it hard to believe that, in all the Linux systems out there, that everyone
who doesn't have an Ethernet interface can't run INN.
So, if anyone could provide a suggestion which will keep me from punting
myself back to C news, I would be both (a) grateful and (b) happy to
summarize to the group.
Thanks,
Charles Green
--
O__ "Team Tandemonium" Charles Green
,>/-,---# '95 Burley Samba charles@nybble.clark.net
(*)\---%(*) http://www.clark.net/pub/grinch
Charles ??????? Sterling, VA USA
Technical Details
Message-ID:
<DqKwHt.Fy@nybble.clark.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <DqKwHt.Fy@nybble.clark.net> Subject: INN 1.4 failing without UNIX domain sockets and network interface Date: Sun, 28 Apr 1996 00:00:00 +0000 From: charles@nybble.clark.net (Charles Green) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 151891561 Distribution: na Organization: Loudoun County NetNews Newsgroups: news.software.nntp