×
UNIX.COM Login
Username:
Password:  
Show Password






👤


Shell Programming and Scripting

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Error while running Rsync

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-30-2013
lovelysethii lovelysethii is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 7 August 2015, 1:19 AM EDT
Posts: 91
Thanks: 6
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old 08-31-2013
MadeInGermany MadeInGermany is online now Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 16 July 2018, 1:53 PM EDT
Location: Simplicity
Posts: 4,153
Thanks: 365
Thanked 1,418 Times in 1,274 Posts
--rsync-path=$RSYNC_COMMAND
means that $RSYNC_COMMAND must be present on the remote host!
Sponsored Links
    #3  
Old 08-31-2013
lovelysethii lovelysethii is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 7 August 2015, 1:19 AM EDT
Posts: 91
Thanks: 6
Thanked 0 Times in 0 Posts
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
Chubler_XL's Unix or Linux Image
Chubler_XL Chubler_XL is offline Forum Staff  
Moderator
 
Join Date: Oct 2010
Last Activity: 16 July 2018, 12:07 AM EDT
Posts: 3,551
Thanks: 159
Thanked 1,267 Times in 1,161 Posts
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.
Sponsored Links
    #5  
Old 09-03-2013
lovelysethii lovelysethii is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 7 August 2015, 1:19 AM EDT
Posts: 91
Thanks: 6
Thanked 0 Times in 0 Posts
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
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Rsync error while running from destination to source lovelysethii UNIX for Advanced & Expert Users 0 08-23-2013 01:12 PM
Error while running Rsync through Crontab lovelysethii UNIX for Advanced & Expert Users 4 08-22-2013 12:54 PM
rsync Error treds UNIX for Dummies Questions & Answers 2 06-09-2010 10:31 AM
Rsync Error treds UNIX for Dummies Questions & Answers 0 03-10-2010 02:56 AM



All times are GMT -4. The time now is 02:18 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.