I've been using libnss-mysql for some weeks now and it has been working really good up until now.
Suddenly rsync started to hang when syncing files to one of our servers. We're running a mysql cluster (3 server setup).
This is the error message I get on the target server:
rsync: libnss-mysql: mysql_query failed: Got error 4012 'Time-out, most likely caused by simple read or cluster failure' from ndbcluster, trying again (2)
I can access the data in the cluster and even a getent passwd works.
Any clues?
Thanks in advance.
Nicklas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually libnss-mysql should not be used in this operation since the rsync is running as root and the rsync method is ssh. root it not stored in mysql for obvious reasons ;)
This is what's in my nsswitch.conf
passwd: compat mysql
group: compat mysql
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone!
I've been using libnss-mysql for some weeks now and it has been working really good up until now.
Suddenly rsync started to hang when syncing files to one of our servers. We're running a mysql cluster (3 server setup).
This is the error message I get on the target server:
rsync: libnss-mysql: mysql_query failed: Got error 4012 'Time-out, most likely caused by simple read or cluster failure' from ndbcluster, trying again (2)
I can access the data in the cluster and even a getent passwd works.
Any clues?
Thanks in advance.
Nicklas
Actually libnss-mysql should not be used in this operation since the rsync is running as root and the rsync method is ssh. root it not stored in mysql for obvious reasons ;)
This is what's in my nsswitch.conf
passwd: compat mysql
group: compat mysql