5.3-BETA7 rc.conf: ntpdate vs. named clash?

the incredible machine imachine at toya.net.pl
Wed Oct 6 11:20:14 PDT 2004


W liście z Śro, 06-10-2004, godz. 14:22, spam maps pisze: 
> Hello,
> 
> I have 5.3-BETA7. I have ntpdate and named enabled
> in rc.conf; named is caching nameserver only.
> 
> The hostnames of ntpdate list are not resolved.
> However, named seems to work fine after bootup
> is finished. Do we have a clash in startup
> sequence of these two daemons here?
> 
> In /etc/rc.conf, I have:
> 
>  ntpdate_enable="YES"
>  ntpdate_flags="-b ntp.ewha.net time.kriss.re.kr"
>  ntpd_enable="YES"
>  named_enable="YES"
> 
> 
> During the boot process, I get:
> 
> =============================================
> [...]
> Starting named.
> Setting date via ntp.
> Looking for host ntp.ewha.net and service ntp
> Error : hostname nor servname provided, or not known
>  6 Oct 21:08:47 ntpdate[298]: can't find host
> ntp.ewha.net
> 
> Looking for host time.kriss.re.kr and service ntp
> Error : hostname nor servname provided, or not known
>  6 Oct 21:08:47 ntpdate[298]: can't find host
> time.kriss.re.kr
> 
> Looking for host ntp.ewha.net and service ntp
> Error : hostname nor servname provided, or not known
>  6 Oct 21:08:47 ntpdate[298]: can't find host
> ntp.ewha.net
> 
> Looking for host time.kriss.re.kr and service ntp
> Error : hostname nor servname provided, or not known
>  6 Oct 21:08:47 ntpdate[298]: can't find host
> time.kriss.re.kr
> 
>  6 Oct 21:08:47 ntpdate[298]: no servers can be used,
> exiting
> [...]
> 
> =============================================
> 
> After the boot up is finished, I stopped ntpd
> and entered manually as root the ntpdate
> command:
> 
> # ntpdate -b ntp.ewha.net time.kriss.re.kr
> Looking for host ntp.ewha.net and service ntp
> host found : 211.39.143.103
> Looking for host time.kriss.re.kr and service ntp
> host found : timency.kriss.re.kr
>  6 Oct 21:10:33 ntpdate[592]: step time server
> 211.115.194.21 offset 0.876997 sec
> 
> 
> Then it seems to work fine! Why it didn't during
> boot up?
> 
> Regards,
> Rob.
> 
> PS: when named is disabled, the boot up with
> ntpdate works fine!

i get the exact same issues on my BETA systems which indeed work fine
without named. /thats BETA-6 for me/
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 



More information about the freebsd-current mailing list