Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 05:22:53 -0700 (PDT)
From:      spam maps <spamrefuse@yahoo.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   5.3-BETA7 rc.conf: ntpdate vs. named clash?
Message-ID:  <20041006122253.55657.qmail@web54007.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

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!


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006122253.55657.qmail>