[rt-users] webmux.pl crashes apache2 start
Krishnamurti L. L. V. Nunes
krishnalelis at gmail.com
Tue Feb 17 16:19:02 EST 2009
Hello world!
I have a brand new installation of RT 3.8.2.
The configure, testdeps, e install worked propperly, and I was able to
run initialize-database, all ok so far.
But setting apache to run the web interface fails because of bin/webmux.pl file.
Whenever I have the line:
PerlRequire "/opt/rt-3.8/bin/webmux.pl"
in my apache config file, apache crashes with the error:
[error] Can't locate object method "Config" via package "RT" at
/opt/rt-3.8/bin/webmux.pl line 100.\nBEGIN failed--compilation aborted
at /opt/rt-3.8/bin/webmux.pl line 102.\nCompilation failed in require
at (eval 243) line 1.\n
I've tryed som workarounds found at this list archives and other
foruns, but none worked.
I've tryed upgrading UNIVERSAL::require as suggested, but it was
alread in the newest version.
I checked if it could be the config of SELINUX, but it was already set
to permissive. Nothing in the /var/log/messages.
Also tryed adding the code bellow in webmux.pl, after the BEGIN block,
but nothing changed.
require Apache::RequestUtil;
no warnings 'redefine';
my $sub = *Apache::request{CODE};
*Apache::request = sub {
my $r;
eval { $r = $sub->('Apache'); };
# warn $@ if $@;
return $r;
};
I have apache 2.2.9-10 and mod_perl 2.0.4-1 in a Debian/Lenny box.
Any fixes for that?
--
Krishnamurti Lelis Lima Vieira Nunes
More information about the rt-users
mailing list