[leafnode-list] Re: No address associated with hostname
Matthias Andree
matthias.andree at gmx.de
Fri May 26 20:17:40 CEST 2017
Am 26.05.2017 um 12:14 schrieb Cecil Westerhof:
> 2017-05-25 4:09 GMT+02:00 Cecil Westerhof <cldwesterhof at gmail.com>:
>
>> 2017-05-22 23:34 GMT+02:00 Matthias Andree <matthias.andree at gmx.de>:
>>
>>> Am 22.05.2017 um 20:47 schrieb Cecil Westerhof:
>>>> I migrated to another machine and now leafnode does not work anymore.
>>>>
>>>> With ‘fetchnews -vvvv’ I get (I renamed my fqdn):
>>>> leafnode 1.11.10: verbosity level is 4, debugmode is 0
>>>> try_lock(timeout=5), fqdn="demo.example.com"
>>>> news: connecting to port nntp...
>>>> warning: news: cannot resolve host name: No address associated with
>>> hostname
>>>> news: connection failed.
>>>> WARNING: some servers have not been queried!
>>>> wrote active file with 29971 lines
>>>> Started process to update overview data in the background.
>>>> Network activity has finished.
>>>>
>>>>
>>>> What is happening here and how do I solve that?
>>>>
>>> Your resolver is not getting "news" resolved (from server = news) to an
>>> address.
>>>
>> Nope, the line is:
>> server = news.eternal-september.org
>>
> I finally found the problem: there where two leafnode config files. There
> was one in /etc/leafnode and one in /etc/news/leafnode. I was editing the
> first, while I should be editing the second (but did not know it existed).
> Now everything works.
Good to read that you've solved the mystery. Can you figure out where
the various files came from?
Who packaged your leafnode version, or did you install yourself, or was
it a mix of both?
A distributor package, and then your manual install, or vice versa?
Note that the original config.example that ships with leafnode has set
"server = news.example.org" since 2004 (leafnode 1) or 2005 (leafnode 2
snapshots) already...
> And yes news was the server instead of the protocol. If they just would
> have used something like news.edit …
>
Assuming there is one and only one leafnode-version executable installed
on your computer, running it with "-v" gives you the obvious locations,
for instance:
> $ /opt/ln1/bin/leafnode-version -v
> version: leafnode-1.11.10
> current machine: Linux apollo 4.10.0-22-lowlatency #24~16.04.1-Ubuntu
> SMP PREEMPT Tue May 23 18:36:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> sysconfdir: /opt/ln1/etc
> spooldir: /opt/ln1/var/spool/news
> lockfile: /opt/ln1/var/spool/news/leaf.node/lock.file
> IPv6: yes
> HAVE_GETIFADDRS: yes
> pcre version: 8.38 2015-11-23
More information about the leafnode-list
mailing list