Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Having issues getting RT to run on Ubuntu. I followed the steps here but am running into a problem where apache doens't start after pasting in the following lines in the sites-available/default file.

Include /etc/request-tracker3.8/apache2-modperl2.conf
RedirectMatch ^/$ /rt 

The apache2 error log has the following line.

[Wed Feb 02 11:14:25 2011] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/local/share/request-tracker3.8/lib /usr/share/request-tracker3.8/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 4277) line 3.\n

I'm guessing (hoping actually) that this is a simple fix, but I'm kind of lost.

Thanks,

share|improve this question
    
"RT"? I guess "RT on U-u 10x2 srv apch w't s" would be a lot clearer subject line for your question. –  poige Feb 2 '11 at 16:39
    
@poige RT (Request Tracker) is a ticketing product by Best Practical, it's pretty common in Unix shops (bestpractical.com/rt) –  voretaq7 Feb 2 '11 at 16:45

1 Answer 1

up vote 1 down vote accepted

Well it's a simple error: You either don't have the Apache::DBI perl module installed, or it's not in Perl's @INC search path.

Make sure that the libapache-dbi-perl package is installed (apt-get install libapache-dbi-perl) -- This should probably be a dependency of any RT packages, but it's possible it was left out.
If the package is installed find out where it's putting itself by using dpkg -L libapache-dbi-perl and ensure that it's in the perl @INC path list.

share|improve this answer
    
Well that was easy. Thanks! –  Dayton Brown Feb 2 '11 at 16:45
    
If you installed RT using apt and this package wasn't installed as a dependency you may want to let the RT package maintainer know so they can fix it for the future. –  voretaq7 Feb 2 '11 at 17:04
    
I actually used the install from the wiki. requesttracker.wikia.com/wiki/WithEmailFacility Can you install using sudo apt-get? That would have made my life much easier. –  Dayton Brown Feb 7 '11 at 18:04
    
@Dayton There is an apt package for Request Tracker, though I don't know how good it is / how up to date it is. In my case RT is something I would install on my own because its strength is that it can be customized extensively and apt packages tend to make that difficult, but if you just need the basic functionality of a ticket system the apt package may be worth looking at. –  voretaq7 Feb 7 '11 at 18:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.