Need help with this one a bugging error

geeta geeta.tripathi at bhartitelesoft.com
Sat Mar 15 11:32:58 UTC 2003


Hello David,

This  problem is solved this issue occured because the mysql permissions were set at chmod 700 which we changed to 750.
I detected this problem when I was able to compile index.cgi at root and not as the apache user.

Sorry for the trouble and thanks for the support.


regards,

Geeta 

  ----- Original Message ----- 
  From: geeta 
  To: developers at bugzilla.org 
  Sent: Saturday, March 15, 2003 2:00 PM
  Subject: Need help with this one a bugging error


  Hello ,

  When I run index.cgi from my command line my script runs ok. But when I run from the apache  gives the following errors-

  I understand that this is a mysql shared library issue , I have done the work arounds.

  But, still getting the  same errors.

  Another issue I have installled Msql-Mysql-modules-1.2209, but checksetup.pl is always giving found v 2.0409 instead of 1.2209.

  Now, is there any way to resolve this issue.

  Enclosing the error that I got-
  Uncaught exception from user code:
          install_driver(mysql) failed: Uncaught exception from user code:
          Uncaught exception from user code:
          Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for
  module DBD::mysql: libmysqlclient.so.10: cannot open shared object file: No such file or di
  rectory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.

   at (eval 4) line 3
          Carp::croak('Can\'t load \'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD...')
  called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 93
          DynaLoader::croak('Can\'t load \'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD
  ...') called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169
          DynaLoader::bootstrap('DBD::mysql', 2.0409) called at /usr/lib/perl5/site_perl/5.00
  5/i386-linux/DBD/mysql.pm line 21
          require DBD/mysql.pm called at (eval 4) line 3
          eval 'package DBI::_firesafe; require DBD::mysql
  ;' called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 478
          DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
  inux/DBI.pm line 402
          DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
  sttest') called at globals.pl line 140
          main::ConnectToDatabase() called at index.cgi line 46
          eval 'package DBI::_firesafe; require DBD::mysql
  ;' called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 478
          DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
  inux/DBI.pm line 402
          DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
  sttest') called at globals.pl line 140
          main::ConnectToDatabase() called at index.cgi line 46
  Perhaps a required shared library or dll isn't installed where expected
   at globals.pl line 140
          Carp::croak('install_driver(mysql) failed: Uncaught exception from user code:...')
  called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 499
          DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
  inux/DBI.pm line 402
          DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
  sttest') called at globals.pl line 140
          main::ConnectToDatabase() called at index.cgi line 46

  Looking forward to hear from you.

  Thanks and regards,
  Geeta 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20030315/f2dad262/attachment.html>


More information about the developers mailing list