[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mod_perl and chroot


Hi,

I am trying to get mod_perl to work in chroot using mod_chroot. It works fine without chroot.
This is the error am getting:

"failed to resolve handler `ModPerl::Registry': Can't locate ModPerl/Registry.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . /usr/local/srv/apache2) at (eval 2) line 3.\n"

locate Registry.pm returns:
/usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/ModPerl/Registry.pm

strace reports: stat64("/usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/ModPerl/Registry.pm", 0xbfbf20ac) = -1 ENOENT (No such file or directory)

I know php_mod works fine with mod_chroot without having to copy any libs into the jail, is mod_perl different?

Thanks.

James


Find it at www.seek.com.au Your Future Starts Here. Dream it? Then be it!

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.