🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Ted Welch Tue, 13 Dec 2005 22:45
Trouble connecting to news from hosts other than localhost
#72828
Author: Ted Welch
Date: Tue, 13 Dec 2005 22:45
26 lines
2372 bytes
I am building a new INN server using the INN that comes with RHEL 4.  I 
am having a problem connecting from external news readers.  The failure 
message is "A News (NNTP) error occurred: do_ypcall: clnt_call: RPC: 
Timed out"

I can connect via telnet to port 119 and issue commands to post 
messages, list newsgroups, etc but I get this message as soon as I try 
to enter reader mode.  From that I thought it might be an issue with 
nnrpd_auth.pl since it occurs when it is handed off to nnrpd, but I 
don't have that turned on in inn.conf, so it shouldn't be.  I haven't 
found any documentation to explain what that module is really doing or 
how to create the users.cdb it is referencing.  From the old version of 
INN that I am using as a reference, it doesn't seem to have been done 
this way.  I thought I would just be able to use nnrp.access, but I 
guess that can't be done anymore.

I have been through readers.conf over and over and can't see anything 
wrong with what I have there.  I am just using the basic setup for the 
localhost which works and I have tried the basic local domain and local 
network auth/access pairs without success.  Does anyone know what is 
happening here or what direction I should look in?


--
Ted Welch
Re: Trouble connecting to news from hosts other than localhost
#72829
Author: Russ Allbery
Date: Wed, 14 Dec 2005 00:34
22 lines
1960 bytes
Ted Welch <ted@cse.ohio-state.edu> writes:

> I am building a new INN server using the INN that comes with RHEL 4.  I
> am having a problem connecting from external news readers.  The failure
> message is "A News (NNTP) error occurred: do_ypcall: clnt_call: RPC:
> Timed out"

That's not an INN error message.  It sounds like a NIS error message,
which makes me suspect either your NIS configuration on that system or
problems with PAM modules if you're using ckpasswd.

> I thought I would just be able to use nnrp.access, but I guess that
> can't be done anymore.

readers.conf is the replacement for nnrp.access.  You don't need to use
the Perl authentication hoks.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Trouble connecting to news from hosts other than localhost
#72830
Author: Jeffrey M. Vinocur
Date: Wed, 14 Dec 2005 00:50
18 lines
1707 bytes
In article <dnniuo$nue$1@news.cis.ohio-state.edu>,
Ted Welch  <ted@cse.ohio-state.edu> wrote:
>
>From the old version of INN that I am using as a reference, it
>doesn't seem to have been done this way.  I thought I would just
>be able to use nnrp.access, but I guess that can't be done anymore.

I agree with everything Russ says; nnrp.access has been replaced
by readers.conf, and you should try to use that (as you are doing).

Just in case you have a large complex nnrp.access that you're
trying to port over, I do have a script somewhere that does a
rough job of translating to readers.conf format.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Trouble connecting to news from hosts other than localhost
#72834
Author: Ted Welch
Date: Wed, 14 Dec 2005 20:31
18 lines
1803 bytes
I appreciate both replies and for pointing me in the right direction.  I 
  switched the order of dns and nis in nsswitch.conf and the NIS errors 
went away.  Then I could deal with the real errors in my readers.conf. 
Thanks.

Ted

Jeffrey M. Vinocur wrote:

> 
> I agree with everything Russ says; nnrp.access has been replaced
> by readers.conf, and you should try to use that (as you are doing).
> 
> Just in case you have a large complex nnrp.access that you're
> trying to port over, I do have a script somewhere that does a
> rough job of translating to readers.conf format.
> 
> 
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