1753534 Members
5050 Online
108795 Solutions
New Discussion

ntp problem

 
Maxim Rozin
Frequent Advisor

ntp problem

Hi,

I'm trying to set up time synchronization using ntp, but the clocks don't synchronize.

/etc/ntp.conf on the server:
restrict default ignore
restrict 127.0.0.1
restrict a.b.c.0 mask 255.255.255.0 notrust nomodify notrap
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

/etc/ntp.conf on the client:
restrict default ignore
restrict 127.0.0.1
restrict a.b.c.d mask 255.255.255.255 nomodify notrap noquery
server a.b.c.d
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

after starting ntpd service on the client, the following is written in /var/log/messages:
ntpd 4.1.2@1.892 Tue Feb 24 06:32:25 EST 2004 (1)
precision = 6 usec
kernel time discipline status 0040
frequency initialized 0.000 from /var/lib/ntp/drift
ntpd startup succeeded

the output of ntpq -p:
remote refid st t when poll reach delay offset jitter
===========================================================================
my.server.com 0.0.0.0 16 u 20 64 0 0.000 0.000 4000.00

any ideas?

Max.
1 REPLY 1
Maxim Rozin
Frequent Advisor

Re: ntp problem

Hi all,

The problem is that the following lines weren't in /etc/ntp.conf of the server:
server 127.127.1.0
fudge 127.127.1.0 stratum 10

The problem was solved by hp support center.

Have a nice day,
Max.