[opensuse] NTP not updating time anymore
Hi all, I've setup my system to use NTP long time ago. es.pool.ntp.org is the server of my choice (yep, I'm located in Spain) and the only way to properly get the time from there is by issuing a /etc/init.d/ntp restart command as root... which is not what I'm expecting, as everything was working perfectly some weeks ago... The same happens with my PC at work (also OpenSuSE 10.2)... Any ideas/hints?? TIA, Martin ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Martin Mielke wrote:
Hi all,
I've setup my system to use NTP long time ago. es.pool.ntp.org is the server of my choice (yep, I'm located in Spain) and the only way to properly get the time from there is by issuing a /etc/init.d/ntp restart command as root... which is not what I'm expecting, as everything was working perfectly some weeks ago... The same happens with my PC at work (also OpenSuSE 10.2)...
Any ideas/hints??
As root, 'ntpdate -u <IP-address-of-time-server> eg, ntpdate -u 203.12.160.2 and your time will get updated. If you get an error message, see what the message states. If still a problem then go to Control Center and close down and then restart the ntp facility- possibly something got corrupted over time. Cheers. -- Past experience, if not forgotten, is a guide for the future. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 08 June 2007, Martin Mielke wrote:
Hi all,
I've setup my system to use NTP long time ago. es.pool.ntp.org is the server of my choice (yep, I'm located in Spain) and the only way to properly get the time from there is by issuing a /etc/init.d/ntp restart command as root... which is not what I'm expecting, as everything was working perfectly some weeks ago... The same happens with my PC at work (also OpenSuSE 10.2)...
Any ideas/hints??
Pick a time server (any time server), and use it's name or IP
instead of pool. I have found in the past that Pools occasionally
fail and seem to take a few days before someone notices.
Your ISP may run a server. Try pinging ntp.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-06-08 at 23:14 -0700, Martin Mielke wrote:
I've setup my system to use NTP long time ago. es.pool.ntp.org is the server of my choice (yep, I'm located in Spain) and the only way to properly get the time from there is by issuing a /etc/init.d/ntp restart command as root... which is not what I'm expecting, as everything was working perfectly some weeks ago... The same happens with my PC at work (also OpenSuSE 10.2)...
Don't use a single server off the pool, use several. And don't be so "polite" as to use servers from Spain only, use nearby countries too. My config uses these: server pool.ntp.org server es.pool.ntp.org server fr.pool.ntp.org server ch.pool.ntp.org server uk.pool.ntp.org server pool.ntp.org server pool.ntp.org server pool.ntp.org server pool.ntp.org server es.pool.ntp.org server es.pool.ntp.org server uk.pool.ntp.org server fr.pool.ntp.org server ch.pool.ntp.org server ch.pool.ntp.org server ch.pool.ntp.org server ch.pool.ntp.org Don't worry if it seems a lot. The program compares them and chooses the best one. Don't do the choosing yourself, programs are made to automate things and take the chores on themselves ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGanpOtTMYHG2NR9URAsI1AJ9rzjT4/tXDcuXonDRaFPXgtQRtTACcDAgo 8/wfqMnChtooJFDcMyKIDfg= =/EKU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 09 June 2007, Carlos E. R. wrote:
Don't worry if it seems a lot. The program compares them and chooses the best one. Don't do the choosing yourself, programs are made to automate things and take the chores on themselves
Well the NTPD program finds the best clock of those supplied to it, but the pool may or may not offer good clocks, may not offer multiple clocks, may not offer the same clock consistently, and you are therefore at the mercy of the pool. I always offer a specific list of clocks in my setup and avoid the pools all together. I think they are a bad idea. I usually use at least two clocks, my ISP, my State University, and occasionally some other state university. Some state universities are statum 1 servers, and these tend to be favored by the daemon. I generally avoid the US national servers, but I have used those in the past for my government customers. -- _____________________________________ John Andersen
On Sat June 9 2007 00:14, Martin Mielke wrote:
Hi all,
I've setup my system to use NTP long time ago. es.pool.ntp.org is the server of my choice (yep, I'm located in Spain) and the only way to properly get the time from there is by issuing a /etc/init.d/ntp restart command as root... which is not what I'm expecting, as everything was working perfectly some weeks ago... The same happens with my PC at work (also OpenSuSE 10.2)...
Any ideas/hints??
I had this problem in the beginning of using 10.1 and I found somewhere that if you add the options "burst iburst" (can be added in the options field in Yast) it forces the ntp-client to check on a regular schedule again. Since then I've been using these options in all installs. -- Carlos FL Who is General Failure, and why is he reading my disk? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Basil Chupin
-
Carlos E. R.
-
Carlos F L
-
John Andersen
-
Martin Mielke