ntp host name not found error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NTP |
Fix Released
|
Medium
|
|||
ntp (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: ntp
When ntp is started (or restarted) it produces in syslog messages of the form:
Mar 26 11:03:26 ecube ntpd_initres[7854]: host name not found: pool.ntp.org
for all of the servers I have put in the /etc/ntp.conf file.
A workaround is to use "dig" to get internet addresses for these servers and put them in
my /etc/hosts file. When ntp is then restarted, a time adjustment is finally made.
Other programs line filefox and dig seem to have no problems finding
network adresses for hostnames. I tries substituting the 'karmic' executable for /usr/sbin/ntpd but
it showed the same behavior as the llucid version.
apt-cache policy ntp
returns:
ntp:
Installed: 1:4.2.4p8+
Candidate: 1:4.2.4p8+
Version table:
*** 1:4.2.4p8+
500 http://
100 /var/lib/
lsb_release -rd
Returns:
Description: Ubuntu lucid (development branch)
Release: 10.04
ProblemType: Bug
Architecture: amd64
Date: Fri Mar 26 11:09:07 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/sbin/ntpd
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100310)
NonfreeKernelMo
NtpStatus:
remote refid st t when poll reach delay offset jitter
======
*ntp.ubuntu.com 193.79.237.14 2 u 54 64 377 112.184 -71.271 36.530
+0.pool.ntp.org 128.4.1.1 2 u 9 64 377 52.150 -63.289 26.678
+1.pool.ntp.org 128.32.206.55 3 u 42 64 377 89.701 -69.962 30.392
Package: ntp 1:4.2.4p8+
ProcAttrCurrent: /usr/sbin/ntpd (enforce)
ProcEnviron:
LC_COLLATE=C
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: ntp
Uname: Linux 2.6.32-17-generic x86_64
mtime.conffile.
Changed in ntp: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in ntp (Ubuntu): | |
status: | Triaged → Fix Released |
If DNS isn't working when ntpd starts, the lookup is deferred.
For the server command, that works correctly. For the pool command, it only
gets 1 IP address.