|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
Makes sense.
* SilentRage makes mental note "device=/dev/random" |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Operation not permitted |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|