Benjamin Keating wrote:
I'm running a generic install of FreeBSD 5.4 and would like to setup
ntpd. ntpdate doesn't do me much good as I rarely reboot, but I took
the handbooks suggestion of using it anyway (and I've verified it
works)). Anyway, I'm having trouble setting up ntpd and it'd be
Michal Mertl wrote:
/etc/ntp directory isn't used by default on 5.4.
The default location for ntp.drift file is /var/db.
I've never created it by hand (not even by
'touching' it), it gets created automatically.
No, there's no such default as /var/db/ntp.drift.
It's either /etc/ntp.drift or
Rob wrote:
Michal Mertl wrote:
/etc/ntp directory isn't used by default on 5.4.
The default location for ntp.drift file is /var/db.
I've never created it by hand (not even by
'touching' it), it gets created automatically.
No, there's no such default as /var/db/ntp.drift.
It's either
--- Michal Mertl [EMAIL PROTECTED] wrote:
Rob wrote:
Michal Mertl wrote:
/etc/ntp directory isn't used by default on 5.4.
The default location for ntp.drift file is
/var/db.
I've never created it by hand (not even by
'touching' it), it gets created automatically.
No,
I'm running a generic install of FreeBSD 5.4 and would like to setup
ntpd. ntpdate doesn't do me much good as I rarely reboot, but I took
the handbooks suggestion of using it anyway (and I've verified it
works)). Anyway, I'm having trouble setting up ntpd and it'd be great
if I could get your
Ensure you due ntpdate before you run ntpd.
This can be done just once from the command line and ntpd cannot be running.
ntpdate ntp2.sf-bay.org
then add the following to /etc/rc.conf
ntpd_enable=YES
ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid
between the lines is a example of ntp.conf in
Thanks! ntpdate running after ntpd was what was causing the problem.
Also a good reminder to grep out relevant parts in
/etc/defaults/rc.conf... as my conf file was, by default
/var/db/ntpd.drift'. No wonder my /etc/ntpd.conf didn't get touched.
Thanks again Sean.
- bpk
On 5/12/05, Sean Murphy