-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In mysql on solaris 10, can't install audit plugin #97
Comments
Not too sure why you are encountering this error. We never tried supporting Solaris so I guess there is some work needed to get it to fully function. Can you share how you got the plugin to compile on solaris. Maybe that can help. |
Thannks for you reply. I encountred two problem during complie on solaris.
} secondly, ld of solaris not compatible. and then modified in src/Makefile no problmen to compile on solaris this plugin with this two solution. |
Thanks for specifying the details for getting the plugin to compile on Solaris. Solaris support is not currently on our roadmap, I am leaving this issue open and if anyone else is looking for a Solaris solution please add a comment here. |
@ajaajalee $ nm /usr/local/mysql5.5.27-ndb7.2.8/lib/plugin/libaudit_plugin.so | grep log_slow_statement
$ nm /usr/local/mysql5.5.27-ndb7.2.8/bin/mysqld | grep log_slow_statement IMO,
|
Hi I am using ubuntu 14.04 and mysql - 5.5.50-0ubuntu0.14.04.1 I tried to execute below command to generate offset but it returns error. manoj@manoj-Lenovo-B50-80:~$ ../offset-extract.sh /usr/sbin/mysqld How can I resolved this issue? |
@kubo |
Hi. The problem is that /usr/sbin/mysqld is stripped – it has no symbols. Please see the discussion in #136 which may be useful. You can also try installing the mysql-server-5.5-dbgsym package and see if it brings you a version of mysqld that isn’t stripped. If so, you would run the offset-exract.sh script with two arguments: the path to mysqld and the path to the file with the debug symbols. I will try to set up an Ubuntu 14.04 system and test this myself sometime soon. Thanks, Aharon Robbins Aharon (Arnold) Robbins From: Manoj [mailto:[email protected]] Hi I am using ubuntu 14.04 and mysql - 5.5.50-0ubuntu0.14.04.1 I tried to execute below command to generate offset but it returns error. manoj@manoj-Lenovo-B50-80:~$ ../offset-extract.sh /usr/sbin/mysqld //offsets for: /usr/sbin/mysqld (5.5.50-0ubuntu0.14.04.1) How can I resolved this issue? — |
Thanks for your reply |
I spent quite some time trying to determine how to install and use the -dbgsym package for mysql-server on Ubuntu 14.04. I was not able to use any of the files it installed as the symbol file for use with the extract_offset script. I think your best bet will be to build mysql-server from Ubuntu sources and then extract the offsets from the version you compile yourself. Best of luck, Aharon |
Closing this issue. |
I did success compile solairs 10 x64 this audit plugin 1.0.7
but, in mysql can't install audit plugin.
mysql> INSTALL PLUGIN AUDIT SONAME 'libaudit_plugin.so';
ERROR 1126 (HY000): Can't open shared library '/usr/local/mysql5.5.27-ndb7.2.8/lib/plugin/libaudit_plugin.so' (errno: 2 ld.so.1: mysqld: fatal: relocation error: file /usr/local/mysql5.5.27-ndb7.2.8/lib/plugin/libaudit_plugin.so: symbol _Z18log_slo)
Do you know how to solve this error?
The text was updated successfully, but these errors were encountered: