Line 760:
Line 760:
===== Affa stops working after prodserver was rebuild. =====
===== Affa stops working after prodserver was rebuild. =====
'''Description:'''
'''Description:'''
−
* When affaserver tries to make an ssh connection to prodserver it fails and you get this message: "SSH connection to ''prodserver ip'' failed. Did you send the public key".
+
* Affa stopped working or is broken.
−
* Resending the keys does not solve the problem. You need remove the existing key so that the next ssh connection re-gets the keys from prodserver.
+
* When affaserver tries to make an ssh connection to prodserver it fails.
+
* In the /var/log/affa/''jobname''.log file you will this message: "SSH connection to ''prodserver ip'' failed. Did you send the public key".
+
* Resending the keys does not solve the problem.
'''Solution:'''
'''Solution:'''
* This is probably due to the key for prodserver that is stored on the affaserver no longer matches the key of prodserver.
* This is probably due to the key for prodserver that is stored on the affaserver no longer matches the key of prodserver.
+
* You need remove the existing key so that the next ssh connection re-gets the keys from prodserver.
* From the command line edit the /root/.ssh/known_hosts file and remove the line for prodserver. It starts with: ''prodserver ip'' ssh-rsa
* From the command line edit the /root/.ssh/known_hosts file and remove the line for prodserver. It starts with: ''prodserver ip'' ssh-rsa