ModPerl::Registry instead of Apache::Registry

I'm trying to get the 1.2b2 to run. When I try to access the otrs site on my web server it gives an error. The apache error log log has: [error] failed to resolve handler `Apache::Registry' [error] [client 139.78.89.31] Can't locate Apache/Registry.pm in @INC I have a ModPerl/Registry.pm that is supplied by my SuSE 8.1 apache2-mod_perl package. It looks like the Apache/Registry.pm is supplied by the mod_perl package which conflicts with the apache2-mod_perl package. How do I tell OTRS to use the apache2-mod_perl ModPerl/Registry.pm? Thanks, Jason Joines Open Source = Open Mind ========================

Hi Jason, On Wed, Feb 04, 2004 at 01:55:36PM -0600, Jason Joines wrote:
I'm trying to get the 1.2b2 to run. When I try to access the otrs site on my web server it gives an error.
The apache error log log has: [error] failed to resolve handler `Apache::Registry' [error] [client 139.78.89.31] Can't locate Apache/Registry.pm in @INC
I have a ModPerl/Registry.pm that is supplied by my SuSE 8.1 apache2-mod_perl package. It looks like the Apache/Registry.pm is supplied by the mod_perl package which conflicts with the apache2-mod_perl package.
Did you use scripts/apache-perl-startup.pl? Use scripts/apache2-perl-startup.pl. There is an example for ModPerl::Registry: scripts/apache2-httpd.include.conf
Jason Joines Open Source = Open Mind ========================
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Martin Edenhofer wrote:
Hi Jason,
On Wed, Feb 04, 2004 at 01:55:36PM -0600, Jason Joines wrote:
I'm trying to get the 1.2b2 to run. When I try to access the otrs site on my web server it gives an error.
The apache error log log has: [error] failed to resolve handler `Apache::Registry' [error] [client 139.78.89.31] Can't locate Apache/Registry.pm in @INC
I have a ModPerl/Registry.pm that is supplied by my SuSE 8.1 apache2-mod_perl package. It looks like the Apache/Registry.pm is supplied by the mod_perl package which conflicts with the apache2-mod_perl package.
Did you use scripts/apache-perl-startup.pl? Use scripts/apache2-perl-startup.pl.
There is an example for ModPerl::Registry: scripts/apache2-httpd.include.conf
Jason Joines Open Source = Open Mind ========================
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
_______________________________________________ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
Can't seem to get that to work either. When I include /opt/otrs/cripts/apache2-httpd.include.conf which calls /opt/otrs/scripts/apache2-perl-startup.pl, I get the error below. I've used the /opt/otrs/bin/otrs.checkModules to check and verify all modules are OK. "[Mon Feb 09 13:33:29 2004] [error] Can't locate Kernel/Modules/AdminCharset.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /srv/www/perl-lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/ModPerl /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /srv/www/ /srv/www/lib/perl) at /opt/otrs/scripts/apache2-perl-startup.pl line 116. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 116. Compilation failed in require at (eval 4) line 1. [Mon Feb 09 13:33:29 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server myhost.mydomain.org:0, exiting... "

Hi Jason, On Mon, Feb 09, 2004 at 12:00:39PM -0600, Jason Joines wrote:
[...] Can't seem to get that to work either. When I include /opt/otrs/cripts/apache2-httpd.include.conf which calls /opt/otrs/scripts/apache2-perl-startup.pl, I get the error below. I've used the /opt/otrs/bin/otrs.checkModules to check and verify all modules are OK.
"[Mon Feb 09 13:33:29 2004] [error] Can't locate Kernel/Modules/AdminCharset.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /srv/www/perl-lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/ModPerl /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /srv/www/ /srv/www/lib/perl) at /opt/otrs/scripts/apache2-perl-startup.pl line 116. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 116. Compilation failed in require at (eval 4) line 1.
[Mon Feb 09 13:33:29 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server myhost.mydomain.org:0, exiting... "
This is a otrs bug. Remove "use Kernel::Modules::AdminCharset;" from /opt/otrs/scripts/apache2-perl-startup.pl and try it again. Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Martin Edenhofer wrote:
Hi Jason,
On Mon, Feb 09, 2004 at 12:00:39PM -0600, Jason Joines wrote:
[...] Can't seem to get that to work either. When I include /opt/otrs/cripts/apache2-httpd.include.conf which calls /opt/otrs/scripts/apache2-perl-startup.pl, I get the error below. I've used the /opt/otrs/bin/otrs.checkModules to check and verify all modules are OK.
"[Mon Feb 09 13:33:29 2004] [error] Can't locate Kernel/Modules/AdminCharset.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /srv/www/perl-lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/ModPerl /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /srv/www/ /srv/www/lib/perl) at /opt/otrs/scripts/apache2-perl-startup.pl line 116. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 116. Compilation failed in require at (eval 4) line 1.
[Mon Feb 09 13:33:29 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server myhost.mydomain.org:0, exiting... "
This is a otrs bug. Remove "use Kernel::Modules::AdminCharset;" from /opt/otrs/scripts/apache2-perl-startup.pl and try it again.
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
_______________________________________________ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
I commented out that line. Now any time I include /opt/otrs/cripts/apache2-httpd.include.conf, apache just dies at startup. I turned the logging up to debug but nothing shows up in the error_log. I I do the startup manually, I get a segfaul. I'm using the prefork MPM. Any problems with that?

Jason Joines wrote:
Martin Edenhofer wrote:
Hi Jason,
On Mon, Feb 09, 2004 at 12:00:39PM -0600, Jason Joines wrote:
[...] Can't seem to get that to work either. When I include /opt/otrs/cripts/apache2-httpd.include.conf which calls /opt/otrs/scripts/apache2-perl-startup.pl, I get the error below. I've used the /opt/otrs/bin/otrs.checkModules to check and verify all modules are OK.
"[Mon Feb 09 13:33:29 2004] [error] Can't locate Kernel/Modules/AdminCharset.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /srv/www/perl-lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/ModPerl /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /srv/www/ /srv/www/lib/perl) at /opt/otrs/scripts/apache2-perl-startup.pl line 116. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 116. Compilation failed in require at (eval 4) line 1.
[Mon Feb 09 13:33:29 2004] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server myhost.mydomain.org:0, exiting... "
This is a otrs bug. Remove "use Kernel::Modules::AdminCharset;" from /opt/otrs/scripts/apache2-perl-startup.pl and try it again.
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication! _______________________________________________ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
I commented out that line. Now any time I include /opt/otrs/cripts/apache2-httpd.include.conf, apache just dies at startup. I turned the logging up to debug but nothing shows up in the error_log. I I do the startup manually, I get a segfaul. I'm using the prefork MPM. Any problems with that? _______________________________________________ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
Searching on Google I found reference to this happening with versions of DBI less than 1.30. I had 1.28. After upgrading to 1.40, no more segfaults.
participants (2)
-
Jason Joines
-
Martin Edenhofer