error from rsync2.5.6

Dave Barstow dbrsync at uk.photronics.com
Fri Sep 19 17:02:37 EST 2003


Jennifer / JW

I use SUNW open ssh without any problems with rsync (ever interoperating with DIY compile installs
on older machines).
Apart from checking disk space, I would try to reduce variables by trying rshd as the
transport protocol. Perhaps your could truss -f inetd process on the remote to see what files (bins
& libs)
rsync is opening.
This is the command line option I use most frequently

rsync -vv -z --archive --stats --delete -e ssh --rsync-path=$RSYNC_REM_BIN $RSYNC_LOCAL_PATH
root@$RSYNC_SERVER:$RSYNC_REMOTE_PATH

I've compiled with GCC 2.95.3 & 3.3 so I don't think its a compiler problem

Good luck ;-)

Dave
jw schultz wrote:

> On Thu, Sep 18, 2003 at 09:50:53AM -0700, Jennifer Lu wrote:
> >
> >
> > 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.
>
> That error indicates a child process returned an exit status
> of -1.
>
> It looks like you using the Sun supplied ssh.  There have
> been a number of reports of problems with Sun's ssh port.  I
> know dependancies are a pain but i'd suggest using a self
> built openssh on both ends.  If you use the latest source
> that will also close up some security holes.
>
> >
> > 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
> >
> > --
> > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> >
>
> --
> ________________________________________________________________
>         J.W. Schultz            Pegasystems Technologies
>         email address:          jw at pegasys.ws
>
>                 Remember Cernan and Schmitt
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

--

Dave Barstow
Data Systems Department
Photronics (UK) Ltd.
Tel: +44 161 930 4831
Fax: +44 161 930 4801





More information about the rsync mailing list