During a server bootstrap process, I want to explicitly run ntpdate rather than rely on the ntp daemon. However, the clock can be severely skewed at this point in time, which causes an error when executing sudo ntpdate address.of.ntp.server.
When I test any server for the ntpdate it gives has same problem:
no server suitable for synchronization found
# ntpdate -d ir.pool.ntp.org
22 May 15:06:10 ntpdate: ntpdate [email protected] Sat Nov 23 18:21:48 UTC 2013 (1)
Looking for host ir.pool.ntp.org and service ntp
host found : ns1.arianrp.ir
When I installed Statler Alpha, I didn't understand the UTC question and chose incorrectly.A dual-boot computer with Windows, should have the hardware clock should be set to local, not UTC.To set it to local time, set UTC=no in the file /etc/default/rcSTo change timezone, run sudo dpkg-reconfigure tzdataTo manually update time, install the ntpdate package and run sudo ntpdate pool.ntp.org