
Hi,
Update :
Seems to work now, resuming tests..:-)
Her is what I changed last, maybe some redundant changes, will eliminate
later.
In httpd-vhost.conf ( virtual host part, remember I use apache 2.2.? )
Listen requests.be.eds.com:80
<VirtualHost requests.xx.yy.com:80>
ServerAdmin ahr@ti.yyy.emea.xx.com
# DocumentRoot /usr/requests
DocumentRoot /usr/otrs
ServerName requests.xx.xx.com
ErrorDocument 404 /missing.html
ErrorDocument 403 /Denied.html
ErrorDocument 500 /500ServerError.html
ErrorLog "|/usr/web/bin/rotatelogs
/usr/web/logs/requests-error_log.%Y-%m-%d-%H_%M_%S 5M"
CustomLog "|/usr/web/bin/rotatelogs
/usr/web/logs/requests-access_log 1M" common
LogLevel warn
#
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# CustomLog logs/access_log common
</IfModule>
#
Alias /otrs-web/ "/usr/usr200/otrs/var/httpd/htdocs/"
ScriptAlias /otrs/ "/usr/usr200/otrs/bin/cgi-bin/"
Alias /otrs "/usr/usr200/otrs/bin/cgi-bin/"
PerlSwitches -I/usr/usr200/otrs/
PerlSwitches -I/usr/usr200/otrs/Kernel
PerlSwitches -I/usr/usr200/otrs/Kernel/cpan-lib
PerlSwitches -I/usr/usr200/otrs/Kernel/Modules
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!