leafnode start-exit-fail

After my new PC is finally setup now, one of the last things missing was the Newsgroup setup in our email clients. My home server runs leafnode to cache and archive often needed newsgroups, giving fast access to all posts here in our network.

Setup was harder than expected, because it just would not work - no newsgroups would be listed. The syslog just contained:

Apr 27 23:35:54 dojo xinetd[6501]: START: nntp pid=22126 from=192.168.3.4
Apr 27 23:35:56 dojo xinetd[22126]: FAIL: nntp address from=192.168.3.4
Apr 27 23:35:56 dojo xinetd[6501]: EXIT: nntp status=0 pid=22126 
duration=2(sec)
Apr 27 23:38:24 dojo xinetd[6501]: START: nntp pid=22133 from=192.168.3.4
Apr 27 23:38:24 dojo xinetd[22133]: FAIL: nntp address from=192.168.3.4
Apr 27 23:38:24 dojo xinetd[6501]: EXIT: nntp status=0 pid=22133 
duration=0(sec)

The first idea I had was that either /etc/hosts.deny or /etc/hosts.allow had too restrictive settings, but after checking that I saw that this all was fine.

It was only some days later that I considered looking at /etc/xinetd.conf - leafnode has no own running server daemon but is started through xinetd - and there I saw it:

# Define access restriction defaults
#
#       no_access       =
         only_from       = localhost 192.168.3.2 192.168.3.1

Now all I had to do was adding 192.168.1.4, restart xinetd and everything was fine.

Written by Christian Weiske.

Comments? Please send an e-mail.