
12-09-2005, 11:09 AM
|
|
Senior Member
|
|
Join Date: Nov 2005
Posts: 92
|
|
Perl Chroot'd Environment
I downloaded and compiled perl with the install path pointing to my chroot'd webroot /chroot/usr/local . I then setup a new external application that uses the lsperl fastcgi module and created a script handler for it. When I attempt to run a very simple hello world perl script "test.pl" I get "503 Service Unavailable"??? I checked the perl binary located in the chroot to see what shared libraries it was using and verified that those libraries are located in the chroot as well.
Code:
libnsl.so.1 => /lib/libnsl.so.1 (0x40026000)
libdl.so.2 => /lib/libdl.so.2 (0x4003b000)
libm.so.6 => /lib/tls/libm.so.6 (0x4003f000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40062000)
libutil.so.1 => /lib/libutil.so.1 (0x4008f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
All the perl binaries, libs etc are located within the chroot. I'm I missing something?
|