Date: Fri, 17 Mar 95 00:24:59 EST
From: Mark Costello <mcostello @
>> /usr/sbin/chroot /jails/httpd /bin/httpd -r /configs/httpd.conf
>> where /bin/httpd and /configs/httpd.conf are really /jails/httpd/bin/httpd
>> and /jails/httpd/configs/httpd.conf. Location of chroot(1) may vary.
> I've done that with NCSA httpd and I get the following error:
> httpd: could not get socket
> socket: Bad file number
> and then it quits, any ideas?
I needed to provide a set of files under /jails/httpd to make it work:
dev/tcp dev/ticots dev/udp
dev/ticlts dev/ticotsord dev/zero
etc/group etc/nsswitch.conf etc/shadow
Thanks to G .
au (Geoff Steer) for his suggestions.