4 messages in com.mysql.lists.perlRE: Annoying error with mysql.so| From | Sent On | Attachments |
|---|---|---|
| Vadtec | 20 Mar 2005 00:39 | |
| Mark | 20 Mar 2005 01:18 | |
| Vadtec | 20 Mar 2005 11:20 | |
| Robin Hughes | 20 Mar 2005 11:46 |
| Subject: | RE: Annoying error with mysql.so![]() |
|---|---|
| From: | Vadtec (vad...@vadtec.net) |
| Date: | 03/20/2005 11:20:45 AM |
| List: | com.mysql.lists.perl |
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 vad...@vadtec.net
On Sun, 2005-03-20 at 09:18 +0000, Mark wrote:
-----Original Message----- From: Vadtec [mailto:vad...@vadtec.net] Sent: zondag 20 maart 2005 9:42 To: msql...@lists.mysql.com 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




