Menu

libnss-mysql 1.2 and mysql4

Help
2005-12-31
2013-04-17
  • Timo Eckert

    Timo Eckert - 2005-12-31

    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...

     
    • Ben Goodwin

      Ben Goodwin - 2006-01-03

      Did you restart (full stop and start) httpd and possibly nscd (if you're using it)?

       
      • Ben Goodwin

        Ben Goodwin - 2006-01-11

        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)?

         
    • Timo Eckert

      Timo Eckert - 2006-01-03

      Hello,

      of course I restarted the httpd. And I dont have nscd running, i don't like it. ;)

      Greetings...

       
      • Ben Goodwin

        Ben Goodwin - 2006-01-05

        you're not running selinux are you?

         
        • Timo Eckert

          Timo Eckert - 2006-01-05

          Hello,

          no Im not running se-linux.

          Greetings...

           

Log in to post a comment.