Re: ntpd problem in release 6.0

2006-01-27 Thread RW
On Friday 27 January 2006 14:03, Dimitar Vasilev wrote:
> 2006/1/26, Chuck Swiger <[EMAIL PROTECTED]>:
> > Vincent Chen wrote:
> > [ ... ]
> >
> > > Why I have to restart ntpd to get connected? I don't have this problem
> >
> > with
> >
> > > release 4.7.
> >
> > I've seen this once and gotten the impression that ntpd had fired up
> > before DNS
> > was working, because the ntpd was able to connect with local peers listed
> > in the
> > /etc/hosts file.  Maybe updating and running mergemaster to make sure the
> > dependencies in the /etc/rc.d/ntpd startup script are OK would be a
> > thought...?
> >
> > --
> > -Chuck
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > [EMAIL PROTECTED]"
>
> NTP starts up before DNS and needs working DNS to resolve the IPs.
> So you can enter bare ips, or change the startup order of NTP and DNS.
> Regards,

I don't think so:

# cd /etc/rc.d && rcorder * | egrep "named|ntp"
named
ntpdate
ntpd

OTOH dnscache from djbdns does load after ntpd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ntpd problem in release 6.0

2006-01-27 Thread Dimitar Vasilev
2006/1/26, Chuck Swiger <[EMAIL PROTECTED]>:
>
> Vincent Chen wrote:
> [ ... ]
> > Why I have to restart ntpd to get connected? I don't have this problem
> with
> > release 4.7.
>
> I've seen this once and gotten the impression that ntpd had fired up
> before DNS
> was working, because the ntpd was able to connect with local peers listed
> in the
> /etc/hosts file.  Maybe updating and running mergemaster to make sure the
> dependencies in the /etc/rc.d/ntpd startup script are OK would be a
> thought...?
>
> --
> -Chuck
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

NTP starts up before DNS and needs working DNS to resolve the IPs.
So you can enter bare ips, or change the startup order of NTP and DNS.
Regards,

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: ntpd problem in release 6.0

2006-01-26 Thread Chuck Swiger
Vincent Chen wrote:
[ ... ]
> Why I have to restart ntpd to get connected? I don't have this problem with
> release 4.7.

I've seen this once and gotten the impression that ntpd had fired up before DNS
was working, because the ntpd was able to connect with local peers listed in the
/etc/hosts file.  Maybe updating and running mergemaster to make sure the
dependencies in the /etc/rc.d/ntpd startup script are OK would be a thought...?

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