I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. Thus, I use the NTP service to update the time to the current time.I added the following line to $ date ; sudo service ntp stop ; sudo ntpdate -s gov ; sudo service ntp start ; date Thu Jan 1 UTC 1970 * Stopping NTP server ntpd [ OK ] * Starting NTP server [ OK ] Thu Feb 14 UTC 2013 notice the '-b' flag on ntpdate.If you are, then this is a bug in the webmin packaging (webmin-time), and it should depend, or atleast recommend ntpdate, if configuring webmin-time to use the ntp package is not an option. I installed ntpdate and made changes to the file to point to the ip address. Maybe the firewall/router on your LAN is limiting traffic?If its not an option, and this is a bug, then we will include ntpdate in future appliance releases, and thanks for reporting it. ntpq -p shows the correct ntp server, but ntpdate -d ipaddress gives me the following error: ntpdate seems to work on my side, both ntpdate org and by specifying and IP address. Can you connect to the NTP server with netcat, port 123?Please consider joining the # pool: server 0.iburst server 1.iburst server 2.iburst server 3.iburst # Access control configuration; see /usr/share/doc/ntp-doc/html/for # details. # # Note that "restrict" applies to both servers and clients, so a configuration # that might be intended to block requests from certain clients could also end # up blocking replies from your own upstream servers.
Luckily, setting up network time synchronization with the v Sphere Client is pretty easy.
This is probably a stupid question, but I tried to search your forum for anything regarding setting up ntp.
Our company only allows one specific ntp server and when i edit the time sync tab, i get the above msg. no rush I am assuming you are referring to the Webmin Time Sync tab.
From ntpdate's man page: "Force the time to be stepped using the settimeofday() system call, rather than slewed (default) using the adjtime() system call.
This option should be used when called from a startup file at boot time." Many of the answers below do not include it, and that maybe part of the problem in getting things to work.
Thanks in advance Hi, can I setup TKL to sync from certain or default NTP server automatically, or is perhaps already setup to do so ?