[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Leafnode reads active file, but no news in newsreader



* festus@xxxxxxxxx wrote on Thu, Jul 18, 2002 at 04:27:11PM CEST:
> Leafnode woes.

Don't panic.

> 2) Configured the files as the instructions from SuSE have indicated I should:
> 
> 	/etc/rconfig.conf: set nntp server to localhost (Tried the machine name 
> also)
> 	/etc/leafnode: set the server in config to my nntp upstream host

I suppose you meant /etc/leafnode/config, right?

> 	/etc/inetd.conf; made sure identd used /usr/sbin/leafnode for nntp

Did you build leafnode using './configure --exec-prefix=/usr'?  If not, the
leafnode binary will end up being /usr/local/sbin/leafnode .  If you
want the new installation to overwrite the old one, please use

        ./configure --exec-prefix=/usr

or adapt the path in /etc/inetd.conf so it points to where the leafnode
binary is.  Note: I don't know if SuSE overwrites /etc/inetd.conf on
executing SuSEconfig.  Also, I hope you use tcpd to control access to
leafnode, the line in /etc/inetd.conf should look like this:

nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode


BTW question to Matthias:  Why did that --prefix behaviour change in
such a weird way?  --prefix=/usr gives me a spooldir of
/usr/var/spool/news and so on?  Did I miss some GNU specific change?

*big snip*
> When I looked in the news.err log file  in /var/log/news (I think), 
> 	the error given was, connection 
> refused, /var/spool/news/leaf.node/group-list, no such file or directory

Two things:

- I suppose you meant /var/spool/news/leaf.node/groupinfo and not
  .../group-list.  If not, please report back!

- The connection refused error sounds like it could not find the binary
  or you have not given localhost access to leafnode in
  /etc/hosts.access.  This file should contain a line like

leafnode: 127.0.0.1

  To test if this works just try 'telnet localhost nntp'.  If you see
  something like "200 Leafnode ..." it is working, enter 'quit'.
  Otherwise report back.

Note there is quite some documentation shipped with leafnode, look at
the INSTALL file.

Hope that helps,
Ralf

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list