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

From: spam maps <spamrefuse_at_yahoo.com>
Date: Wed, 6 Oct 2004 05:22:53 -0700 (PDT)
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
Received on Wed Oct 06 2004 - 10:22:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC