5.3-BETA7 rc.conf: ntpdate vs. named clash?
Putinas Piliponis
Putinas.Piliponis at hansa.lt
Wed Oct 6 05:52:48 PDT 2004
I have similar problem with BETA6, for workaround just put there IP
address instead of name.
-----Original Message-----
From: owner-freebsd-current at freebsd.org
[mailto:owner-freebsd-current at freebsd.org] On Behalf Of spam maps
Sent: Wednesday, October 06, 2004 3:23 PM
To: freebsd-current
Subject: 5.3-BETA7 rc.conf: ntpdate vs. named clash?
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
_______________________________________________
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