Re: No address associated with hostname
Cecil Westerhof <[email protected]> Wed, 24 May 2017 00:01:32 +0200
| Newsgroups | gmane.network.leafnode |
|---|---|
| Message-ID | <CAG-LmmC6hcAEF-z3fY4pAsju0SgLd0GtWE2OY6kuB_V3xbDdgA@mail.gmail.com> |
2017-05-23 23:20 GMT+02:00 Matthias Andree <[email protected]>: > Am 23.05.2017 um 21:20 schrieb Cecil Westerhof: > > 2017-05-22 20:47 GMT+02:00 Cecil Westerhof <[email protected]>: > > > >> 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? > >> > > Also is there a way to display the value of hostname? > > > I appears in verbose logging (syslog, through DEBUG severity) if you run > one of the nontrivial leafnode programs with the environment variable > LN_DEBUG_QUALIFICATION set and not empty. texpire or fetchnews should > work for that. > > Be sure to set up your syslog to capture debug logging, most default > syslog configurations discard debug severity. > When I try that I get to see: May 23 23:51:14 munus.decebal.nl fetchnews[25709]: canonical hostname: munus.decebal.nl May 23 23:51:14 munus.decebal.nl fetchnews[25709]: warning: news: cannot resolve host name: No address associated with hostname May 23 23:51:14 munus.decebal.nl fetchnews[25709]: WARNING: some servers have not been queried! May 23 23:51:14 munus.decebal.nl fetchnews[25709]: wrote active file with 29971 lines May 23 23:51:14 munus.decebal.nl fetchnews[25709]: child has process ID 25710 But munus.decebal.nl has an address: ping -c 4 munus.decebal.nl PING munus.decebal.nl (127.0.1.1) 56(84) bytes of data. 64 bytes from munus.decebal.nl (127.0.1.1): icmp_seq=1 ttl=64 time=0.032 ms 64 bytes from munus.decebal.nl (127.0.1.1): icmp_seq=2 ttl=64 time=0.050 ms 64 bytes from munus.decebal.nl (127.0.1.1): icmp_seq=3 ttl=64 time=0.048 ms 64 bytes from munus.decebal.nl (127.0.1.1): icmp_seq=4 ttl=64 time=0.036 ms --- munus.decebal.nl ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3075ms rtt min/avg/max/mdev = 0.032/0.041/0.050/0.010 ms -- Cecil Westerhof -- _______________________________________________ leafnode-list mailing list [email protected] https://krusty.dt.e-technik.tu-dortmund.de/mailman/listinfo/leafnode-list http://leafnode.sourceforge.net/