| Article: |
Implementing BIND on Mac OS X | |
| Subject: | getting error w/directions | |
| Date: | 2003-04-30 15:27:08 | |
| From: | anonymous2 | |
|
I actually have the most recent o'reilly bind book, but hopefully this is just a simple error. I followed the directions in the article (with bind9 just compiled), however, i get this in my system log on os x 10.2.5 Apr 30 18:20:46 howard named[265]: listening on IPv4 interface lo0, 127.0.0.1#53 Apr 30 18:20:46 howard named[265]: listening on IPv4 interface en0, 192.168.1.107#53 Apr 30 18:20:46 howard ntpdate[288]: ntpdate 4.1.1@1.786 Sun Jul 14 03:19:16 PDT 2002 (1) Apr 30 18:20:46 howard named[265]: none:0: open: /usr/local/bind9/etc/rndc.key: file not found Apr 30 18:20:46 howard named[265]: couldn't add command channel 127.0.0.1#953: file not found Apr 30 18:20:46 howard named[265]: none:0: open: /usr/local/bind9/etc/rndc.key: file not found Apr 30 18:20:46 howard named[265]: couldn't add command channel ::1#953: file not found Apr 30 18:20:46 howard named[265]: entropy.c:280: unexpected error: Apr 30 18:20:46 howard named[265]: fcntl(10, F_SETFL, 4): Operation not supported by device Apr 30 18:20:46 howard named[265]: could not open entropy source /dev/random: unexpected error Apr 30 18:20:46 howard named[265]: couldn't open pid file '/usr/local/bind9/var/run/named.pid': No su ch file or directory any ideas??? i'm gonna look it up later to see what went wrong, but any hints would be most appreciated. |
||
Showing messages 1 through 9 of 9.
-
getting error w/directions
2003-12-18 06:33:30 dst [View]
-
getting error w/directions
2003-12-18 06:18:31 dst [View]
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.error] none:0: open: /etc/rndc.key: file not found
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.notice] couldn't add command channel ::1#953: file not found
-
getting error w/directions
2003-12-18 06:03:15 anonymous2 [View]
Dec 18 16:01:52 eagle named[252]: [ID 873579 daemon.notice] starting BIND 9.2.3
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.error] none:0: open: /etc/rndc.key: file not found
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.notice] couldn't add command channel 127.0.0.1#953: file not found
-
getting error w/directions
2003-05-22 15:24:25 anonymous2 [View]
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.
I'm running 10.2.6 (Darwin Kernel Version 6.5) and I still see it. How did the author get it to work?? -
getting error w/directions
2003-12-03 21:43:40 anonymous2 [View]
Hi,
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! -
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.



When Istarted my DNS sever,it works properly. After a few days it fails and I got an error message:
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.error] none:0: open: /etc/rndc.key: file not found
Dec 18 16:01:54 eagle named[252]: [ID 873579 daemon.notice] couldn't add command channel 127.0.0.1#953: file not found
So how can i fix it? I expect your immediate reply. Thanks!