From owner-freebsd-current@FreeBSD.ORG Wed Oct 6 12:22:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F4C16A4CE for ; Wed, 6 Oct 2004 12:22:54 +0000 (GMT) Received: from web54007.mail.yahoo.com (web54007.mail.yahoo.com [206.190.36.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 379E343D2F for ; Wed, 6 Oct 2004 12:22:54 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Message-ID: <20041006122253.55657.qmail@web54007.mail.yahoo.com> Received: from [147.46.44.181] by web54007.mail.yahoo.com via HTTP; Wed, 06 Oct 2004 05:22:53 PDT Date: Wed, 6 Oct 2004 05:22:53 -0700 (PDT) From: spam maps To: freebsd-current MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 5.3-BETA7 rc.conf: ntpdate vs. named clash? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 12:22:54 -0000 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