You are not logged in.
Pages: 1
Topic closed
I tried using openNTP to synchronize my computer clock, which is about a hour behind.
However, it doesn't seem to work.
Opening /var/log/daemon.log produces a bunch of the following:
Dec 2 12:22:09 Scrap-Machine ntpd[6776]: adjusting local clock by -3572.844308s
Dec 2 12:22:09 Scrap-Machine ntpd[6776]: adjtime failed: Invalid argument
Anyone know how to fix this?
Last edited by science4sail (2007-12-03 02:28:02)
Offline
I ran into this problem recently. My clock was off upwards of two hours and ntpd kept failing. Apparently it doesn't like making such large adjustments when it's running as a daemon, owing to potential inefficiency or system slowdown. I just manually did a (sudo) "ntpd -s -d" which ran through the update process once in the foreground. If you get timestamp errors afterwards on sudo commands, a "sudo -K" will clear the cache and resolve it.
Offline
How do I accomplish this automatically at boot? I am running openntpd in the daemons of rc.conf, but how do I append the -s option to that?
Thanks
Offline
Openntp or ntpd?
I usually:
/etc/rc.d/ntpd stop
ntpdate pool.ntp.org
23 Jan 16:48:47 ntpdate[29427]: adjust time server 69.31.13.207 offset 0.001909 sec
/etc/rc.d/ntpd start
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
glenn69: the thread is three years old, please dont necro-bump https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed