error from rsync2.5.6

Jennifer Lu mou at goodluck.sfbay.sun.com
Fri Sep 19 02:50:53 EST 2003



Hi Dave,

Thanks for the tips, I gave it a try and still got the same error. 

I compiled rsync2.5.6 on Solaris 9 successfully. I tried to 
run rsync with the same version on both servers as follow:

source.server:/usr/bin/rsync.256 --rsync-path=/usr/bin/rsync.256 --rsh=/usr/bin/ssh -C --stats 
--timeout=43200 -avSH --delete /tmp destination.server:/tmp

It seems rsync completed but with one error:

Number of files: 816939
Number of files transferred: 0
Total file size: 27234835633 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 17920432
Total bytes written: 17920448
Total bytes read: 20

wrote 17920448 bytes  read 20 bytes  16866.32 bytes/sec
total size is 27234835633  speedup is 1519.76
rsync error: unexplained error (code 255) at main.c(620)  <<<<<  The error message

Should I modify it on main.c file? Appreciate any help.

I also added /usr/local/lib by running crle command. 

Thanks,
Jennifer



> Date: Mon, 15 Sep 2003 08:59:24 +0100
> From: Dave Barstow <dbrsync at uk.photronics.com>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Jennifer Lu <mou at goodluck.sfbay.sun.com>
> CC: rsync at lists.samba.org
> Subject: Re: error from rsync2.5.6
> Content-Transfer-Encoding: 7bit
> 
> Jennifer,
> 
> I recall getting some error like this when I setup rsync on Solaris 9. I'd
> recommed the following:
> 
> 1. Check the rsync version is the same at both ends.
> 2. Use option  --rsync-path to tell rsync where its friend keeps the binary.
> 3. Check your runtime library path with crle command at both ends. I suspect
> /usr/local/lib should be there.
> 
> I have problems compiling both samba and rsync under solaris 9. configure (Make)
> can't seem to work out where popt.h is and I'm not sure if ln -s
> /opt/sfw/include/popt.h
> or ln -s popt/popt.h is correct for rsync.
> 
> Dave.
> 
> Jennifer Lu wrote:
> 
> > Hi,
> >
> > I just compiled new release 2.5.6 rsync in solaris5.9 machines,
> > and ran a rsync job,I got the following errors:
> >
> > rsync error: unexplained error (code 255) at main.c(620)
> >
> > Both source and destination servers are running 5.9, can you please
> > tell me should I update anything in main.c file?
> >
> > Thanks,
> > Jennifer
> >
> > --
> > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 
> 
> 

Jennifer




More information about the rsync mailing list