Bug #59074 | mysql-5.5.8 won't start with libnss-mysql enabled | ||
---|---|---|---|
Submitted: | 20 Dec 2010 23:01 | Modified: | 26 May 2012 20:11 |
Reporter: | John Wall | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S2 (Serious) |
Version: | 5.5.8 | OS: | Linux (Ubuntu 10.10 server) |
Assigned to: | CPU Architecture: | Any | |
Tags: | libnss-mysql error |
[20 Dec 2010 23:01]
John Wall
[21 Dec 2010 16:57]
Sveta Smirnova
Thank you for the report. There is listed limitation in libnss-mysql documentation at http://libnss-mysql.sourceforge.net/libnss-mysql/README: "Supported MySQL Versions: o MySQL 3.23.9 - 4.1.x" Why do you think this is MySQL 5.5.8 bug?
[31 Dec 2010 11:17]
John Wall
Hi there, Why i think its a bug is cause i get this error on the clients and not on the servers, ive been trying alot of different linuxes now with the same problem. Our server runs a supported MySQL. What i dont get is that mysql seems to depend on the info in nsswitch.conf on the clients. As i wrote before, if i remove mysql in nsswitch.conf everything working fine. I dont get why that have something to do with mysql in general ?
[31 Dec 2010 12:05]
Sveta Smirnova
Thank you for the feedback. You wrote: "What i dont get is that mysql seems to depend on the info in nsswitch.conf on the clients.", but error you provided is actually happens on server: 101220 22:45:38 mysqld_safe Starting mysqld daemon with databases from /export/db 101220 22:45:38 - mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary How can it be so? Also you don't follow order installation instructions of libnss: o Add data to MySQL. The default configs will work well with the sample sql database in sample/sample_database.sql. Read that file for more details on the sample database. o Edit (or create) /etc/nsswitch.conf such that it contains at least the following: passwd: files mysql shadow: files mysql group: files mysql Please do it as described: remove mysql from /etc/nsswitch.conf, start mysqld, add libnss data to MySQL server, then add mysql to /etc/nsswitch.conf and restart MySQL server. Please inform us if problem still exists.
[1 Jan 2011 18:53]
John Wall
ok, lets take it from the start. libnss-mysql is used like ldap but agains a mysqlserver, every server and client uses libnss-mysql to authenticate agains a mysql-server(5.1.53). Our authentication-server runs mysql 5.1.53 and works like a charm, BUT the problem here is that i want to run mysql-server 5.5.8 on a client-server not the libnss-mysql server itself. So what im trying to explain here is that our authentication-server have nothing to do with the client-server that im trying to install mysql-5.5.8 on. This is what i dont get, nsswitch.conf is just used for authentication of local users, why does mysql 5.5.8 depends on nsswitch.conf ?
[2 Jan 2011 1:19]
Elodie BOSSIER
Greetings, I have the same problem with libnss-mysql 1.5 (2005) and MySQLd 5.5.8 (2010). When i try to start MySQL i have this error : Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed! or when i try to start a new SSH window, it's impossible, with a ssh restart it's same. When i take off mysql from nsswitch.conf it's works. I need to much libnss-mysql and without it i can't continue my business. Do you have an idea please ?
[2 Jan 2011 1:20]
Elodie BOSSIER
PS. I works with Slackware 64 bits.
[26 Apr 2012 20:11]
Sveta Smirnova
Thank you for the feedback. I can not repeat this behavior with current development version. Could you please try with current GA version 5.5.22 and inform us if problem still exists?
[27 May 2012 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".