LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Strange rsync issues

[ILUG] Strange rsync issues

Darragh Bailey felix at compsoc.nuigalway.ie
Mon Jan 25 14:00:48 GMT 2010


On Wed, Jan 20, 2010 at 09:22:40AM +0000, Brian O'Mahony wrote:
> I have been running about eight cron'd rsynchs from a server in Bangalore to a  server in Dublin daily for the last number of years, successfully. Recently however something strange has started to happen.
> 
> The synchs all fire off at the same time basically. The first synch of each time fails, as follows:
> 
> 
> spawn /usr/bin/rsync -av -e ssh --delete --bwlimit=0 buzz:/cvs/AppDev/ /cvs/AppDev/
> 
> ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> 
> send: spawn id exp3 not open
> 
>     while executing
> 
> "send "<password>\r""
> 
>     (file "/root/cvssync" line 6)
> 
> 
> 
> The next cronjob email I get, which is twelve seconds later, completes. If I run it manually it completes. If I change the first cronjob in the list, that is the one that fails.
> 
> Anyone have any ideas?
> 
> B

try changing the starting command line to provide a little more detail

spawn /usr/bin/rsync -av -e "ssh -vvv" --delete --bwlimit=0
buzz:/cvs/AppDev/ /cvs/AppDev/

and compare the output at the start between the working and failing
connections until the ssh process completes the connection.

-- 
Darragh

"Nothing is foolproof to a sufficiently talented fool."


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell