[Bug 548885] [NEW] ntp host name not found error

2010-03-26 Thread Barry Fishman
Public bug reported:

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+dfsg-1ubuntu1
  Candidate: 1:4.2.4p8+dfsg-1ubuntu1
  Version table:
 *** 1:4.2.4p8+dfsg-1ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

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)
NonfreeKernelModules: nvidia
NtpStatus:
 remote   refid  st t when poll reach   delay   offset  jitter
 ==
 *ntp.ubuntu.com  193.79.237.142 u   54   64  377  112.184  -71.271  36.530
 +0.pool.ntp.org  128.4.1.12 u9   64  377   52.150  -63.289  26.678
 +1.pool.ntp.org  128.32.206.553 u   42   64  377   89.701  -69.962  30.392
Package: ntp 1:4.2.4p8+dfsg-1ubuntu1
ProcAttrCurrent: /usr/sbin/ntpd (enforce)
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: ntp
Uname: Linux 2.6.32-17-generic x86_64
mtime.conffile..etc.ntp.conf: 2010-03-24T17:10:08

** Affects: ntp (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug lucid

-- 
ntp host name not found error
https://bugs.launchpad.net/bugs/548885
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 548885] [NEW] ntp host name not found error

2010-03-26 Thread Barry Fishman
Barry Fishman barry_fish...@acm.org writes:
 NtpStatus:
  remote   refid  st t when poll reach   delay   offset  jitter
  
 ==
  *ntp.ubuntu.com  193.79.237.142 u   54   64  377  112.184  -71.271  
 36.530
  +0.pool.ntp.org  128.4.1.12 u9   64  377   52.150  -63.289  
 26.678
  +1.pool.ntp.org  128.32.206.553 u   42   64  377   89.701  -69.962  
 30.392

Note that these are the servers I put in my /etc/hosts file.  The
other servers 2.pool.ntp.org and pool.ntp.org (not in the host file) are
still not found.

-- 
Barry Fishman

-- 
ntp host name not found error
https://bugs.launchpad.net/bugs/548885
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs