"connection unexpectedly closed" error

Wayne Davison wayned at samba.org
Fri Jan 28 01:04:32 GMT 2005


On Wed, Jan 26, 2005 at 12:34:02PM -0600, David L. Harfst wrote:
>   building file list ... done
>   rsync: connection unexpectedly closed (69 bytes read so far)

It would probably help to upgrade the server to 2.6.3, since 2.6.2 did
not pass back most errors to the client.  Also, a 2.6.3 client is a
little better at grabbing a remote error message when the server dies,
so upgrading the local side too might help you to debug the problem.  I
assume you looked for errors in the rsync log file?  You might also want
to try setting "ulimit -c unlimited" and then running starting the rsync
daemon temporarily like this:  "rsync --daemon --no-detach".  After
running the failing client command, kill the daemon using Ctrl-C and
check if it core dumped.  That will at least let you figure out if the
problem is one of the program crashing or not.  If not, you should
hopefully be able to find an error message telling you what went wrong.

..wayne..


More information about the rsync mailing list