Date: Fri, 17 Mar 95 00:24:59 EST
From: Mark Costello <mcostello @
utica .
kaman .
com>
>> /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
etc/netconfig etc/passwd
usr/lib/ld.so.1 usr/lib/libintl.so.1
usr/lib/libw.so.1 usr/lib/nss_files.so.1
usr/lib/libc.so.1 usr/lib/libnsl.so.1
usr/lib/libdl.so.1 usr/lib/libsocket.so.1
Thanks to G .
Steer @
as02 .
bull .
oz .
au (Geoff Steer) for his suggestions.
Regards,
Mark
|
|