bind-8.2.2-P5 and solaris 2.5.1
Mark Andrews
Mark.Andrews at nominum.com
Wed Jun 21 16:03:10 UTC 2000
>
> I added /etc/netconfig to the chroot jail and now named is running fine,
> however I have one problem. When I do /usr/sbin/ndc reload, I get an error
>
> bash-2.01# /usr/sbin/ndc reload
> ndc: error: ctl_client: evConnect(fd 3): No such file or directory
> ndc: error: cannot connect to command channel (/var/run/ndc)
/usr/sbin/ndc -c <chroot>/var/run/ndc reload
>
> checking the bind-users mailing list (Mark Andrew's Mar 16 2000)
> 1. named is running
> 2. ndc socket is there in the chroot jail
>
> I ran a truss output with the above command and the truss showed an error,
> here's a part of the truss
>
> open("/etc/netconfig", O_RDONLY) = 3
> fstat(3, 0xEFFFF348) = 0
> brk(0x00074EC0) = 0
> brk(0x00076EC0) = 0
> ioctl(3, TCGETA, 0xEFFFF2D4) Err#25 ENOTTY
>
> can someone help me out? as always thank you for all your help.
>
> Sonam Wangchuk
> e: sonam at escape.com
>
> On Tue, 20 Jun 2000, Kevin Darcy wrote:
>
> > As I mentioned before, you need a valid /etc/netconfig in your chroot jail.
> > Later versions of Solaris (e.g. Solaris 7) don't need this, presumably beca
> use
> > they implement the socket() call mostly in the kernel, instead of layering
> it
> > on top of the NSL stuff (which uses /etc/netconfig).
> >
> >
> > - Kevin
> >
> > sonam at escape.com wrote:
> >
> > > i have corrected the permissions for the devices but still get the same
> > > error.
> > >
> > > Sonam Wangchuk
> > > e: sonam at escape.com
> > >
> > > On Sat, 17 Jun 2000 Mark.Andrews at nominum.com wrote:
> > >
> > > >
> > > > >
> > > > > 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
> > > > >
> > > >
> > > > As Kevin said the primary problem here is the permissions above.
> > > >
> > > > The follow are the permissions as installed from the Solaris CD.
> > > > crw-rw-rw- 1 root sys 11, 42 Nov 19 1997 /dev/tcp
> > > >
> > > > The other devices are similar. Use "ls -lL" to see them.
> > > >
> > > > Mark
> > > >
> > > > --
> > > > Mark Andrews, Nominum Inc.
> > > > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > > > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.c
> om
> > > >
> > > >
> > > >
> >
> >
> >
> >
> >
> >
>
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list