LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-02-2005, 11:58 PM   #1
minil
Member
 
Registered: Dec 2004
Location: Bangalore, India
Distribution: Fedora 2
Posts: 74

Rep: Reputation: 15
Unhappy NTP Client How to Sync automatically


Hi
My NTP Server : 192.168.48.105
NTP Client : 192.168.48.120

At server ntpd is running.

ntp client is synchronizing with ntp server only at time i start(/etc/init.d/ntpd start)
ntpd at client.

[root@laxman etc]# /etc/init.d/ntpd start
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]


Ntp Client is not sync with ntp server, even when i change time at ntp server. only when i restart ntpd next time at client time , client is getting sync with server time.

i want to know how to sync clients time automatically with server. what do modify in ntp.conf file.

ntp.conf

server 192.168.48.105
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

thanks in advance
 
Old 03-03-2005, 12:10 AM   #2
xowl
Member
 
Registered: Jan 2005
Distribution: Slackware current (and others)
Posts: 188

Rep: Reputation: 30
man cron

man at

or add a symlink in /etc/init.d/rc4.d
 
Old 03-03-2005, 12:29 AM   #3
minil
Member
 
Registered: Dec 2004
Location: Bangalore, India
Distribution: Fedora 2
Posts: 74

Original Poster
Rep: Reputation: 15
whether ntdp wont sync continously. Is it do only during startup of ntpd serverice?
 
Old 03-03-2005, 02:52 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Mine does it gradually and keeps resyncing at random times. I watch it on Gkrellm. There seems to be no pattern to when it resyncs.

If it is running, it should be working.

Later

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redusing the ntp sync during booting hasher Linux - Software 0 03-23-2005 07:14 AM
tuning/securing and ntp sync' in stuart39 Slackware 3 02-16-2005 11:03 AM
ntp time sync eyewittness Linux - Networking 2 08-11-2004 09:18 AM
Need help with NTP server/client setup ncorreia Linux - General 0 11-06-2003 05:21 AM
NTP sync problems rbutler Linux - Newbie 0 01-17-2003 01:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration