Problem using ntpdate on FreeBSD
daniel posted this on Feb 13th 2008 under FreeBSD, Howto
I had this problem. ntpdate seemed to work fine except no time adjustments were actualy applied.
Running ntpdate 0.nl.pool.ntp.org just gave me some output:
ntpdate[207]: adjust time server 145.24.129.6 offset -9934.006008 sec
This seemed OK, but after checking with date, the time was still not set correctly.
Hmmm... what could be happening...
Running ntpdate with the -d or -v flags did not reveal anything useful.
Eureka! dmesg had some additional info:
Time adjustment clamped to -1 second
After googling around it seemed this box was running kern.securelevel: 2.
I changed this in my rc.conf:
kern_securelevel_enable="NO"
Then rebooted andit was working fine!