From owner-freebsd-questions Thu May 4 23:19:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from iserver.itworks.com.au (iserver.itworks.com.au [203.32.61.10]) by hub.freebsd.org (Postfix) with SMTP id D449737B530 for ; Thu, 4 May 2000 23:19:17 -0700 (PDT) (envelope-from rgrace@itworks.com.au) Received: (qmail 97395 invoked from network); 5 May 2000 06:19:08 -0000 Received: from maybe.itworks.com.au (203.36.209.235) by iserver.itworks.com.au with SMTP; 5 May 2000 06:19:08 -0000 Received: (qmail 32691 invoked from network); 5 May 2000 06:19:08 -0000 Received: from dhcp8.itworks.com.au (HELO paranoia) (203.36.209.217) by maybe.itworks.com.au with SMTP; 5 May 2000 06:19:08 -0000 Reply-To: From: "Richard Grace" To: "David Daugherty" Cc: Subject: RE: named at boot Date: Fri, 5 May 2000 16:21:38 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ok, let me try this again. I got it all backwards as usual. I don't know > if I needed to have named in rc.conf. I even showd the wrong file. Argh! I > need sleep :) > > Anyways, the computer hangs at "local package > initialization" until I press Ctrl-C. Then dnetc starts up along with > everything else. When I log in named is not running and I have to start it > manually where it starts up just fine. > > my rc.conf: > ifconfig_pn0="inet 24.xxx.xxx.xxx netmask 255.255.255.0" > ifconfig_pn1="inet 192.168.1.1 netmask 255.255.255.0" > hostname="mydomain.net" > gateway_enable="YES" > defaultrouter="xxx.xxx.xxx.xxx" > named_enable="YES" > named_program=named > network_interfaces="pn0 pn1 lo0" > named_enable="YES" > named_program="/usr/local/sbin/named" > firewall_enable="YES" > firewall_type="open" > natd_enable="YES" > natd_interface="pn0" > natd_flags="-f /etc/natd.conf" > linux_enable="YES" > moused_enable="YES" > saver="fire" > > Anyone see why this is hanging? Look in /etc/rc and see where things are going on. If the message "local package initialization" has been displayed, then rc is starting scripts in /usr/local/etc/rc.d so there may be a dud script there. Or in the case that your named has not started, something may be looking for name resolution. Check your scripts thoroughly. Put some 'echo Starting This Script' lines in the scripts for debuging, or try disabling the local scripts and the rc.local (put .disabled on the end of their filename or something) and attempt to start things manually. Make sure your network interfaces and routing are functional. Some things may not start if there is no network. Richard Grace. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message