Closed (fixed)
Project:
Provision
Version:
6.x-1.0-rc7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Apr 2011 at 22:13 UTC
Updated:
14 Jun 2012 at 20:26 UTC
Verifying a new server, getting all green until
[code]
X : Could not rsync from '/var/aegir/config/includes' to 'aegir@otherserver.com:/'
X : /var/aegir/config/includes could not be synced to remote server otherserver.com. Changes might not be available until this has been done. (error: Host key verification failed. rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(632) [sender=3.0.4])
[/code]
rsync is installed on both systems.
The aegir account exists on both systems and the aegir accound has sudo access to apachectl
Running on openSUSE
Comments
Comment #1
joestewart commentedCheck the SSH keys section of the Remote servers page ( http://community.aegirproject.org/node/30 )
Comment #2
joestewart commentedComment #3
VanD commentedThanks for the link.
I created my key on the master server, added it to the remote server.
ssh'd from the master server to the remote server and added the host key.
It did not ask for a password which makes me assume that the key worked properly. (Normally it would prompt for a password)
Yet, I am still getting the error.
Comment #4
VanD commentedOn this line
Is it trying to write to the root dir of the remote server? Because the account doesn't have write permissions there. I want it to write to /var/aegir
Comment #5
VanD commentedComment #6
VanD commentedI preformed my own rsync from the Aegir server to the remote server, it asked to add the key, I said yes.
Now all is well.
Comment #7
jmary commentedSo far I'm facing that problem with an install freshly made today from the .deb provided by install instructions from http://community.aegirproject.org/installing/debian on ubuntu 10.04.
I'm not a newbie on Linux at all, and that problem is resisting badly.
The full error is :
From command line, rsync and ssh are working fine. I have the white mind of death to solve that at this stage.
Comment #8
sdragnev commentedjmary: I had this problem when I had tested the setup by connecting to the remote server using the server's IP instead of the hostname.
The IP address was in the known_hosts, but not the hostname.
May be unrelated to your issue, but that was the case for me.
Does ssh work both with IP and the hostname that you're using in Aegir?
Comment #9
rowbotony commentedI encountered this problem because files/private/* files were owned by www-data:www-data.
Before
I did a #chown aegir:www-data files/private -R and that resolved my "could not rsync" error.
After chown, rsync OK