bind 8.2.2-P5 and ndc socket

Mark Andrews Mark.Andrews at nominum.com
Wed Apr 26 22:37:01 UTC 2000


	Please read the manual page for ftpd as it explains how to set
	up a chroot area correctly.

	Mark
> 
> Hi Mark
> 
> I did set up /dev/null in the chroot area, but it was still spitting this
> error. Is there any thing that needs to be done with "ndc"
> 
> Sonam
> 
> On Wed, 26 Apr 2000, Mark Andrews wrote:
> 
> > 
> > 
> > 	You need to setup the networking devices in the chroot area.
> > 	See ftpd(8) for more info on setting up chroot areas.
> > 
> > 	Mark
> > 
> > > 
> > > Can someone help me with this?
> > > 
> > > Hello,
> > > 
> > > After installing bind 8.2.2-P5 on solaris2.5.1, and running named to
> > > chroot(), I got this error
> > > socket(SOCK_RAW): Bad file number
> > > Abot - core dumped
> > > 
> > > I checked the log message and got the following error message
> > > 
> > > _s_match_netconf: setnetconfig failed
> > > unix control "/var/run/ndc" socket failed: Bad file number
> > > 
> > > _s_match_netconf: setnetconfig failed
> > > ctl_server: socket : Bad file number
> > > _s_match_netconf: setnetconfig failed
> > > socket(SOCK_RAW): Bad file number
> > > socket(SOCK_RAW): Bad file number
> > > 
> > > Can some one help me why the chroot() fails?
> > > 
> > > I have followed the INSTAL file very carefully, there is mention of
> > > editing "ndc" to get it to start the server with the appropriate flags.
> > > How can we edit the ndc?
> > > 
> > > Any help will be greatly appreciated.
> > > 
> > > Sonam 
> > > 
> > > 
> > > 
> > > 
> > > 
> > --
> > Mark Andrews, Nominum Inc. / Internet Software Consortium
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com
> > 
> > 
> > 
> 
--
Mark Andrews, Nominum Inc. / Internet Software Consortium
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