unexplained error (code 255) at main.c(1045)

Eric Whiting ewhiting at amis.com
Tue Apr 15 01:16:44 EST 2003

I see the same thing with rsync 2.5.6 over Solaris 9 and ssh. I changed to using
rsh and the error goes away. Not a good long term solution, but useful for

Something is goofy with the rsync and solaris 9 ssh -- timing or process
termination problem?


"Roy S. Rapoport" wrote:
> I'm trying to use rsync (2.5.6 on both sides) to copy a home directory from
> one system (Solaris 2.6) to another (Solaris 9); the command is running on the
> Sol9 version and is fetching files; I'm using rsync with SSH, rather than in
> client/server mode.
> The command line I've used is:
> rsync --archive --verbose --rsh=ssh rsr at fold:/home/rsr /home
> I've attempted this both as the rsr user and as the root user (thinking that
> perhaps the fact it overwrites my ~/.ssh directory is the reason it tweaks).
> The error I get, invariably, but not at consistent points in the transfer, is:
> rsync error: unexplained error (code 255) at main.c(1045)
> Which is, unfortunately, a rather vague error.
> I've searched Google/Google-groups and the FAQ.  main.c(1045)is just an exit
> statement, so it's not all that useful.
> Any suggestions as to what I may do differently?
> -roy
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

More information about the rsync mailing list