On 1/18/2012 11:22 AM, Joey L wrote:
I have installed ntp server on my debian box.
I am trying to sync with a public external time server.
I have found a couple on the internet - but none seem to want to sync
with me or my ntp daemon does not want to do it.
I have entered the following in my /etc/ntp.conf file:
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
I ran ntpdate and I get this error message -
18 Jan 12:43:23 ntpdate[26430]: no servers can be used, exiting
ntpdate doesn't use ntp.conf. It is a completely unrelated command.
'man ntpdate' Sample usage:
$ ntpdate -q 0.us.pool.ntp.org
To see what ntpd is doing:
$ grep ntpd /var/log/syslog