Bug#587729: otrs2: edit of /etc/otrs/Kernel/Config.pm breaks running OTRS (libapache2-reload-perl related?)
Ralf Gross
Ralf-Lists at ralfgross.de
Fri Jul 2 10:47:43 UTC 2010
Hi,
Ralf Gross schrieb:
> > Michiel Beijen <michiel.beijen at otrs.com>:
> > I **guess** this issue is actually caused by a bug that was
> > introduced in Perl 5.10.1. It is not present in 5.10.0 or earlier,
> > and it was addressed in version 5.12.0. See:
>
> FYI we are not running perl 5.10.1
>
> > $perl -v
> >
> > This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
>
>
> > dpkg -l "*perl*" | grep ^ii
> > ...
> > ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction and Report
> > ...
Now I tried the workaround from
http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&CategoryID=31&ItemID=364
Edit /usr/share/otrs/scripts/apache2-perl-startup.pl (Debian Lenny,
otrs 2.4.7).
####
[...]
use strict;
use warnings;
# make sure we are in a sane environment.
#$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
# check $ENV{MOD_PERL}, $ENV{GATEWAY_INTERFACE} is deprecated for
# mod_perl2
$ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!";
# RG Debian Bug Report 587729
BEGIN {
$ModPerl::Util::DEFAULT_UNLOAD_METHOD = 'unload_package_xs';
}
use ModPerl::Util;
# set otrs lib path!
use lib "/usr/share/otrs/";
use lib "/usr/share/otrs/Kernel/cpan-lib";
[...]
####
restarted apache, edited Config.pm and still get the same error and
have to restart apache.
####
Traceback: ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Jul 2 12:45:47 2010
Message: Access denied for user 'otrs'@'localhost' (using password: NO)
Traceback (23253):
Module: Kernel::System::DB::new (v1.105.2.1) Line: 188
Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 143
Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
Module: (eval) (v1.88) Line: 204
Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
####
Ralf
More information about the pkg-perl-maintainers
mailing list