NTPD unable to adjust local clock

Jurij jurij_k at hotmail.com
Tue Apr 5 15:56:45 PDT 2005


Hello!

I seem to have a problem running ntpd on

DragonFly rock.siix.com 1.1-Stable DragonFly 1.1-Stable #2: Wed Mar 30 
02:25:29 CEST 2005 
root at xxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC-SMP  i386

For some reason the clock does not get adjusted - if anything, the 
offset is increasing.

I do not think it is a problem with kernel secure level (from what I 
understand secure level 2 prohibits changes of more that 1 sec to the 
local clock)

rock# sysctl -a | grep secure
kern.securelevel: 1
That said, ntpdate works without a problem.

This is the output I get if I run ntpd manually:

Tue Apr  5 23:51:00 CEST 2005
rock# ntpd -d -s -f /etc/ntp.conf
ntp engine ready
. ..
reply from 193.2.1.66: offset -1.286563 delay 0.002109, next query 8s
reply from 193.2.1.92: offset -1.287131 delay 0.002071, next query 6s
. ..
peer 193.2.1.66 now valid
reply from 193.2.1.66: offset -1.286980 delay 0.002079, next query 7s
peer 193.2.1.92 now valid
. .
reply from 193.2.1.66: offset -1.289446 delay 0.002218, next query 34s
reply from 193.2.1.92: offset -1.289790 delay 0.002501, next query 30s
adjusting local clock by -1.287340s
. .
reply from 193.2.1.92: offset -1.290812 delay 0.003650, next query 32s
reply from 193.2.1.66: offset -1.290735 delay 0.001789, next query 30s
. ..
reply from 193.2.1.66: offset -1.292969 delay 0.002010, next query 31s
reply from 193.2.1.92: offset -1.294562 delay 0.001829, next query 34s
. ..
reply from 193.2.1.66: offset -1.294542 delay 0.002906, next query 33s
reply from 193.2.1.92: offset -1.295991 delay 0.002707, next query 34s
. .
reply from 193.2.1.66: offset -1.295813 delay 0.001946, next query 33s
reply from 193.2.1.92: offset -1.297137 delay 0.002450, next query 32s
. ..
adjusting local clock by -1.293313s
reply from 193.2.1.66: offset -1.296742 delay 0.002302, next query 31s
Does anyone else have this problem?

Any advice will be appreciated!

Regards,
Jurij




More information about the Users mailing list