Help with RH8 install/Apache errors

I have a complete install of RH 8.0 (Psyche) on a PC with all packages. Mod_Perl is mod_perl-1.99_05-3, Apache is 2.0 and MySQL 3.23 I used the RPM installation for RH 8.0, and there were no errors during installation. To try and troubleshoot, I have looked at all files it lists as failing and the files exist and pass "perl -c FILENAME" with "Syntax OK". Also, I looked and the httpd.conf and all other apache-related .conf files are older time stamps (meaning no change from when Apache started successfully). I have pasted the error below, and I'm at a point where I don't know what to troubleshoot first/next. I have never gotten Mod_perl to work with Apache, since Apache is 2.0 and mod_perl is 1.x. I was told OTRS might work, however I'm not certain if I'm still hitting the same problems I hit when trying other perl-based tickting systems. I know this is off-topic, but can someone point me to a reference that describes downgrading RH 8's Apache from 2.0 to 1.3.23 (or similar). The error reads: httpd failed. The error was: Starting httpd: [Tue Oct 21 01:00:18 2003] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/mod_perl.pm line 14 Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line 6. Compilation failed in require at /opt/otrs/Kernel/cpan-lib/CGI.pm line 171. Compilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 17. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 17. Compilation failed in require at (eval 1) line 1. [Tue Oct 21 01:00:18 2003] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server localhost.localdomain:0, exiting... [FAILED] John Schubert

Hi John, On Tue, Oct 21, 2003 at 08:20:08AM -0700, John Schubert wrote:
I know this is off-topic, but can someone point me to a reference that describes downgrading RH 8's Apache from 2.0 to 1.3.23 (or similar).
No. Unfortunately RH8 comes without Apache1! :-((( And your Apache2 seems to be not complete installed. However... see below...
The error reads: httpd failed. The error was: Starting httpd: [Tue Oct 21 01:00:18 2003] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi [...] BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 17. Compilation failed in require at (eval 1) line 1.
[Tue Oct 21 01:00:18 2003] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server localhost.localdomain:0, exiting...
Just remove the "Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl" (just for preloaded perl modules) from your /etc/httpd/conf.d/otrs.conf and try to restart your webserver.
[FAILED] John Schubert
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Thanks Martin,
I think I've confused myself at this point. I removed the
line you've mentioned and the httpd will start without
error. However, .pl files aren't doing what they are
supposed to do. I get either a server error (500) when
trying OTRS or if I call up another .pl file (in another
location) I get parsed hte data as a text file.
So I'm still at the point of no Perl_mod. I tried loading
Apache 1.3.23 as a second server, but it won't play with
mod_perl either.
Any other ideas?
On Tue, 21 Oct 2003 17:56:00 +0200
Martin Edenhofer
Hi John,
On Tue, Oct 21, 2003 at 08:20:08AM -0700, John Schubert wrote:
I know this is off-topic, but can someone point me to a reference that describes downgrading RH 8's Apache from 2.0 to 1.3.23 (or similar).
No. Unfortunately RH8 comes without Apache1! :-(((
And your Apache2 seems to be not complete installed. However... see below...
The error reads: httpd failed. The error was: Starting httpd: [Tue Oct 21 01:00:18 2003] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi [...] BEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 17. Compilation failed in require at (eval 1) line 1.
[Tue Oct 21 01:00:18 2003] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server localhost.localdomain:0, exiting...
Just remove the "Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl" (just for preloaded perl modules) from your /etc/httpd/conf.d/otrs.conf and try to restart your webserver.
[FAILED] John Schubert
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.
_______________________________________________ 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/
John Schubert Linear Corporation Technical Training Manager (760) 268-7641 Desk
participants (2)
-
John Schubert
-
Martin Edenhofer