you don't have to open port on your router because if you reach internet
(without firewall on your system) every ntp packet to get to the right
place.
now should run
stop ntpd
ntpdate <something server>
and check
ntpq -p
and
start ntpd again.
Now, it has to work.
On 18/01/2012 21:27, Joey L wrote:
i am just trying to keep my own time and get the real time from
internet servers, here is the output:
root@rider:~# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
server1.shellva .INIT. 16 u - 1024 0 0.000 0.000 0.000
mail.honeycomb. .INIT. 16 u - 1024 0 0.000 0.000 0.000
thor.netservice .INIT. 16 u - 1024 0 0.000 0.000 0.000
ntp.sunflower.c .INIT. 16 u - 1024 0 0.000 0.000 0.000
ntp2.Rescomp.Be .INIT. 16 u - 1024 0 0.000 0.000 0.000
voxl-nyc-15.ser .INIT. 16 u - 1024 0 0.000 0.000 0.000
xen1.rack911.co .INIT. 16 u - 1024 0 0.000 0.000 0.000
ntp1.Housing.Be .INIT. 16 u - 1024 0 0.000 0.000 0.000
I do need that port 123 open on the router ?
thanks
On Wed, Jan 18, 2012 at 1:38 PM, Rob Owens<row...@ptd.net> wrote:
On Wed, Jan 18, 2012 at 12:22:57PM -0500, 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 should not / cannot be used while ntpd is running. Make sure
that ntpd is running and then run:
ntpq -p
That'll show you what ntp servers you are communicating with.
You do not need to open any inbound ports on your firewall in order for
ntpd to run. Also, the default debian ntp.conf file works if you are
just trying to keep your own time accurate, and not trying to act as an
ntp server for other machines.
-Rob
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120118183857.gb1...@aurora.owens.net
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f173dc1.70...@gmail.com