1832212 Members
2410 Online
110041 Solutions
New Discussion

RSYNC ERROR

 
meekrob
Super Advisor

RSYNC ERROR

Hi ,
i have the following error when using rsync between two servers , note that rsync function properly on the same server (locally).
rsync -av /tmp/toto /scxdpap2:tmp/toto
password:
sh:rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error : error in rsync protocol data stream (code12) at io.c (463) [sender=2.6.8]

note that rlogin work properly
thank's in advance for your help


7 REPLIES 7
Ivan Krastev
Honored Contributor

Re: RSYNC ERROR

You lost communication with another rsync. Possible causes for that are: remote rsync not working, remote disk is full, network errors.

regards,
ivan


meekrob
Super Advisor

Re: RSYNC ERROR

Hi ,
note that the ping is working properly ,
but an other remark is :
that for exemple when i put this command locally it works well , but when i also i put it locally but in this time specifying the name of the server , it gives me the same error ,
rsync -av /tmp/toto scxdpap1:tmp/toto
note that scxdpap1 is the local server
Ivan Krastev
Honored Contributor

Re: RSYNC ERROR

possible error maybe misconfigured resolvers - try with ip add , instead of names
IT_2007
Honored Contributor

Re: RSYNC ERROR

It seems it is not able to find path for rsync utility on remote server. If you know where it is installed on remote server then specify full path for rsync.
Steven E. Protter
Exalted Contributor

Re: RSYNC ERROR

Shalom,

key:
sh:rsync: not found

whereis rsync

find /usr /opt -name rsync

Probably your PATH variable is not correct.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
meekrob
Super Advisor

Re: RSYNC ERROR

Hi ,
i tried to put the ip address but did not solve the problem ,
also i tried to put the path in the command but also not work
Lutz Eßer
Occasional Visitor

Re: RSYNC ERROR

Hi,
I have had the same problem.

try with ssh
rsync -av --rsync path=/usr/local/bin/rsync /tmp/toto /scxdpap2:tmp/toto

or with rsh
rsync -av --rsh=remsh /tmp/toto /scxdpap2:tmp/toto

I hope it´s not too late.

Regards Lutz
never say never