Bind 9 not launching named...
Merton Campbell Crockett
m.c.crockett at roadrunner.com
Fri Dec 31 20:43:50 PST 2010
I am not familiar with BIND distributed under MacPorts. I use the distribution from ISC; however, you mentioned that you were moving from a BIND version 8.
There is a significant difference between version 8 and 9 of BIND. Zone files that may have loaded under BIND 8 will not necessarily load under BIND 9 due to more stringent checking of the zone files. Run the following command to verify the zone files.
sudo named-checkzone <domain> <zone_file>
When taking over responsibility for DNS from colleagues and switching from BIND 8 to 9, I discovered that I inherited a number of zone files containing errors. BIND 9 refused to load due to the errors in the zone files.
Sent from my iPad: m.c.crockett at roadrunner.com
On Dec 31, 2010, at 15:05, "William H. Magill" <magill at me.com> wrote:
> I have just installed the macports version of Bind 9 and am trying to get named to run...
>
> The install apparently finishes with zero problems:
>
> -----------------------<cut here>------------------
> ---> Creating launchd control script
> ###########################################################
> # A startup item has been generated that will aid in
> # starting bind9 with launchd. It is disabled
> # by default. Execute the following command to start it,
> # and to cause it to launch at startup:
> #
> # sudo port load bind9
> ###########################################################
> ---> Installing bind9 @9.7.2-P3_0
> ---> Activating bind9 @9.7.2-P3_0
>
> ******************************************************
> * To setup named to run, you need to copy named.conf.dist
> * to named.conf:
> * sudo cp /opt/local/etc/named.conf.dist /opt/local/etc/named.conf
> * and edit as needed. If you use the default zone files for
> * 127.0.0, localhost, and the cache, you also need to copy
> * those files:
> * sudo cp /opt/local/var/named/db.127.0.0.dist /opt/local/var/named/db.127.0.0
> * sudo cp /opt/local/var/named/db.cache.dist /opt/local/var/named/db.cache
> * sudo cp /opt/local/var/named/db.localhost.dist /opt/local/var/named/db.localhost
> ******************************************************
>
> ---> Cleaning bind9
> -----------------------<cut here>------------------
>
> I've done all the named file manipulations (this is an "upgrade" from an old Tru64 host running bind 8).
>
> However, named is not running.
>
> Running the command: sudo port load bind9 yields:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bind9/main.log
>
> -----------------------<cut here>------------------
> cat main.log
> version:1
> :debug:main Executing org.macports.main (bind9)
> :debug:load load phase started at Fri Dec 31 16:54:47 EST 2010
> :debug:load Executing org.macports.load (bind9)
> :error:load Target org.macports.load returned: org.macports.bind9: Already loaded
> :debug:load Backtrace: org.macports.bind9: Already loaded
> while executing
> "exec $launchctl_path load -w $path"
> (procedure "portload::load_main" line 11)
> invoked from within
> "$procedure $targetname"
> :info:load Warning: the following items did not execute (for bind9): org.macports.load
> :notice:load Log for bind9 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bind9/main.log
> -----------------------<cut here>------------------
>
> But I find nothing in a PS indicating that bind or named is running and dig (from another host) returns:
> -----------------------<cut here>------------------
> dig @shianbrae.mcgillsociety.org mcgillsociety.org
>
> ; <<>> DiG 8.2 <<>> @shianbrae.mcgillsociety.org mcgillsociety.org
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; res_nsend to server shianbrae.mcgillsociety.org 98.140.106.68: Connection refused
> -----------------------<cut here>------------------
>
> What am I missing?
>
>
> T.T.F.N.
> William H. Magill
> # iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.5
> # MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.5
> # Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.5
> # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11
> # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a
> # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
> # XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3
> magill at mcgillsociety.org
> magill at me.com
> whmagill at gmail.com
>
>
>
>
>
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list