| Article: |
Implementing BIND on Mac OS X | |
| Subject: | getting error w/directions | |
| Date: | 2003-05-22 15:24:25 | |
| From: | anonymous2 | |
|
Response to: getting error w/directions
|
||
|
I got this same set of errors as well. Reading from the ISC web site ( http://www.isc.org/products/BIND/bind9.html ): OS X 10.1.4 (Darwin 5.4) reports errors like "fcntl(3, F_SETFL, 4): Operation not supported by device". This is due to a bug in "/dev/random" and impacts the server's DNSSEC support.
|
||
Showing messages 1 through 5 of 5.
-
getting error w/directions
2003-12-03 21:43:40 anonymous2 [View]
-
getting error w/directions
2003-12-04 05:23:57 Jason Deraleau |
[View]
Here: http://www.oreillynet.com/cs/user/view/cs_msg/17133
You'll find a post which discusses what rndc does and why you're seeing that error. -
getting error w/directions
2003-12-04 18:41:40 anonymous2 [View]
Hi! Thanks for the quick response. I now understand the rndc error. As for the other error:
==========
Dec 3 21:40:52 localhost named[527]: couldn't open pid file '/usr/local/bind9/var/run/named.pid': No such file or directory
Dec 3 21:40:52 localhost named[527]: exiting (due to early fatal error)
===========
Why is it trying to put the pid file under the install directory. I thought the default configuration for the named.pid was in /var/run?
Did I miss something in the compilation?
Any input is greatly appreciated.
Thanks!
Paolo -
getting error w/directions
2004-04-15 01:37:57 Vyacheslav [View]
Create folder:
mkdir /var/pid/
-
getting error w/directions
2003-07-24 04:36:14 atoms [View]
I had the same problem. Uncommenting:
controls {
unix "/var/run/ndc" perm 0600 owner 0 group 0;
inet 127.0.0.1 port 54 allow {any; };
};
in /etc/named.conf seems to have fixed it. I still see some errors in the system log, but named starts.



I seem to be getting some of the errors from above:
Dec 3 21:40:52 localhost named[527]: starting BIND 9.2.3 -c /etc/named.conf
Dec 3 21:40:52 localhost named[527]: using 1 CPU
Dec 3 21:40:52 localhost named[527]: loading configuration from '/etc/named.conf'
Dec 3 21:40:52 localhost named[527]: listening on IPv4 interface lo0, 127.0.0.1#53
Dec 3 21:40:52 localhost named[527]: listening on IPv4 interface en1, 10.0.1.4#53
Dec 3 21:40:52 localhost named[527]: none:0: open: /usr/local/bind9/etc/rndc.key: file not found
Dec 3 21:40:52 localhost named[527]: /etc/named.conf:7: couldn't install keys for command channel 127.0.0.1#54: file not found
Dec 3 21:40:52 localhost named[527]: /etc/named.conf:7: couldn't add command channel 127.0.0.1#54: file not found
Dec 3 21:40:52 localhost named[527]: couldn't open pid file '/usr/local/bind9/var/run/named.pid': No such file or directory
Dec 3 21:40:52 localhost named[527]: exiting (due to early fatal error)
I added the var/run directories under /usr/local/bind9 and it starts up fine, but still no luck with the etc/rndc.key file. Can you explain these problems? Author?
Thanks for the great article!