I have libnns-mysql on a production FreeBSD 5.4 system, recently the following error message appears in the messages log file:
service: libnss-mysql: Connection to server 'localhost' failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
This message comes from variuos services: postfix, authdaemond, radiusd etc. I figure that the problem is the number of connections between libnss-mysql and mysql server itself. I applied the wait_timeout variable to the mysql configuration, however it didn't solve the problem.
Can you give me any other suggestion to resolve this problem?
Thanks and regards,
R.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't image that would be the error you get if you run out of sockets/connections. If you issue a "show processlist" in MySQL when it happens, how may connections are owned by your libnss-mysql users?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have libnns-mysql on a production FreeBSD 5.4 system, recently the following error message appears in the messages log file:
service: libnss-mysql: Connection to server 'localhost' failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
This message comes from variuos services: postfix, authdaemond, radiusd etc. I figure that the problem is the number of connections between libnss-mysql and mysql server itself. I applied the wait_timeout variable to the mysql configuration, however it didn't solve the problem.
Can you give me any other suggestion to resolve this problem?
Thanks and regards,
R.
I can't image that would be the error you get if you run out of sockets/connections. If you issue a "show processlist" in MySQL when it happens, how may connections are owned by your libnss-mysql users?