DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 3rd, 2003, 11:08 AM
rbbomar rbbomar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 2 rbbomar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old May 3rd, 2003, 11:36 AM
rbbomar rbbomar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 2 rbbomar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old May 13th, 2003, 07:21 PM
BrianEthics BrianEthics is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 1 BrianEthics User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > bind9 rndc-confgen problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway