Unix/Linux Go Back    


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

Shell Programming and Scripting


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-30-2013   -   Original Discussion by lovelysethii
lovelysethii's Unix or Linux Image
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 Unix and Linux 08-31-2013   -   Original Discussion by lovelysethii
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 24 February 2018, 7:39 AM EST
Location: Simplicity
Posts: 3,985
Thanks: 342
Thanked 1,338 Times in 1,207 Posts
--rsync-path=$RSYNC_COMMAND
means that $RSYNC_COMMAND must be present on the remote host!
Sponsored Links
    #3  
Old Unix and Linux 08-31-2013   -   Original Discussion by lovelysethii
lovelysethii's Unix or Linux Image
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 Unix and Linux 09-01-2013   -   Original Discussion by lovelysethii
Chubler_XL's Unix or Linux Image
Chubler_XL Chubler_XL is offline Forum Staff  
Moderator
 
Join Date: Oct 2010
Last Activity: 23 February 2018, 8:47 PM EST
Posts: 3,466
Thanks: 151
Thanked 1,226 Times in 1,125 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 Unix and Linux 09-03-2013   -   Original Discussion by lovelysethii
lovelysethii's Unix or Linux Image
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
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 02:12 PM
Error while running Rsync through Crontab lovelysethii UNIX for Advanced & Expert Users 4 08-22-2013 01:54 PM
rsync Error treds UNIX for Dummies Questions & Answers 2 06-09-2010 11:31 AM
Rsync Error treds UNIX for Dummies Questions & Answers 0 03-10-2010 03:56 AM



All times are GMT -4. The time now is 11:59 AM.