RES: [rt-users] RT2 and DBI problems
Presciliano dos Santos Neto
psneto at telepar.com.br
Thu Nov 29 05:54:16 EST 2001
Changed PerlModule Apache::DBI to PerlModule DBI but the error remains.
> ----- Mensagem original -----
> De: James Adam Sigler [SMTP:hollow1 at cc.gatech.edu]
> Enviada em: Quarta-feira, 28 de Novembro de 2001 21:03
> Para: Presciliano dos Santos Neto
> Cc: 'rt-users at lists.fsck.com'
> Assunto: Re: [rt-users] RT2 and DBI problems
>
>
> Instead of the line in your httpd.conf file PerlModule Apache::DBI to just
>
> DBI.
>
> Adam
>
> On Wed, 28 Nov 2001, Presciliano dos Santos Neto wrote:
>
> > Hello !
> >
> > I have installed RT2, checked all the documentation but I can't resolve
> an
> > issue with DBI. I think the following lines describes the problem better
> > than my poor english :-)
> > I know DBI and Apache::DBI are diferent modules, and I think somebody is
> > calling the wrong one. Any help ?
> >
> > Thanks in advance,
> >
> > Presciliano
> >
> > ------ I've installed all the RT2 dependencies with CPAN, and
> Apache::DBI
> > again by hand ...
> >
> > cpan> install DBI
> > DBI is up to date.
> >
> > cpan> install Apache::DBI
> > Apache::DBI is up to date.
> >
> > cpan> exit
> > Lockfile removed.
> >
> > ------- http.conf
> > ...
> > <VirtualHost *>
> > DocumentRoot /usr/local/rt2/WebRT/html
> > ServerName security.telepar.net.br
> > PerlModule Apache::DBI
> > PerlFreshRestart On
> > PerlRequire /usr/local/rt2/bin/webmux.pl
> > <Location />
> > SetHandler perl-script
> > PerlHandler RT::Mason
> > </Location>
> > </VirtualHost>
> > ...
> >
> > ------ httpd loads fine
> >
> > [root at pinguim /root]# /usr/local/apache/bin/apachectl restart
> > /usr/local/apache/bin/apachectl restart: httpd restarted
> >
> > ------ Tried to load RT2 page in a browser. Received the Internal Server
> 500
> > error
> >
> > [root at pinguim /root]# tail /usr/local/apache/logs/error_log
> > [Wed Nov 28 17:08:42 2001] [notice] SIGHUP received. Attempting to
> restart
> > [Wed Nov 28 17:08:42 2001] [notice] Apache/1.3.20 (Unix) PHP/4.0.6
> > mod_perl/1.26 configured -- resuming normal operations
> > [Wed Nov 28 17:08:56 2001] [error] Can't locate object method "connect"
> via
> > package "Apache::DBI::connect" at
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 420.
> >
> > [root at pinguim /root]# find / -name DBI.pm
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
> > /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
> > /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
>
> --
>
> Sincerely,
> -James Adam Sigler-
>
>
>
> James Adam Sigler
> College of Computing
> Georgia Tech
> Phone: 404-385-0391
> Office: CoC 211
> Email: hollow1 at cc.gatech.edu
>
More information about the rt-users
mailing list