Hello, I have a problem running both apache and nss_mysql simultaneously.. Apache is running but it is not responding to any requests... if I do a 'ps' command several times I can see "<defunct>" next to the httpd and/or mysql lines.
Seems like apache child cannot login...If I erase "mysql" from nsswitch.conf everithing is working fine.
Another problem I have now is that nss_mysql doesn't want to run any more... I cannot even login to the system even as root or any other user until I remove the "mysql" from nsswitch.conf... I've got either "error loading shared libraries: /lib/libnss_mysql.so.2: undefined symbol: mysql_init", or "error loading shared libraries: /lib/libnss_mysql.so.2: undefined symbol: mysql_escape_string".
Please tell me if you know anything about this.
10x
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your problem with Apache is really weird. I have been running nss_mysql since the beginning on a machine with Apache running. Could you get the latest CVS version then compile it with -DDEBUG and send the auth log ?
For your second problems, it seems that the lib loader cannot find the MySQL libraries. Maybe you've installed a newer version of libmysqlclient or even installed it.
Regards,
Guillaume Morin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have a problem running both apache and nss_mysql simultaneously.. Apache is running but it is not responding to any requests... if I do a 'ps' command several times I can see "<defunct>" next to the httpd and/or mysql lines.
Seems like apache child cannot login...If I erase "mysql" from nsswitch.conf everithing is working fine.
Another problem I have now is that nss_mysql doesn't want to run any more... I cannot even login to the system even as root or any other user until I remove the "mysql" from nsswitch.conf... I've got either "error loading shared libraries: /lib/libnss_mysql.so.2: undefined symbol: mysql_init", or "error loading shared libraries: /lib/libnss_mysql.so.2: undefined symbol: mysql_escape_string".
Please tell me if you know anything about this.
10x
Hi Alexander,
Your problem with Apache is really weird. I have been running nss_mysql since the beginning on a machine with Apache running. Could you get the latest CVS version then compile it with -DDEBUG and send the auth log ?
For your second problems, it seems that the lib loader cannot find the MySQL libraries. Maybe you've installed a newer version of libmysqlclient or even installed it.
Regards,
Guillaume Morin.
in my last message, I meant "desintalled it" of course :)