RE: Annoying error with mysql.so
Robin Hughes <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
This thread may help. It seems to be a problem in SElinux. http://www.fedoraforum.org/forum/archive/index.php/t-22941.html --- Vadtec <[email protected]> wrote: > Ok, the mysql.so file is chmod 555, world readable > and executable. > > As for Apache being chrooted, I installed the Fedora > Core 3 RPM version > of it, so I doubt it will be chrooted. But, alas, i > havent had much > exposure to chroot, so I have no idea how that could > be affecting it. > > Vadtec > [email protected] > > On Sun, 2005-03-20 at 09:18 +0000, Mark wrote: > > > > > -----Original Message----- > > > From: Vadtec [mailto:[email protected]] > > > Sent: zondag 20 maart 2005 9:42 > > > To: [email protected] > > > Subject: Annoying error with mysql.so > > > > > > > > > Sun Mar 20 02:25:54 2005] [error] [client > 127.0.0.1] install_driver > > > (mysql) failed: Can't load > '/usr/lib/perl5/site_perl/5.8.5/i386-linux- > > > thread-multi/auto/DBD/mysql/mysql.so' for module > > > DBD::mysql: > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread- > > > multi/auto/DBD/mysql/mysql.so: failed to map > segment from > > > shared object: > > > Permission denied at > /usr/lib/perl5/5.8.5/i386-linux-thread- > > > multi/DynaLoader.pm line 230. > > > > > > Is this an issue with Apache not being able to > access the > > > mysql.so file or directory? > > > > That is what it seems to be saying. > > > > > I dont see how as those dirs are chmod 755, so > it should > > > be able to read and exec. > > > > And the file itself? Do: > > > > ls -la /usr/lib/perl5/ [cut to avoid wrap] > /auto/DBD/mysql/mysql.so > > > > Is is world-readable? Also, is your Apache > chrooted, by any chance? > > > > - Mark > > > > System Administrator Asarian-host.org > > > > --- > > "If you were supposed to understand it, > > we wouldn't call it code." - FedEx > > > > > > > -- > MySQL Perl Mailing List > For list archives: http://lists.mysql.com/perl > To unsubscribe: > http://lists.mysql.com/[email protected] > > -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]