[CentOS] NTP

Will McDonald wmcdonald at gmail.com
Wed May 24 15:42:54 UTC 2006


On 24/05/06, Sam Drinkard <sam at wa4phy.net> wrote:
>    Have there been any changes to the way ntpd behaves in the past few
> updates?  Reason I ask, whenever I run the ntpq or ntpdc, I immediately
> get a response of Name or service not known.  I know things used to work
> sometime back, and never saw this kind of stuff.  Nothing has changed in
> the /etc/ntp.conf file, nor has anything changed in the
> /etc/ntp/ntpservers files.

According to the changelog of the NTP package nothing's changed since '04!

 $ rpm -q --changelog ntp | less

"Name or service not known" sounds more like a resolution issue to me.
Do you by any chance have caching-nameserver installed and had
modified /etc/named.conf ? If so a caching-nameserver update may've
overwritten your previous modifcations and potentially have broken
DNS.

Are you using N.pool.ntp.org in /etc/ntp.conf? Can you resolve those hostnames?

 $ awk '/ntp.org/ { print $NF }' /etc/ntp.conf | xargs -n1 dig +noall +answer

Will.



More information about the CentOS mailing list