So I have managed to fix the error below, but now I get this in my apache logs:
[Mon May 07 08:11:44 2012] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval
2) line 1.\n
[Mon May 07 08:11:44 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server PPM-HELPDESK:0, exiting...
This has something to do with OTRS kernel at this point I would think.
Thanks,
|
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org]
On Behalf Of Andrew Meyer
Sent: Monday, May 07, 2012 8:04 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] big problems
Ok, now I’ve managed to get a copy of CentOS 6.2 running. But I’m getting something similar to my original email.
[Mon May 07 07:58:45 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval
2) line 1.\n
[Mon May 07 07:58:45 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server PPM-HELPDESK:0, exiting...
[Mon May 07 08:01:23 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval
2) line 1.\n
[Mon May 07 08:01:23 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server PPM-HELPDESK:0, exiting...
|
From:
otrs-bounces@otrs.org
[mailto:otrs-bounces@otrs.org] On Behalf Of Steven Carr
Sent: Monday, May 07, 2012 2:19 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] big problems
Not sure then to be honest, the problem isn't with OTRS it's with your linux distribution/installation. Fedora is the bleeding edge so probably not a good choice for a production server where you need stability.
If you have no backups of the system then my next port of call would be to first build a test system using the same OS and see if you can replicate the problem on there, if you can then great - problem found, if you can't then it means that there is something
different with the configuration of that linux test system than with your production system, so you can then try and hunt for config changes or I'd be inclined to backup OTRS, reinstall linux (if you want to stick with Redhat-flavour then I'd go for CentOS)
and then reinstall OTRS - depending on how critical OTRS is to your environment.
Steve
On 7 May 2012 00:10, Andrew Meyer <AMeyer@precisionpractice.com> wrote:
Steven,
I’m using Fedora 16. All my perl are from RPM packages from the Yum repo’s. there is no other repo
added. I have all the modules installed except SSL and Chinese chars, and they are up to date.
From:
otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org]
On Behalf Of Steven Carr
Sent: Friday, May 04, 2012 5:45 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] big problems
So the actual error preventing it from loading is:
compilation aborted at /usr/share/perl5/FindBin.pm line 205
The second error on line 66 in Defaults.pm (or at least in my copy) refers to:
use FindBin qw($Bin);
So this is OTRS trying to find the path to bin directory from where script was invoked, and for some reason it can't locate it.
What version/flavour of CentOS/RedHat? and where did you get the current Perl and HTTPD packages from (any additional repos added?) and I assume you don't have any snapshots/backups of the system itself before you applied the updates that you could roll back
to?
Also have you ran the /opt/otrs/bin/otrs.CheckModules.pl script to make sure that all of your other Perl modules are present and correct?
Steve
On 4 May 2012 21:21, Andrew Meyer <AMeyer@precisionpractice.com> wrote:
I did try a rollback of some sort. But that didn’t work. I’m finding that it is Apache (httpd)
is erroring out.
[Fri May 04 08:43:43 2012] [error] Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
line 205\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nCompilation
failed in require at /opt/otrs//Kernel/Config.pm line 97.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm line 97.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl
line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Fri May 04 08:43:43 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
for server 192.168.1.19:80, exiting...
[Fri May 04 09:24:15 2012] [error] Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
line 205\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nCompilation
failed in require at /opt/otrs//Kernel/Config.pm line 97.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm line 97.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl
line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Fri May 04 09:24:15 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
for server 192.168.1.19:80, exiting...
[Fri May 04 09:24:33 2012] [error] Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
line 205\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nCompilation
failed in require at /opt/otrs//Kernel/Config.pm line 97.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm line 97.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl
line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Fri May 04 09:24:33 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
for server 192.168.1.19:80, exiting...
[Fri May 04 14:37:44 2012] [error] Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
line 205\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nCompilation
failed in require at /opt/otrs//Kernel/Config.pm line 97.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm line 97.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl
line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Fri May 04 14:37:44 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
for server 192.168.1.19:80, exiting...
[Fri May 04 15:19:36 2012] [error] Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
line 205\nBEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Defaults.pm line 36.\nCompilation
failed in require at /opt/otrs//Kernel/Config.pm line 97.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm line 97.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl
line 66.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Fri May 04 15:19:36 2012] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl
for server 192.168.1.19:80, exiting...
I’m not sure why.
|
---------------------------------------------------------------------
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