Error while running Rsync


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error while running Rsync
# 1  
Old 08-30-2013
Error while running Rsync

hi All,

i am getting some error while running Rsync, and unable to find error at Google even, could anyone help me here please.

Quote:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [sender=3.0.9]
---------- Post updated 08-31-13 at 07:47 AM ---------- Previous update was 08-30-13 at 04:35 PM ----------

above problem got resolved because it was not finding the particular username at destination. now i am getting some more issue while running Rsync. here is the snippet of error log:

Quote:
ksh: /uv1082/u135/home/vcrqapp/bin/rsync-3.0.9/bin/rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(605) [sender=3.0.9]
here is the Rsync command in my script:
Code:
$RSYNC_COMMAND -prgtluE --delete -e /usr/bin/ssh --exclude=".ssh/" --exclude=".profile/" --exclude="rsync-3.0.9/" --exc
lude="q3q5489v/" --exclude="uswl45715/" --exclude="uswu48231/" --exclude="q3trcynk/" --exclude="uswl43732/" --rsync-path=$RSY
NC_COMMAND --stats $1 vcrpapp@$DESTINATION_ZONE_SERVER:$2 2> $RSYNC_LOG_DIR/err.tmp >> $RSYNC_LOG_DIR/$RSYNC_LOG_FILENAME


where RSYNC_COMMAND is the path of source server Rsync. please suggest what could be the cause of this errror.
# 2  
Old 08-31-2013
--rsync-path=$RSYNC_COMMAND
means that $RSYNC_COMMAND must be present on the remote host!
# 3  
Old 08-31-2013
yes it is on the server to .

$RSYNC_COMMAND, is the path of destination so now i corrected the path of rsync to the destination server path, but still i am getting the similar error with destination server address:

Quote:
rsync_ecredit_db.ksh[8]: /uv1091/u342/home/vcrpapp/bin/rsync-3.0.9/bin/rsync: not found
i have copied the same set of binaries to source as well as at destination.
# 4  
Old 09-01-2013
Try running /uv1091/u342/home/vcrpapp/bin/rsync-3.0.9/bin/rsync on the destination machine,

I suspect it cannot be run, most likely permissions, missing library files or the 2 machines aren't code compatible.
# 5  
Old 09-03-2013
i tried executing doing this and found below error message:

Code:
bash-3.2$ . /uv1091/u342/home/vcrpapp/bin/rsync-3.0.9/bin/rsync

bash: /uv1091/u342/home/vcrpapp/bin/rsync-3.0.9/bin/rsync: No such file or directory
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Terminal running bash/rsync script does not close with exit (MacOS High SIerra)

Hello, I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using, #!/bin/bash # main backup location, trailing slash included backup_loc="/Volumes/Archive_Volume/00_macos_backup/" # generic backup function function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies

2. HP-UX

Rsync an rcp error

Hi, I have installed rsync (together with its dependencies) in both source and destination HPUX servers (V 11.31). However when I attempt to copy files over (as user root) I get this error : # rsync -avz ./* root@10.97.131.4:/tmp/copy Password: sh: rsync: not found. rsync: connection... (5 Replies)
Discussion started by: anaigini45
5 Replies

3. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

4. UNIX for Advanced & Expert Users

Rsync error

this rsync from one day to the other simply no longer works, the key is ok, permissions and other ... with the same key can not connect via SSH which shows that there are no errors, but rsync it just does not work. :confused: root@san # rsync -avz -e "ssh -p 22 -i /root/.ssh/rsync"... (4 Replies)
Discussion started by: c0i0t3
4 Replies

5. UNIX for Advanced & Expert Users

Rsync error while running from destination to source

hi All, i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error: bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Discussion started by: lovelysethii
0 Replies

6. UNIX for Advanced & Expert Users

Error while running Rsync through Crontab

hi All, i have implemented Rsync in my source and destination server. while running through command prompt it is working fine: ksh rsync_bravo_db.ksh usa0300uz1252.apps.mc.xerox.com /uv1402/u207/home/bravodba/bin/rsync-3.0.9/config/mrsx_rsync.cfg but later on i created a another ksh and... (4 Replies)
Discussion started by: lovelysethii
4 Replies

7. Solaris

rsync - remote connection error

Hi , We have installed rsync in two Solaris boxes, when we try to sync files from one machine to another.. it is giving the following error. ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory rsync: connection unexpectedly closed (0 bytes received so far) rsync... (1 Reply)
Discussion started by: MVEERA
1 Replies

8. UNIX for Dummies Questions & Answers

rsync Error

hi I am running a rsync from one of our remote sites to the main building. i am using this command to run betwwen 2 linux servers rsync -aWv -e ssh --stats progress --delete --ignore-errors /raid1/PRODUCTION/WORK_IN_PROGRESS_PEARTREE/ 5.0.2.245:/prod2/RSYNCS/CREATIVE2/ >>... (2 Replies)
Discussion started by: treds
2 Replies

9. UNIX for Dummies Questions & Answers

Rsync Error

hi I have set up a rsync between to linux servers. One running Red Hat the other suse. The data is coping over but the sync using the delete option is not working. Output from command rsync -aWv --stats progress --delete /prod/CREATIVE2/WORK_IN_PROGRESS_PEARTREE 5.0.3.30:/raid1/PRODUCTION/... (0 Replies)
Discussion started by: treds
0 Replies

10. AIX

parsing error when I run RSYNC

This is what I get when I run the RSYNC command. I just created brand new ssh2 rsa keys. warning: /come/out/and/play/.ssh2/id_rsa_2048_a: 4: parsing line failed. warning: /come/out/and/play/.ssh2/id_rsa_2048_a: 5: parsing line failed. warning: " " " " " " " " ... (3 Replies)
Discussion started by: tfort73
3 Replies
Login or Register to Ask a Question