Hi,

On Fri, Aug 18, 2006 at 01:48:00PM +0200, Her, Andre wrote:
>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 !?

Look for the file

scripts/apache2-perl-startup.pl

in your otrs home directory. Within the first lines of this file you can 
set the paths for the OTRS libs:

----------
[...]
# --
# set otrs lib path!
# --
use lib "/opt/otrs/";
use lib "/opt/otrs/Kernel/cpan-lib";
[...]
----------

Change the paths to your needs, then it should work.

>Andre

Regards,

  Christian

-- 
((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing
  Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769
    http://www.otrs.com/ :: Communication with success!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to