Thursday, December 11, 2008

Resetting Hypervm Slave password - remote_authentication_failed

HyperVMs pass had to be reset on a slave server due to the "remote_authentication_failed" error when accessing the slave node in the slave server.

If you are receiving this error, and when you can't reset the password on the slave server from hypervm, you can manually do this on the slave server using the following commands:

lphp.exe ../bin/common/resetpassword.php slave 'put_your_pass_here'


Now there will be situations where, you still not be able to do it. In this situation, get the slave password from the master node, by logging to shell and then entering these commands there

ls -l /usr/bin/hypervmdb

Make sure that it is having 755 permissions. Or else give it.

echo "select nname, realpass from pserver" | hypervmdb

It will show you a output similar to

nname realpass
localhost ~password1
66.14.29.130 !pass2
9.212.25.156 !pass3
23.1.142.215 +pass4
141.22.16.203 !pass5
212.121.45.109 pass6

Take the pass from that list and reset the password using the command I mentioned above (ofcourse in slave). It should work.

No comments: