 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
valkyrie
Joined: 02 Jan 2008 Posts: 1
|
|
Problem getting System Audit to start in MySQL |
|
We're trying to evaluate DBAudit, and I'm running into some difficulties getting it to work with my MySQL setup. The server is Red Hat Linux Enterprise 5, running MySQL 5. The client computer is running WinXP. I have a successful connection to the MySQL server, but cannot enable system auditing. I've copied the two .so files to several directories (in hopes that one will work), including /lib, /var/lib, and /var/lib/mysql, but I still get the following error in mysql.log whenever I try to enable auditing:
 |
 |
080102 9:10:52 [ERROR] Can't open shared library 'db_audit_mysql.so' (errno: 0 db_audit_mysql.so: cannot open shared object file: No such file or directory)
080102 9:10:52 [ERROR] Can't open shared library 'db_audit_sendmail.so' (errno: 0 db_audit_sendmail.so: cannot open shared object file: No such file or directory)
|
The basedir in the my.cnf file is /var/lib. The db and user have been created and seem to have appropriate permissions. The errors would seem to indicate we just don't have the files in the right folder, but I've put them everywhere I can think of, including where the install directions asked me to.
Ideas?
|
|
Wed Jan 02, 2008 12:48 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
You should copy them to a directory listed in LD_LIBRARY_PATH. You may also specify path to DB Audit's .so files in /etc/ld.so.conf file. Please note that libmysqlclient.so must also exist in the same directory. (See MySQL documentation where you can put libmysqlclient.so). Make sure it has libmysqlclient.so name, not libmysqlclient.so.15 or any other. You may create a link to a specific shared library (libmysqlclient.so -> libmysqlclient.so.15).
Please let us know if this helps.
|
|
Wed Jan 02, 2008 12:59 pm |
|
 |
gdavila911
Joined: 18 Nov 2008 Posts: 1 Country: Mexico |
|
same problem |
|
Hi
I have the same problem with MYSQL in UBUNTU.
Did you find the solution to this problem?
|
|
Wed Nov 19, 2008 1:42 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Have you followed instructions providedi n the previous post?
Are you running 32-bit or 64-bit MySQL server?
|
|
Wed Nov 19, 2008 1:49 am |
|
 |
|
|
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
|
|
|