Hi,
I have a problem with my ntp service (on Centos 4) : the ntp stay synchronized on local, not on the reference.
After searching for 2 days on the web, i've not yet found the solution.
I tried to use ntpdate to query only the ntp server :
Code:
# /usr/sbin/ntpdate -q XX.XX.XX.XX
server XX.XX.XX.XX, stratum 0, offset 0.000000, delay 0.00000
8 Dec 17:51:30 ntpdate[19016]: no server suitable for synchronization found
but i can cynchronize the clock :
Code:
# /usr/sbin/ntpdate XX.XX.XX.XX
8 Dec 17:37:24 ntpdate[30430]: adjust time server XX.XX.XX.XX offset -0.029291 sec
When ntpd is running, ntpq -p tell me that the synchronisation is done on LOCAL(0) and not on XX.XX.XX.XX
ntp.conf :
Code:
restrict default nomodify notrap
server XX.XX.XX.XX prefer
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
Have you any solution, clue, idea?
Thanks,