HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem recompiling mod_perl
Operating System - Linux
1828341
Members
3743
Online
109976
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 08:02 AM
02-27-2006 08:02 AM
Problem recompiling mod_perl
Hi there –
I am going through the motions of setting up RT version 3.4.4 on a Red Hat Enterprise 3 server. The server originally had Perl 5.8.0 and MySQL 3.23. I upgraded Perl to version 5.8.8 without removing the original perl files, and removed older MySQL database for version 4.1.16. The installation procedure went by without any major problems. I am at the point of setting up the web interface. The server currently has two websites on it, and the rt website would be added to the list. The new virtual server will have its own ip address and hostname.
I am modifying the httpd.conf file and have the following entries set up for the rt server:
Alias /rt /opt/rt3/share/html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
Whenever I try to start the server with the above information, I get the following error:
Syntax error on line 577 of /usr/local/apache_1.3.perl/conf/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /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 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 5) line 3.
Line 577 corresponds to the PerlModule Apache::DBI line. I verified the Apache::DBI module has been installed.
I recompiled mod_perl to run with perl 5.8.8. The newer version of perl is located in the /usr/local/lib directory. The recompilation appeared to go without a problem, but the same error message occurred when I tried running the server with aforementioned information.
I am going through the motions of setting up RT version 3.4.4 on a Red Hat Enterprise 3 server. The server originally had Perl 5.8.0 and MySQL 3.23. I upgraded Perl to version 5.8.8 without removing the original perl files, and removed older MySQL database for version 4.1.16. The installation procedure went by without any major problems. I am at the point of setting up the web interface. The server currently has two websites on it, and the rt website would be added to the list. The new virtual server will have its own ip address and hostname.
I am modifying the httpd.conf file and have the following entries set up for the rt server:
Alias /rt /opt/rt3/share/html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
Whenever I try to start the server with the above information, I get the following error:
Syntax error on line 577 of /usr/local/apache_1.3.perl/conf/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /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 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 5) line 3.
Line 577 corresponds to the PerlModule Apache::DBI line. I verified the Apache::DBI module has been installed.
I recompiled mod_perl to run with perl 5.8.8. The newer version of perl is located in the /usr/local/lib directory. The recompilation appeared to go without a problem, but the same error message occurred when I tried running the server with aforementioned information.
A Journey In The Quest Of Knowledge
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 02:05 AM
02-28-2006 02:05 AM
Re: Problem recompiling mod_perl
Hello Andrew,
Try add a softlink ('ln -s ') to Apache, dir where is DBI.pm is located, into one of those @INC dirs.
HTH
Regards,
Andrey
Try add a softlink ('ln -s ') to Apache, dir where is DBI.pm is located, into one of those @INC dirs.
HTH
Regards,
Andrey
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP