Unable to sync time using `ntpdate`, error: "no server suitable for synchronization found"
my ntp (/etc/ntp.conf) says
server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org
change yours to this and do it as root (sudo -i
)
service ntp stop
do the changes:
service ntp start
test it
date
UPDATE: last night I have to configure a machine and found this that could be helpful
~# dpkg-reconfigure tzdata
You can set your time zone and exit (as root: sudo -i
)
:~# dpkg-reconfigure tzdata
Current default time zone: 'America/Montevideo'
Local time is now: Tue Mar 6 13:18:00 UYST 2012.
Universal Time is now: Tue Mar 6 15:18:00 UTC 2012.
:~#