From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 21:28:14 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9A48744 for ; Wed, 30 Jul 2014 21:28:13 +0000 (UTC) Received: from nm12.bullet.mail.ne1.yahoo.com (nm12.bullet.mail.ne1.yahoo.com [98.138.90.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B15FA2738 for ; Wed, 30 Jul 2014 21:28:13 +0000 (UTC) Received: from [98.138.100.111] by nm12.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jul 2014 21:28:06 -0000 Received: from [98.138.89.172] by tm100.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jul 2014 21:28:06 -0000 Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP; 30 Jul 2014 21:28:06 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 810326.6811.bm@omp1028.mail.ne1.yahoo.com Received: (qmail 97976 invoked by uid 60001); 30 Jul 2014 21:28:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1406755686; bh=A1GsAoOzTPejVOjhMgPxFMU8q+aVuohENqyzPG/+Eg0=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=NfNXjuyXXzKAJrxOCSTAjOVYBvUmkEWon+QZVnYP2veS9zkNdSr6hrHc8UfezutFhefQnzeJaqgOP/E5cEEZW2It1RifdTaJaevGvaClghaePVmDHjt6Kq+2hlemq4O1GcSHX/uRVUF0uJKZAmj2FjUK+y+tPXS0le+YM6qgh3I= X-YMail-OSG: UawS2ekVM1kxAyj046YgMMUd_tldWRSlrlkesBFggOeTLM4 Pd_hYUKpGUaNNykg.BKA0r0Ve31GA0XfbX_yb1DYtEvB6F4Zv0GPpPlgDBcp .yz0uspCGtwTWBvxXXtwI5IIXBZfcIJ2k0H45f2HFSPT5ppQjrv2Dv8BmUI_ YfTsgFGuLNbm9z2fxJcE_rrx7o5yoK.dgNUjbO4WZvBzdPJeQOJnPmx6ABoA dSqqTFDZx8pR_GNfIYhAK6Wg7M2Yp7leSFY7ico578loK1olgZ4xI0g_3QEW L1tMGaWYiySAVRCEZmUV6ySOAOKGIrZpi2ImtqT7untcizcSZs5xIk6qYlwn u3GT6.3PX3NrT30EW1cuhXD5CmndPsw9dBtHDRvt1EBoMLJcOPIC2exFj30s FZ5XEN.gv5E0L6DEVeTmqW4ybdkz.ielQKAOlvgEqwz7RHeATtYyu5BLB.bB 5NjpEnRW7iGynhAKx.YQ6SKDn4GBUIQQ6Z52qMxJ0asHku7YdyPtNYStqw2P doTN4a2ktkRG718frLJUaG_VoSV.sA_Syp5xuLWWmFWTRJw-- Received: from [174.57.138.2] by web120301.mail.ne1.yahoo.com via HTTP; Wed, 30 Jul 2014 14:28:06 PDT X-Rocket-MIMEInfo: 002.001, DQpHcmVldGluZ3MsDQoNCkFmdGVyIGEgdmVyeSBsb25nIGFic2VuY2UsIEkgaGF2ZSByZXR1cm5lZCB0byBGQlNEIGZvciBhIHByb2plY3QgYXQgaG9tZS4gIEkgc3RhcnRlZCBsZWFybmluZyBGQlNEIHdpdGggMi4xLjVSIGFuZCBtb3ZlZCBvbiB0byBvdGhlciBPUydzIGFyb3VuZCB0aGUgNC54LVIgZGF5cy4NCg0KSSBoYXZlIGluc3RhbGxlZCAxMC4wLVIgYW5kIHVwZGF0ZWQgdG8gcC03LiAgSSBoYXZlIGluc3RhbGxlZCBCaW5kOS45IGZyb20gcG9ydHMgYW5kIGhhdmUgY29uZmlndXJlZCBhIGxvY2FsIGQBMAEBAQE- X-Mailer: YahooMailClassic/694 YahooMailWebService/0.8.196.685 Message-ID: <1406755686.18043.YahooMailBasic@web120301.mail.ne1.yahoo.com> Date: Wed, 30 Jul 2014 14:28:06 -0700 From: Burton Sampley Subject: FreeBSD 10.0-R-p7 bind9.9 starting named on boot? To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 21:28:14 -0000 Greetings, After a very long absence, I have returned to FBSD for a project at home. I started learning FBSD with 2.1.5R and moved on to other OS's around the 4.x-R days. I have installed 10.0-R and updated to p-7. I have installed Bind9.9 from ports and have configured a local domain (chicken.fish), which is doing exactly what I want/need it to do ... until I reboot. It will not start automagically on reboot. I have added and confirmed 'named_enable="YES" ' in /etc/rc.conf, but named is not running after a reboot. I checked dmesg and /var/log/messages, but did not see any error messages for named. I can manually start named with "/usr/sbin/service named start" and it will run without issue, until I reboot. I've followed the instructions in the handbook in sections 12.4 "Managing Services in FreeBSD" and 28.7 "Domain Name System (DNS)", which is clear-as-mud for FBSD-10 and Bind99 (not using unbound). I also followed the instructions in section 28.8 "Apache HTTP Server", which successfully starts automagically on reboot. I have also search the mail archives and have yet to find the magic combination of search terms. At this point, I have exhausted all the resources I can think of, so it's time to try questions@freebsd.org. I am officially stumped. What am I missing??? Here's some of the things I've looked at: root@fbsd:~ # /usr/bin/uname -a FreeBSD fbsd.chicken.fish 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 root@fbsd:~ # root@fbsd:~ # /usr/sbin/service -e /etc/rc.d/hostid /etc/rc.d/zvol /etc/rc.d/hostid_save /etc/rc.d/zfs /etc/rc.d/cleanvar /etc/rc.d/ip6addrctl /etc/rc.d/devd /usr/local/etc/rc.d/named /etc/rc.d/newsyslog /etc/rc.d/syslogd /etc/rc.d/dmesg /etc/rc.d/virecover /etc/rc.d/ntpd /etc/rc.d/motd /usr/local/etc/rc.d/postgresql /etc/rc.d/sshd /usr/local/etc/rc.d/apache24 /etc/rc.d/sendmail /etc/rc.d/cron /etc/rc.d/mixer /etc/rc.d/gptboot /etc/rc.d/bgfsck root@fbsd:~ # /usr/sbin/service named rcvar # named # named_enable="YES" # (default: "") root@fbsd:~ # /usr/sbin/service local_unbound rcvar # local_unbound : local caching forwarding resolver # local_unbound_enable="NO" # (default: "") root@fbsd:~ # /usr/bin/more /etc/rc.conf hostname="fbsd.chicken.fish" ifconfig_em0="inet netmask 255.255.255.224" defaultrouter="" sshd_enable="YES" ntpd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" zfs_enable="YES" apache24_enable="YES" postgresql_enable="YES" named_enable="YES" named_program="/usr/local/sbin/named" named_conf="/usr/local/etc/namedb/named.conf" root@fbsd:~ # Regards, -Burton