SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Problem running db_audit_mysql.so

 
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools View previous topic
View next topic
Problem running db_audit_mysql.so
Author Message
jlozano



Joined: 13 Jul 2015
Posts: 2
Country: Mexico

Post Problem running db_audit_mysql.so Reply with quote
Hello,

I have downloaded the demo of DB Audit and I'm testing it on a MySQL installed on Ubuntu 14.04.

When I restart the mysql service I'm getting the following error:

Can't open shared library 'db_audit_mysql.so' (errno: 0 /usr/lib/mysql/plugin/db_audit_mysql.so: wrong ELF class: ELFCLASS32

A ldd on the library shows the following:

ldd db_audit_mysql.so
linux-gate.so.1 => (0xf771f000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7598000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7593000)
libelf.so.1 => /usr/lib/i386-linux-gnu/libelf.so.1 (0xf757a000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf755e000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7476000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7430000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7413000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7264000)
/lib/ld-linux.so.2 (0xf7722000)

Could you please help me solve the problem?

Thanks
Mon Jul 13, 2015 1:42 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6507

Post Reply with quote
The error seems to indicate a mismatch between so version 32-bit / 64-bit and MySQL binaries. If your server is 64-bit, please verify the copied 'db_audit_MySQL.so' is also 64-bit.
Mon Jul 13, 2015 7:11 pm View user's profile Send private message
jlozano



Joined: 13 Jul 2015
Posts: 2
Country: Mexico

Post Reply with quote
Thanks for your answer.

Where can I get the 64-bit version of the libraries? In the DB Audit installation there is only the 32-bit version of them.
Mon Jul 13, 2015 7:24 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6507

Post Reply with quote
I'm sorry for the confusion. It looks like your system type isn't currently supported by the system auditing feature.
Tue Jul 14, 2015 1:20 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.