
Has anyone successfully gotten OTRS to work with Apache2 + mod_perl-2 (mod_perl-1.99_07)? I've finally conquered one problem and hit another. The first problem I had was not being able to run installer.pl. The error_log reported the following: [Thu Jan 02 16:55:37 2003] [error] 27204: ModPerl::Registry: Can't locate Kernel/Config.pm in @INC (@INC contains: //../..m /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /opt/OpenTRS/bin/cgi-bin/installer.pl line 39. BEGIN failed--compilation aborted at /opt/OpenTRS/bin/cgi-bin/installer.pl line 39. If you look in this message the first include path is //../.. which is being returned from the following in installer.pl: # OTRS root directory use FindBin qw($Bin); use lib "$Bin/../.."; The 'use lib' statement is setting //../.. instead of /opt/OpenTRS/bin/cgi-bin/../.. which seems to me that mod_perl is thinking that the perl script is running from / to the webserver. So to combat this I tried hard-coding an include path in perlstart.pl that I'm calling in PerlRequire in httpd.conf which seems to make it find Kernel/Config.pm but now fails with the following: [Fri Jan 03 14:38:14 2003] [error] 14175: ModPerl::Registry: Can't read ../../Kernel/Output/HTML/Standard/Header.dtl: No such file or directory at /opt/OpenTRS//Kernel/Output/HTML/Generic.pm line 193. I'm assming the same problem with the @INC issue is the same ../../ problem. Can anyone help me? It seems that the script is running in almost a chroot-type environment. -- Jason McCormick Network/Systems Administrator - Lexi-Comp, Inc. Ph: 330.656.0239 Fax: 330.656.4307 Email: jason.mccormick@lexi.com Public Key: http://bamboo.lexi.com/~jmccormick/public-keys.php