[rt-users] perl erroc on dbix

Ruslan Zakirov ruslan.zakirov at gmail.com
Sat Oct 22 08:40:30 EDT 2005


On 10/22/05, Jesse Vincent <jesse at bestpractical.com> wrote:
> On Sat, Oct 22, 2005 at 04:31:15PM +0400, Ruslan Zakirov wrote:
> > It could be file permissions. May be apache couldn't read this dir/file?
>
> I think it's case. (Mysql is the name of the perl DBD, not mysql)
>
> Jesse

# perl -MDBD::mysql -e'1'
# perl -MDBD::Mysql -e'1'
Can't locate DBD/Mysql.pm in @INC (@INC contains: /etc/perl
/usr/lib/perl5/site_perl/5.8.7/x86_64-linux
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.6/x86_64-linux /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6/x86_64-linux
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.7/x86_64-linux
/usr/lib/perl5/5.8.7 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.


>
> > On 10/22/05, Steve Rieger <steve.rieger at tbwachiat.com> wrote:
> > > [Sat Oct 22 00:54:48 2005] [error] Unable to load DBIx::SearchBuilder
> > > database handle for 'mysql'.\nPerhaps you've picked an invalid
> > > database type or spelled it incorrectly.\nCan't locate DBIx/
> > > SearchBuilder/Handle/mysql.pm in @INC (@INC contains: /usr/local/
> > > rt344/local/lib /usr/local/rt344/lib /http/WebGUI/lib /usr/local/lib/
> > > perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/
> > > perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/
> > > 5.8.7 /usr/local/lib/perl5/site_perl . /usr/local/apache/ /usr/local/
> > > apache/lib/perl) at (eval 478) line 1.\nBEGIN failed--compilation
> > > aborted at (eval 478) line 1.\nCompilation failed in require at /usr/
> > > local/rt344/lib/RT.pm line 172.\n
> > >
> > >
> > > in apache logs
> > >
> > > but i do have it
> > >
> > >
> > > /usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle/mysql.pm
> > >
> > > any ideas
> > >
> > > this is on solaris 10 with mod_perl as static on apache 1.3.33
> > >
> > >
> > > Steve Rieger
> > > Cell      646-335-8915
> > > Office   212 804 1131
> > > Fax       212 804 1200
> > > AIM      chozrim
> > > Yahoo riegersteve
> > >
> > > if ((light eq dark) && (dark eq
> > > light)
> > >    If light were dark and dark were light
> > >     && ($blaze_of_night{moon} ==
> > > black_hole)                                                The moon a
> > > black hole in the blaze of night
> > >     && ($ravens_wing{bright} == $tin{bright}))
> > > {                                                  A raven's wing as
> > > bright as tin
> > >   my $love = $you = $sin{darkness} +
> > > 1;                                                            A
> > > raven's wing as bright as tin
> > > };
> > >
> > >
> > > _______________________________________________
> > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > >
> > > Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> > >
> > > Buy your copy of our new book, RT Essentials, today!
> > >
> > > Download a free sample chapter from http://rtbook.bestpractical.com
> > >
> >
> >
> > --
> > Best regards, Ruslan.
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> >
> > Buy your copy of our new book, RT Essentials, today!
> >
> > Download a free sample chapter from http://rtbook.bestpractical.com
> >
>
> --
>


--
Best regards, Ruslan.



More information about the rt-users mailing list