Ntpd assistance

MikeM zlists at mgm51.com
Thu Sep 23 07:28:16 PDT 2004


On 9/22/2004 at 11:58 AM alden.pierre wrote:

|MikeM wrote:
|
|>On 9/22/2004 at 11:19 AM alden.pierre wrote:
|>
|>|/etc/rc.conf contains the following:
|>|
|>|ntpdate_enable="YES"
|>|ntpdate_flags="timex.cs.columbia.edu"
|>|xntpd_enable="YES"        # Run ntpd Network Time Protocol
|>|
|>|/etc/ntpd.conf contains the following:
|>|
|>|driftfile    /etc/ntp/drift
|>|server 65.211.109.1
|>|server 65.211.109.11
|>|server 209.51.161.238
|>|server 128.59.59.177
|>|
|>|
|>|Am I doing something wrong here?  My time seems to go out of sync after 
|>|my FreeBSD 4.10 box has been up for a couple of hours.  Any help would 
|>|be greatly appreciated.
|> =============


A couple of other suggestions:

1) Add the -sv flag to the ntpdate flags:

ntpdate_flags="-sv timex.cs.columbia.edu"

That will give you some good ntpdate info in the messages log file.


2) Add the following to yout ntp.conf file:

# enable logging
logfile /var/log/ntp.log

That will give you some info on the ntpd daemon.







More information about the freebsd-questions mailing list