Re: [dev] Problems Installing OTRS in Fedora Core 4

Hello, new to the list and just thought I would post some info about getting OTRS (1.3) up and running with Fedora Core 4. Here is my version: PRODUCT = OTRS VERSION = 1.3.2 BUILDDATE = Mon Oct 18 12:06:50 CEST 2004 These instructions might carry over to the new otrs 2.0 build but I can't be sure as I have not installed that version. -- I recently moved servers from an FC2 install to an FC4 install and copied over my OTRS install only find it didn't work with FC4. After some Google searching I found the post below and had ran into the same problems but did not see a response. So I managed to get it up and working with FC4 and thought I would share my experience: First change file: /etc/httpd/conf.d/otrs.conf. Everywhere it says Apache:: Change to say Apache2:: Then go into your base OTRS installation directory (/opt/otrs) and navigate to folder Kernel/cpan-lib/. Then in this folder move CGI.pm to backup.CGI.pm and move the CGI folder to backup.CGI. Renaming these files ensures that your OTRS code will use a compatible mod_perl2 version of CGI which comes preinstalled on FC4 (located in /usr/lib/perl5/5.8.6/CGI.pm), not the incompatible version that comes preinstalled with OTRS and is higher up in your @INC array. This fixed all my issues and it works great with FC4 after those changes. Maybe the OTRS developers should consider removing the CGI from the cpan-lib directory and rather make the perl-CGI RPM a dependency of the otrs RPM. Just a thought. Or maybe this is done in 2.0? Thanks for the great product guys and keep up the great work. David Podolsky -------------------------------------------- Original Message ---------- Hello, i've been wondering myself if someone had problems installing OTRS in Fedora Core 4. I've tryed on two diferent machines and obtained the same problems. I think the problem is about compatibility with the perl version on FC4. After installing the rpm in FC4 you could see thar that httpd service fails in the restart process when it starts, showing the following in the logs: [Sun Jun 19 23:15:26 2005] [error] Can't locate Apache/Reload.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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.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.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.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.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 . /etc/httpd) at (eval 83) line 3.\n [Sun Jun 19 23:15:26 2005] [error] Can't load Perl module Apache::Reload for server machine.name.pt:0, exiting... I think the problem is in perl, but i'm no such an expert on ther. After checking in /usr/lib/perl5/5.8.6/i386-linux-thread-multi/Apache there is no module Reload.pm in Apache modules folder, but in folder Apache2 is. Ok "modding" /etc/httpd/conf.d/otrs.conf and setting to the following : PerlModule Apache2::Reload PerlInitHandler Apache2::Reload solves half the problem but i can't go further with the install... only if i trick the system an put Apache2 modules in Apache module folder. I can startit but i experience random behaviour in OTRS. Pressing for example the Queue icon gives to me many different results: For example: Enters the admin Sees queue 1 Shows a Ticket Shows Zoomed Tickets... Is the problem with perl? Can anyone help solving this? I'm not a good expert on it. In Fedora Core 3 it has no problems until now. ~ Had tested with 1.3.2.1-01 and 2.0.0-beta2 in FC4 and stills happens the same. Regards, Edgar Durão ---

Hi David, On Mi, Sep 21, 2005 at 06:15:34 -0700, David Podolsky wrote:
Hello, new to the list and just thought I would post some info about getting OTRS (1.3) up and running with Fedora Core 4.
Here is my version: PRODUCT = OTRS VERSION = 1.3.2 BUILDDATE = Mon Oct 18 12:06:50 CEST 2004
These instructions might carry over to the new otrs 2.0 build but I can't be sure as I have not installed that version.
--
I recently moved servers from an FC2 install to an FC4 install and copied over my OTRS install only find it didn't work with FC4. After some Google searching I found the post below and had ran into the same problems but did not see a response. So I managed to get it up and working with FC4 and thought I would share my experience: First change file: /etc/httpd/conf.d/otrs.conf. Everywhere it says Apache:: Change to say Apache2::
Then go into your base OTRS installation directory (/opt/otrs) and navigate to folder Kernel/cpan-lib/. Then in this folder move CGI.pm to backup.CGI.pm and move the CGI folder to backup.CGI. Renaming these files ensures that your OTRS code will use a compatible mod_perl2 version of CGI which comes preinstalled on FC4 (located in /usr/lib/perl5/5.8.6/CGI.pm), not the incompatible version that comes preinstalled with OTRS and is higher up in your @INC array.
This fixed all my issues and it works great with FC4 after those changes. Maybe the OTRS developers should consider removing the CGI from the cpan-lib directory and rather make the perl-CGI RPM a dependency of the otrs RPM. Just a thought. Or maybe this is done in 2.0?
Thanks for sharing your experiences with OTRS on FC4 with us. For 2.0 we already removed the CGI.pm from cpan-lib to get rid of the problems with the diferent mod_perl2 versions on the distros. Best 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!
participants (2)
-
Christian Schoepplein
-
David Podolsky