I'm using libnss-mysql1.2 with mysql3 server, without any problems. Now I want to migrate to mysql4 and I got following errors in my syslog about 10 lines/second:
Dec 31 16:52:17 server httpd: libnss-mysql: Unable to save socket info
I don't know where is the problem? Of course libnss-mysql is recompiled against the new MySQL-Header and Libraries. If I do an ls -al I don't get any errors. Only from the apache (v1.3.33). What can I do? The Second Problem resulting form this, is that the MySQL-Connection is not closed, and I have round about 80-150 MySQL-Connections with the Command "Connect" and Status "reading from net". I have done a dirty patch that the Connection is closed, but the Problem exists. I have also tested libnss-mysql 1.5 but the Error is still the same.
My System is a Gentoo with MySQL 4.1.14 compiled from Gentoo and a self-compiled Apache 1.3.33.
I hope you can help me.
Greetings...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is odd -- I've tried reproducing with similar software but I can't. Can you run an strace and/or compile in debugging to see what's going on (see the file DEBUGGING for help)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using libnss-mysql1.2 with mysql3 server, without any problems. Now I want to migrate to mysql4 and I got following errors in my syslog about 10 lines/second:
Dec 31 16:52:17 server httpd: libnss-mysql: Unable to save socket info
I don't know where is the problem? Of course libnss-mysql is recompiled against the new MySQL-Header and Libraries. If I do an ls -al I don't get any errors. Only from the apache (v1.3.33). What can I do? The Second Problem resulting form this, is that the MySQL-Connection is not closed, and I have round about 80-150 MySQL-Connections with the Command "Connect" and Status "reading from net". I have done a dirty patch that the Connection is closed, but the Problem exists. I have also tested libnss-mysql 1.5 but the Error is still the same.
My System is a Gentoo with MySQL 4.1.14 compiled from Gentoo and a self-compiled Apache 1.3.33.
I hope you can help me.
Greetings...
Did you restart (full stop and start) httpd and possibly nscd (if you're using it)?
This is odd -- I've tried reproducing with similar software but I can't. Can you run an strace and/or compile in debugging to see what's going on (see the file DEBUGGING for help)?
Hello,
of course I restarted the httpd. And I dont have nscd running, i don't like it. ;)
Greetings...
you're not running selinux are you?
Hello,
no Im not running se-linux.
Greetings...