Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

dbd-mysql permission denied

by bennY (Initiate)
on Jun 02, 2015 at 11:29 UTC ( [id://1128750]=perlquestion: print w/replies, xml ) Need Help??

bennY has asked for the wisdom of the Perl Monks concerning the following question:

Hello, i have a strange problem with spamassassin related to the Perl SQL Module. Everything worked like a charm until i decided to install a new Perl Module which was required for an additional spamassassin module.. and now i'm getting this when running spamassassin in debug mode:
Jun 2 13:03:41.779 [2653] warn: config: failed to load user (xxx@xxx. +de) scores from SQL database: install_driver(mysql) failed: Can't loc +ate DBD/mysql.pm: lib/DBD/mysql.pm: Permission denied at (eval 1204) +line 3, <GEN17> line 2. Jun 2 13:03:41.780 [2653] warn: Jun 2 13:03:41.780 [2653] warn: at /usr/share/perl5/Mail/SpamAssassi +n/Conf/SQL.pm line 138. Jun 2 13:03:41.780 [2653] warn: spamd: service unavailable: Error fet +ching user preferences via SQL
I installed the required Perl Module with these commands:
cpan cpan App::cpanminus cpanm Mail::DKIM
Any Idea what happened ? The System is Debian Jessie (64Bit) Thank you! Greetings bennY

Replies are listed 'Best First'.
Re: dbd-mysql permission denied
by Anonymous Monk on Jun 02, 2015 at 22:56 UTC

    ?where is   lib/DBD/mysql.pm located?

    ?where is   auto/DBD/mysql/mysql.so located?

    ?what do you get when you run

    ls -loanh ...auto/DBD/mysql/mysql.so ldd ...auto/DBD/mysql/mysql.so
Re: dbd-mysql permission denied
by sundialsvc4 (Abbot) on Jun 02, 2015 at 12:02 UTC

    Start by verifying that the library-file exists, and that it is accessible for r-x access by the world.   Then, be sure that you have run the /sbin/ldconfig command, which will require Root privileges, to update the loader’s library lookup cache.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1128750]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found