It needs to synchronise with the server <server>
so that it's time is accurate, that can take a while,
it needs to trace times etc.  giving it 2 hours, is certainly enough :)

the drift states it drift from the time so it knows how many seconds it will
'drift' in  x time
{like 0.1 sec every hour means a little correction... }

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-----Oorspronkelijk bericht-----
Van: Henning, Brian [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 25 februari 2004 19:46
Aan: Remko Lodder
CC: [EMAIL PROTECTED]
Onderwerp: RE: ntpd


-rw-r--r--  1 root  wheel  0 Feb 25 09:01 /etc/ntp.drift
The /etc/ntp.drift file is empty

What is the drift file for exactly?
Why does it take up to two hours to sync? I am trying to do everything
local?

Thanks for your help.

brian


-----Original Message-----
From: Remko Lodder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:41 PM
To: Brian H; [EMAIL PROTECTED]
Subject: RE: ntpd


Hi,

what's in the ntpd.drift file?
What are the permissions on the file (to be sure)

With my NTP server it takes a while for it to be synchronised. Perhaps
wait an hour or 2 and try again to sync, Cheers.


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Brian H
Verzonden: woensdag 25 februari 2004 19:33
Aan: [EMAIL PROTECTED]
Onderwerp: ntpd


Greetings:
I am trying to setup my bsd box as a ntp server.
I basically want all machines on my local network to
sync times with this bsd time server. I start the server
with the command `ntpd -A -l /var/log/ntpd.log`. I verify
that the server is running with ps and `netstat -na | grep udp`, but
when I look in the logs i see the following

/var/log/ntpd.log
----
ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1)
kernel time discipline status 2040
Un-parsable frequency in /etc/ntp.drift


Any thoughts on what I can do to get this server working.
when i try to sync from another machine on the network
I get the following error: no servers can be used, exiting.

Thanks,

Brian


setup
-----
#i am not sure if i need to add anything to this ntp.drift file or not
touch /etc/ntp.drift touch /etc/ntp.conf

/etc/ntp.conf
-------------
driftfile /etc/ntp.drift
#bsd time server
server 192.168.0.3

_________________________________________________________________
Take off on a romantic weekend or a family adventure to these great U.S.
locations. http://special.msn.com/local/hotdestinations.armx

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to