RE: Annoying error with mysql.so

Mark <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Organization Asarian-host
Message-ID <[email protected]>

> -----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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.