Multiple OTRS-instances on one server

Hallo ML, I'm currently trying to install 3 OTRS-Instances (1.1.2, Linux, Mod_Perl) on one webserver. If I wanted to use apache 1.3.*, each OTRS must run on its own httpd on its own IP-Adress (using mod_perl1), but if i used apache2(with mod_perl2), i could use one server.. is that correct? My problem ist, that cant get OTRS to work with Apache2. I think it's a modperl/CPAN-error. When i try to start apachectl i get the following: [Tue Feb 03 12:22:37 2004] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl . /usr/local/apache2/ /usr/local/apache2/lib/perl) at /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi/mod_perl.pm line 14 Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi/Apache.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi/Apache.pm line 6. Compilation failed in require at /opt/otrs/Kernel/cpan-lib/CGI.pm line 171. Compilation failed in require at /opt/otrs//Kernel/System/WebRequest.pm line 38. BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/WebRequest.pm line 38. Compilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 30. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 30. Compilation failed in require at (eval 1) line 1. [Tue Feb 03 12:22:37 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl But Apache::Constants is installed (according to CPAN) Please Help :) -- Best regards, Stefan mailto:stefanp@edo.uni-dortmund.de

Hi Stefan, On Tue, Feb 03, 2004 at 12:24:12PM +0100, Stefan Pampel wrote:
I'm currently trying to install 3 OTRS-Instances (1.1.2, Linux, Mod_Perl) on one webserver. If I wanted to use apache 1.3.*, each OTRS must run on its own httpd on its own IP-Adress (using mod_perl1), but if i used apache2(with mod_perl2), i could use one server.. is that correct?
Yes.
My problem ist, that cant get OTRS to work with Apache2. I think it's a modperl/CPAN-error. When i try to start apachectl i get the following:
[Tue Feb 03 12:22:37 2004] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl . /usr/local/apache2/ /usr/local/apache2/lib/perl) at /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi/mod_perl.pm line 14 [...] [Tue Feb 03 12:22:37 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
But Apache::Constants is installed (according to CPAN) Please Help :)
Sorry, I don't know what it is.
Best regards, Stefan mailto:stefanp@edo.uni-dortmund.de
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Tuesday, February 03, 2004 12:24 PM
Stefan Pampel
My problem ist, that cant get OTRS to work with Apache2. I think it's a modperl/CPAN-error. When i try to start apachectl i get the following:
[Tue Feb 03 12:22:37 2004] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: ... But Apache::Constants is installed (according to CPAN) Please Help :)
I believe you shot your mod_perl installation in the foot when thinking about which Apache to take. Am I right in assuming you have both installed, 1.3 as well as 2.0? It might well be you messed up mod_perl_1_0 and mod_perl2.0. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (3)
-
Martin Edenhofer
-
Robert Kehl
-
Stefan Pampel