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@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
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 debug. Something is goofy with the rsync and solaris 9 ssh -- timing or process termination problem? eric "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@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
Try using the --blocking-io option. -----Original Message----- From: Roy S. Rapoport [mailto:rsync@ols.inorganic.org] Sent: Monday, April 14, 2003 11:10 AM To: rsync@lists.samba.org Subject: Re: unexplained error (code 255) at main.c(1045) On Mon, 14 Apr 2003, Eric Whiting wrote:> I see the same thing with rsync 2.5.6 over Solaris 9 and ssh. I changed tousing> rsh and the error goes away. Not a good long term solution, but useful for > debug. > > Something is goofy with the rsync and solaris 9 ssh -- timing or process > termination problem?FWIW, the issue here seems to definitely be the SSH included in Solaris 9, rather than Solaris 9 and its interaction with SSH. In other words, I tried using OpenSSH (3.6p1) on Solaris 9, and it gave no problems -- so there's a slightly better long-term solution, until Sun gets around to doing something about it (or rsync works around it). -roy -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Possibly Parallel Threads
- unexplained error (code 255) at main.c(620)
- unexplained error (code 23) at main.c(1045)
- DO NOT REPLY [Bug 6461] New: rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]"
- rsync error: unexplained error (code 255) at main.c(925)
- Error unexplained (code 255) AT main.c(1298)