[rt-users] Stupid Admin (me) problem

Jon Stearley jrstear at sandia.gov
Tue Oct 9 16:33:50 EDT 2001


On Tue, Oct 09, 2001 at 10:05:43AM -0700, Rob Mitzel wrote:
> Hi everyone...
> 
> So the machine that I was working with RT on before it went production went
> kaput (someone else opened telnet, and there was an exploit...you know the
> rest.)
> 
> Anyways, I reinstalled everything, and went to update my Perl to 5.6.1,
> installed it fine...but anyways, now when I install RT, everything's fine,
> except now I always get errors like this when I do a configtest on apache:
> 
> "[Tue Oct  9 10:08:53 2001] [error] Can't locate Apache.pm in @INC (@INC
> contains: /usr/local/lib/site_perl/5.00503/i386-freebsd
> /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl) at
> (eval 1) line 3.
> 
> Syntax error on line 1055 of /usr/local/etc/apache/httpd.conf:
> Can't locate Apache/DBI.pm in @INC (@INC contains:
> /usr/local/lib/site_perl/5.00503/i386-freebsd /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl) at
> (eval 2) line 3."
> 
> Now, I know the module is there, but it's in a 5.6.1 directory instead. I've

i encountered this on debian testing dist.  if you are running debian
unstable of testing, try this (it worked for me): 

1. have this line in your /etc/apt/sources.list:
   deb-src ftp://ftp.us.debian.org/debian testing main contrib non-free
2. `apt-get update`
3. `apt-get source -b libapache-mod-perl`
4. `dpkg -i (the deb the above line generates)`

i'm not sure if debian's perl modules strategy is really broken (as
opinioned in sec9.1 of rt's install doc), or if it is just due to the
fact that the testing dist is just a time-delayed unstable (ie- no
rigorous release testing), and perl module versions/dependancies can
get out-of-sync.  my 2c.

-- 
+--------------------------------------------------------------+
| Jon Stearley			(505) 845-7571  (FAX 844-2067) |
| Compaq Federal LLC		High Performance Solutions     |
| Sandia National Laboratories	Scalable Systems Integration   |
+--------------------------------------------------------------+




More information about the rt-users mailing list