|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
bind9 rndc-confgen problem
I am running FreeBSD 4.8-Release, and built bind9 from the ports, when I go to run rndc-confgen to create the rndc.conf and rndc.key files, rndc-confgen hangs. I ran a ktrace and found this:
49735 rndc-confgen CALL stat(0xbfbff470,0xbfbff410) 49735 rndc-confgen NAMI "/usr/share/nls/C/libdst.cat.cat" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff470,0xbfbff410) 49735 rndc-confgen NAMI "/usr/share/nls/libdst.cat/C" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff470,0xbfbff410) 49735 rndc-confgen NAMI "/usr/local/share/nls/C/libdst.cat.cat" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff470,0xbfbff410) 49735 rndc-confgen NAMI "/usr/local/share/nls/libdst.cat/C" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff410,0xbfbff3b0) 49735 rndc-confgen NAMI "/usr/share/nls/C/libisc.cat.cat" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff410,0xbfbff3b0) 49735 rndc-confgen NAMI "/usr/share/nls/libisc.cat/C" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff410,0xbfbff3b0) 49735 rndc-confgen NAMI "/usr/local/share/nls/C/libisc.cat.cat" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL stat(0xbfbff410,0xbfbff3b0) 49735 rndc-confgen NAMI "/usr/local/share/nls/libisc.cat/C" 49735 rndc-confgen RET stat -1 errno 2 No such file or directory 49735 rndc-confgen CALL break(0x809e000) 49735 rndc-confgen RET break 0 49735 rndc-confgen CALL read(0x3,0xbfbff670,0x10) 49735 rndc-confgen RET read -1 errno 35 Resource temporarily unavailable 49735 rndc-confgen CALL select(0x4,0xbfbff670,0,0,0) 49735 rndc-confgen RET select 1 49735 rndc-confgen CALL read(0x3,0xbfbff670,0x10) 49735 rndc-confgen GIO fd 3 read 2 bytes "\M-'\^O" 49735 rndc-confgen RET read 2 49735 rndc-confgen CALL read(0x3,0xbfbff670,0xe) 49735 rndc-confgen GIO fd 3 read 1 byte "\M-=" 49735 rndc-confgen RET read 1 49735 rndc-confgen CALL read(0x3,0xbfbff670,0xd) 49735 rndc-confgen RET read -1 errno 35 Resource temporarily unavailable 49735 rndc-confgen CALL select(0x4,0xbfbff670,0,0,0) 49735 rndc-confgen PSIG SIGINT SIG_DFL Any ideas? |
|
#2
|
|||
|
|||
|
I have found the problem, the /dev/random was not seeded.
Now I am trying to start rndc, but I am getting: [bob@giant] /etc/namedb>sudo rndc start rndc: connect failed: connection refused [bob@giant] /etc/namedb>ps ax | grep named 49840 ?? Ss 0:00.04 /usr/sbin/named [bob@giant] /etc/namedb>named -v BIND 9.2.2 |
|
#3
|
|||
|
|||
|
Make sure that you have added a line similar to the following to your named.conf:
controls { inet 127.0.0.1 allow { localhost; } keys { /usr/local/etc/rndc.key; }; }; bind likes to be anal about that. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > bind9 rndc-confgen problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|