[users] Anyone using otrs?
Nils Breunese (Lemonbit)
nils at lemonbit.nl
Tue Jan 29 21:56:26 CET 2008
Alfred von Campe wrote:
> I am trying to set up otrs from the RPMforge repo on a CentOS 4.6
> system. I installed it via the following command:
>
> yum install --enablerepo=rpmforge otrs
>
> It pulled in the following version and some additional dependencies:
>
> otrs-1.2.4-1.2.el4.rf
> perl-MIME-tools-5.420-2.el4.rf
> perl-Email-Valid-0.179-1.el4.rf
> perl-Date-Pcalc-1.2-1.2.el4.rf
> perl-Convert-BinHex-1.119-2.2.el4.rf
> perl-TimeDate-1.16-5.el4
> perl-MailTools-2.02-1.el4.rf
> perl-IO-stringy-2.110-1.2.el4.rf
> perl-GD-Text-Util-0.86-0.2.el4.rf
> perl-GD-Graph-1.43-0.2.el4.rf
> perl-GD-2.35-1.el4.rf
>
> However, when I try to start apache, I get the following error
> (edited for readability):
>
> # service httpd start
> Starting httpd: [Tue Jan 29 15:36:00 2008] [error] Can't locate
> Apache.pm in @INC
> (@INC contains:
> /opt/otrs/Kernel/cpan-lib
> /opt/otrs/
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8
> /usr/lib/perl5/site_perl/5.8.7
> /usr/lib/perl5/site_perl/5.8.6
> /usr/lib/perl5/site_perl/5.8.5
> /usr/lib/perl5/site_perl/5.8.4
> /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl/5.8.7
> /usr/lib/perl5/vendor_perl/5.8.6
> /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.4
> /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/5.8.8
> .
> /etc/httpd/
> /etc/httpd/lib/perl)
> at /usr/lib/perl5/5.8.8/CGI.pm line 194.
> Compilation failed in require at /opt/otrs/scripts/apache2-perl-
> startup.pl line 17.
> BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-
> perl-startup.pl line 17.
> Compilation failed in require at (eval 2) line 1.
>
> [Tue Jan 29 15:36:00 2008] [error] Can't load Perl file: /opt/
> otrs/scripts/apache2-perl-startup.pl for server xxxx.yyy.zzz:0,
> exiting...
>
> Any ideas what I am missing?
I'd check line 17 of /opt/otrs/scripts/apache2-perl-startup.pl. OTRS
1.2.4 is *old* though (July 2004!). OTRS 2.2.x comes with a script
called otrs.checkModules, that might give you some info as well (if it
also came with OTRS 1.2.4).
We run the latest version of OTRS (2.2.5) on CentOS 4 using the RPM
for Fedora Core 1-3 from http://otrs.org/download and that works fine,
although we did need to replace two instances of 'Apache2::Reload' to
'Apache::Reload' in the apache configuration to get it work. CentOS 4
comes with Apache httpd 2.0, but apparently the naming of these
modules is different from Fedora Core 3 (on which RHEL 4 and thus
CentOS 4 is based).
Maybe someone can create a RPMforge package for CentOS 4 using the
srpm from http://ftp.otrs.org/pub/otrs/SRPMS/redhat/8.0/ and applying
a patch that changes 'Apache2::Reload' to 'Apache::Reload'?
Nils Breunese.
More information about the users
mailing list