LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2005, 03:06 AM   #1
robertngo
Member
 
Registered: Mar 2005
Posts: 34

Rep: Reputation: 15
problem with RT installation


Hi,


i have installed RT: Request Tracker on the my RHEL3 server with apache 1.3.27 and mod_perl 1.26

i add in the httpd.conf the following line

<VirtualHost 10.35.3.1>
ServerAdmin webmaster
ServerName rt.example.com
ServerAlias rt
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

PerlModule Apache:BI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>

when i restart the httpd server there is a error message

Stopping httpd: [ OK ]
Starting httpd: [Thu Jul 14 14:51:27 2005] [error] Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 3.!BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 3.!Compilation failed in require at (eval 1) line 3.!
Syntax error on line 2653 of /etc/httpd/conf/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 2) line 3.

[FAILED]

what is wrong with this httpd setting?
 
Old 07-15-2005, 08:06 AM   #2
merana
Member
 
Registered: May 2002
Location: Philly/So. Jersey
Distribution: ESXi CentOS Red-Hat Ubuntuu Solaris Debian
Posts: 85

Rep: Reputation: 15
First troubleshooting step:

Verify that the perl modules RT is calling are where RT is looking (path). It's having problem finding the following:

strict.pm
Apache/DBI.pm

Code:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 
/usr/lib/perl5/site_perl/5.6.1/i386-linux 
/usr/lib/perl5/site_perl/5.6.1 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux 
/usr/lib/perl5/vendor_perl/5.6.1 
/usr/lib/perl5/vendor_perl 
. /etc/httpd/ /etc/httpd/lib/perl) at 
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 3.!BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 3.!Compilation failed in require at (eval 1) line 3.!
Shows places that are in the perl path... You may be missing some dependencies...

Did you install this from RPM or Source?
 
Old 07-17-2005, 11:08 PM   #3
robertngo
Member
 
Registered: Mar 2005
Posts: 34

Original Poster
Rep: Reputation: 15
i have updated perl to 5.8.3 why does it still search in the 5.6.1 directory?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Problem Ricky_Hew Linux - Newbie 5 07-17-2005 05:28 PM
Installation Problem Louis11 Slackware 4 09-06-2004 09:55 AM
Installation Problem offdahook84 Mandriva 1 04-11-2004 05:17 AM
Installation Problem ALBlackshire Linux - Software 0 01-03-2002 09:03 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration