Menu

Got error 4012 Time-out

Help
2005-05-13
2013-04-17
  • Nicklas Bondesson

    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

     
    • Nicklas Bondesson

      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

       

Log in to post a comment.