[ntp:questions] problem sync time in client ntpd when server ntpd is restarted.

muruga muruga86 at gmail.com
Wed Feb 28 06:43:38 UTC 2007


Hi,
 can any one help with the problem sync time in client ntpd when
server ntpd is restarted with different settings.


i have manually set time in server ntpd  and able to serve time to
client ntpd with out problem, after some time i restart my server nptd
by giving a public ntp server address to sync and succeeds. Now this
new time is not syncing properly with client ntpd or many times client
ntpd stops abrubtly. when i restart client ntpd it is syncing properly
with new time.

can any one guide me to properly sync client ntpd with out restarting
it, when server ntpd restarts.


ntp.conf in server for manual time setting
#NTP configuration file
server 127.127.1.0 iburst minpoll 4 #use local clock as bkup or manual
time
fudge 127.127.1.0 stratum 10 #reduce stratum for local clock
restrict default nomodify notrap nopeer restrict 127.0.0.1  #restirct
loopback
restrict 192.168.0.0 mask 255.255.0.0 nomodify notrap #serve lan
clients
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
#end of NTP config file

ntp.conf in server for public ntp server
#NTP configuration file
server 213.246.63.72 burst iburst minpoll 4
server 127.127.1.0 iburst minpoll 4 #use local clock as bkup or manual
time
fudge 127.127.1.0 stratum 10 #reduce stratum for local clock
restrict default nomodify notrap nopeer restrict 127.0.0.1  #restirct
loopback
restrict 192.168.0.0 mask 255.255.0.0 nomodify notrap #serve lan
clients
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
#end of NTP config file


ntp.conf in client
#NTP configuration file
server 192.168.0.1 burst iburst minpoll 4
server 127.127.1.0 iburst minpoll 4 #use local clock as bkup or manual
time
fudge 127.127.1.0 stratum 10 #reduce stratum for local clock
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
#end of NTP config file

thanks in advance

murugan




More information about the questions mailing list