On 18/01/2012 17:22, 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
do not know how to fix it - any ideas ??
thanks
oh, and the answer your question:
myhost:~# *ntpdate*
18 Jan 17:35:01 ntpdate[1400]: no servers can be used, exiting
myhost:~# *ntpdate 0.us.pool.ntp.org*
18 Jan 17:35:14 ntpdate[1401]: the NTP socket is in use, exiting
the ntpdate is required an argument.
ntpdate <server>
see in man ntpdate