I have problems starting otrs 2.0.4 with mod_perl
My environemt is:
Solaris 8
Apache 2.2.?
Mysql 5.0.20 ( not relevant here, but to be complete)
Mod_perl 2.0.2
Perl 5.8.8 ( configured to look into ../perl5.8.0 )
Important here, I think, is that
1) the apache server run with 2 virtual host, only one is used by OTRS, the other form another application under php5.0??
2) the document root is /usr/otrs and NOT under /usr/local/apache ( apache is installed under /usr/apache2.2.3/ )
It use to work while running CGI, but the server ( an old Ultra1 ) was that slow that I decided to have a try with mod_perl.
The error are all related to :
6] [error] Can't locate Kernel/System/Web/InterfaceAgent.pm in @INC (@INC contains: /export/home/apache2.2.0/bin/../.. /export/home/apache2.2.0/bin/.. /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 . /export/home/apache2.2.0) at /usr/otrs/bin/cgi-bin/index.pl line 42.\nBEGIN failed--compilation aborted at /usr/otrs/bin/cgi-bin/index.pl line 42.\n
So mod_perl is looking for perl modules in /export/home/apache2.2.0/bin as a result of the FindBin($Bin) in the index.pl.
I wonder how to correct this without to much re-write !?
Many thanks in advances
Andre