🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by T. Terry Sat, 05 Apr 2003 01:20
? cant getpeername Invalid argument
#64759
Author: T. Terry
Date: Sat, 05 Apr 2003 01:20
29 lines
1679 bytes
Hi all

Here's hoping someone out there has already run into this!  ;)

I have installed INN 2.2.3.

When I start it (as root running inndstart), innd starts up
successfully, and accepts telnet to port 119, but nnrpd fails with the
following message:

Apr  4 16:57:54 news01 nnrpd[4357]: Reading config from
/usr/local/news/etc/inn.conf
Apr  4 16:57:54 news01 nnrpd[4357]: ? cant getpeername Invalid
argument

Some highlights from inn.conf
inn.conf:server:                news01-new.domain.net
inn.conf:pathhost:              news01-new.domain.net
inn.conf:moderatormailer:       support@domain.com
inn.conf:domain:                        domain.net
inn.conf:fromhost:              domain.net
inn.conf:complaints:            support@domain.com


I am entirely mystified.  Any advice would be appreciated.

Regards,
T. Terry
Re: ? cant getpeername Invalid argument
#64758
Author: Jeffrey M. Vinocur
Date: Sat, 05 Apr 2003 02:02
30 lines
2013 bytes
In article <db2bf944.0304041720.4cdaf1af@posting.google.com>,
T. Terry <terry_tn@yahoo.com> wrote:
>
>I have installed INN 2.2.3.

FYI, this is not the most recent major release, and many of us
will be a bit rusty on helping with it.


>Apr  4 16:57:54 news01 nnrpd[4357]: Reading config from
>/usr/local/news/etc/inn.conf
>Apr  4 16:57:54 news01 nnrpd[4357]: ? cant getpeername Invalid
>argument

Ah, that has nothing to do with the hostnames in inn.conf; those
messages just follow sequentially because they're both part of
the nnrpd startup process.  The error you see is a failure of the
getpeerbyname system call, trying to determine the source of the
incoming connection.  (Is there anything odd about your network?)

I'm not sure what to make of that particular error, though.  The
only thing I find documented that would have getpeername return
EINVAL is "The socket has been shut down" -- and I don't see how
a simple telnet to port 119 would have that effect.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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