Date: Wed, 1 Dec 1999 05:01:26 -0600 From: "Mark Einreinhof" <montana1@home.com> To: "Greg Lehey" <grog@lemis.com> Cc: "Freebsd-Questions" <freebsd-questions@FreeBSD.ORG> Subject: RE: XNTP help Message-ID: <000c01bf3beb$69d3ba20$0201010a@cmr.net> In-Reply-To: <19991127195741.13573@mojave.sitaranetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I changed rc.conf to reflect your suggestions. However, the time is still off. When I reboot it resyncs the time with that server. I asked permission to use the server right from the beginning. I have a Win98 client running Automachron on the inside lan pointing to the same time server. The Win98 resyncs every five minutes. The /var/log/messages from what I understand, just show that xntpd is running. I was hoping that if I waited a day, that FBSD would sync back up when it does the daily security emails and such. Unfortunately that didn't happen. As I write this the Win98 client shows 0459 CST and FBSD shows 0703 CST. -----Original Message----- From: Greg Lehey [mailto:grog@mojave.sitaranetworks.com] Sent: Saturday, November 27, 1999 6:58 PM To: big-sky@altavista.net; Freebsd-Questions Subject: Re: XNTP help On Saturday, 27 November 1999 at 10:28:06 -0600, Mark Einreinhof wrote: > OK, I'm getting really frustrated. Reading the man for xntpd, I'm left > with the impression that xntpd goes out and gets the time sync every > now and then. However, on my machine, it keeps losing time. After a > reboot, the time is fixed, but then slowly moves ahead of the correct > time. Currently it is 1hr 14minutes ahead and I just rebooted it last > night. > > ps -ax displays: > 257 ?? S<s 0:21.19 xntpd -b -c /etc/ntp.conf -f /etc/ntp.drift > > Entry in rc.conf: > xntpd -b -c /etc/ntp.conf -f /etc/ntp.drift Why have you done this? You shouldn't have any commands in rc.conf. You should have: xntpd_enable="YES" # Run xntpd Network Time Protocol (or NO). The other defaults in /etc/defaults/rc.conf are correct. But this shouldn't be your problem. > Entry ntp.conf: > server tick.uh.edu Are you sure that it's accepting your requests? > Do I need to set up a cron job for this? No. > Did I type something wrong? I can't see anything. What does your /var/log/messages say on the subject? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01bf3beb$69d3ba20$0201010a>