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:
  #1  
Old December 24th, 2004, 07:27 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
Operation not permitted

After a build of a custom kernel I get this error when I start
bind. Bind is working with no problem as far as I know, I
just don't know what cause this error. I don't think the error affect bind because as I say bind is working.

Dec 23 20:27:57 ns named[450]: starting BIND 9.3.0 -u bind -t /var/chroot/named -c /etc/namedb/named.conf
Dec 23 20:27:57 ns named[450]: command channel listening on 127.0.0.1#953
Dec 23 20:27:57 ns named[450]: entropy.c:456: unexpected error:
Dec 23 20:27:57 ns named[450]: fcntl(6, F_SETFL, 4): Operation not permitted

The system is freebsd 5.3

Reply With Quote
  #2  
Old December 24th, 2004, 10:23 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,197 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 16 h 43 m 53 sec
Reputation Power: 92
freebsd is notorious for their threads woes. Try /configure'ing bind in the compilation process with the flag "--disable-threads"
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old December 24th, 2004, 10:26 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
What about this error:

Dec 24 17:21:35 ns named[450]: starting BIND 9.3.0 -u bind -t /var/chroot/named -c /etc/namedb/named.conf
Dec 24 17:21:36 ns named[450]: command channel listening on 127.0.0.1#953
Dec 24 17:21:36 ns named[450]: errno2result.c:109: unexpected error:
Dec 24 17:21:36 ns named[450]: unable to convert errno to isc_result: 6: Device not configured

Reply With Quote
  #4  
Old December 24th, 2004, 10:47 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,197 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 16 h 43 m 53 sec
Reputation Power: 92
Did you get that error after disabling threads?

FreeBSD Bug Report on threads

Reply With Quote
  #5  
Old December 24th, 2004, 10:57 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
No, I build a new kernel because I forget the "device mem" option.
I think that the problem is related to "mknod random"
I''m testing it now.

Reply With Quote
  #6  
Old December 24th, 2004, 11:15 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
I install bind with: mknod random c 249 0

now after the new build:
ls -la /dev/random
crw-rw-rw- 1 root wheel 247, 0 Dec 24 19:21 /dev/random

so I did:
cd /var/chroot/named/dev
rndc stop
rm random
mknod random c 247 0
chmod 666 random
/usr/sbin/named -u bind -t /var/chroot/named -c /etc/namedb/named.conf

and the problem has gone away:
Dec 24 18:08:34 ns named[855]: starting BIND 9.3.0 -u bind -t /var/chroot/named -c /etc/namedb/named.conf
Dec 24 18:08:34 ns named[855]: command channel listening on 127.0.0.1#953

Reply With Quote
  #7  
Old December 24th, 2004, 11:19 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,197 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 16 h 43 m 53 sec
Reputation Power: 92
Makes sense.

* SilentRage makes mental note "device=/dev/random"

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Operation not permitted


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 1 hosted by Hostway
Stay green...Green IT