Re: ntpdate: Can't find host 0.debian.pool.ntp.org
Kumar Appaiah a.kumar at alumni.iitm.ac.in writes: [snip] Apr 17 17:36:22 test ntpdate[709]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: no servers can be used, exiting Apr 17 17:36:45 test ntpdate[1148]: adjust time server 64.113.32.5 offset 0.017320 sec Apr 17 17:37:01 test ntpdate[1362]: adjust time server 64.113.32.5 offset 0.012608 sec Is this normal? It appears that your machine's NTP requests are blocked. Is the machine connected to the internet, and is there a NAT/firewall that may block some protocols? Kumar Thanks for the reply. Yes, the machine is connected to the internet. NAT/firewall might be an issue but it still seems like it is able to connect to NTP server 64.113.32.5, not sure where it is getting that info though. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/loom.20140418t184823-...@post.gmane.org
Re: ntpdate: Can't find host 0.debian.pool.ntp.org
staticsafe me at staticsafe.ca writes: On 4/17/2014 20:43, Amit wrote: Name or service not known (-2) Sounds like you have/had DNS issues. Perhaps the resolver(s) in /etc/resolv.conf were unresponsive? Thanks. I think I may have found the issue. ntpdate is being called twice. First, it is called by if-up.d hook. At this point, the network interface is up but no ip address. Second, it is called from dhclient-exit-hooks.d/. By this time, it has already acquired an ip address. I guess I should remove the hook from if-up.d. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/loom.20140418t185045-...@post.gmane.org
ntpdate: Can't find host 0.debian.pool.ntp.org
Hello, Have a minimal debian system and installed ntpdate. Time seems to be set correctly but getting these messages: $ journalctl -b | grep ntp Apr 17 17:36:22 test ntpdate[709]: Can't find host 0.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 1.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 3.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: no servers can be used, exiting Apr 17 17:36:45 test ntpdate[1148]: adjust time server 64.113.32.5 offset 0.017320 sec Apr 17 17:37:01 test ntpdate[1362]: adjust time server 64.113.32.5 offset 0.012608 sec Is this normal? Thanks, Amit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/loom.20140418t024149-...@post.gmane.org
Re: ntpdate: Can't find host 0.debian.pool.ntp.org
On Fri, Apr 18, 2014 at 12:43:28AM +, Amit wrote: Have a minimal debian system and installed ntpdate. Time seems to be set correctly but getting these messages: $ journalctl -b | grep ntp Apr 17 17:36:22 test ntpdate[709]: Can't find host 0.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 1.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: Can't find host 3.debian.pool.ntp.org: Name or service not known (-2) Apr 17 17:36:22 test ntpdate[709]: no servers can be used, exiting Apr 17 17:36:45 test ntpdate[1148]: adjust time server 64.113.32.5 offset 0.017320 sec Apr 17 17:37:01 test ntpdate[1362]: adjust time server 64.113.32.5 offset 0.012608 sec Is this normal? It appears that your machine's NTP requests are blocked. Is the machine connected to the internet, and is there a NAT/firewall that may block some protocols? Kumar -- Not only Guinness - Linux is good for you, too. -- Banzai on IRC -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140418004716.GB3350@odessa
Re: ntpdate: Can't find host 0.debian.pool.ntp.org
On 4/17/2014 20:43, Amit wrote: Name or service not known (-2) Sounds like you have/had DNS issues. Perhaps the resolver(s) in /etc/resolv.conf were unresponsive? -- staticsafe https://asininetech.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53507d2f.3000...@staticsafe.ca