bind-8.2.2-P5 and solaris 2.5.1
sonam at escape.com
sonam at escape.com
Fri Jun 16 18:12:37 UTC 2000
my device nodes:
crw-rw-r-- 1 root other 21, 0 Apr 25 16:47 conslog
crw-rw-r-- 1 root other 13, 2 Apr 25 16:47 null
crw-rw-r-- 1 root other 11, 42 Apr 25 16:47 tcp
crw-rw-r-- 1 root other 105, 1 Apr 25 16:48 ticotsord
crw-rw-r-- 1 root other 11, 41 Apr 25 16:48 udp
crw-rw-r-- 1 root other 13, 12 Apr 25 16:48 zero
the libraries are in /var/named/usr/lib:
bash-2.01# pwd
/var/named/usr/lib
bash-2.01# ls -l
total 3040
-rwxrwxr-x 1 root other 24576 Apr 24 12:56 ld.so
-rwxrwxr-x 1 root other 135596 Apr 24 12:56 ld.so.1
lrwxrwxrwx 1 root other 11 Apr 21 12:10 libc.so ->
./libc.so.1
-rwxrwxr-x 1 root other 665816 Apr 24 12:56 libc.so.1
lrwxrwxrwx 1 root other 12 Apr 21 12:10 libdl.so ->
./libdl.so.1
-rwxrwxr-x 1 root other 3420 Apr 24 12:57 libdl.so.1
lrwxrwxrwx 1 root other 12 Apr 21 12:10 libmp.so ->
./libmp.so.2
-rwxrwxr-x 1 root other 15720 Apr 24 12:57 libmp.so.1
-rwxrwxr-x 1 root other 19304 Nov 14 1999 libmp.so.2
lrwxrwxrwx 1 root other 13 Apr 21 12:10 libnsl.so ->
./libnsl.so.1
-rwxrwxr-x 1 root other 574976 Apr 24 12:58 libnsl.so.1
lrwxrwxrwx 1 root other 16 Apr 21 12:10 libsocket.so ->
./libsocket.so.1
-rwxrwxr-x 1 root other 68780 Apr 24 12:58 libsocket.so.1
I copied them from /usr/lib/
sonam
On Fri, 16 Jun 2000, Kevin Darcy wrote:
> sonam at escape.com wrote:
>
> > Hi Kevin,
> >
> > When I run named "chroote'd" I get an error message saying
> > socket(SOCK_RAW): Bad file number
> > Abort - core dumped
>
> Check all of the device nodes in your chroot jail -- permissions, major/minor
> numbers, etc. Named appears to be failing when trying to open a socket to
> probe your interfaces. (Question to developers: since the socket call uses
> SOCK_DGRAM, why do the error messages report SOCK_RAW?).
>
> > In the log message it says,
> >
> > Jun 16 13:33:13 server named[2604]: _s_match_netconf: setnetconfig failed
> > Jun 16 13:33:13 server named[2604]: ctl_server: socket: Bad file number
> > Jun 16 13:33:13 server named[2604]: _s_match_netconf: setnetconfig failed
> > Jun 16 13:33:13 server named[2604]: socket(SOCK_RAW): Bad file number
> > Jun 16 13:33:13 server named[2604]: socket(SOCK_RAW): Bad file number
>
> Very odd. I find no references to _s_match_netconf or setnetconfig in the
> BIND source or in my Solaris 2.5.1 named binary. Are you certain you didn't
> get some bogus library linked in there somehow?
>
>
> - Kevin
>
>
>
>
>
More information about the bind-users
mailing list