Facing issues with rsync


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Facing issues with rsync
# 1  
Old 06-27-2017
Facing issues with rsync

Hello Gurus,
I am running rsync command to copy certain Directories and files into that directories to remote server. While ruuning the command all teh files has been copied but I am facing error.
The below command I am executing to copy Directories and files to remote server:
HTML Code:
rsync -avrz ssh /u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/ appstg2@emastgebs02:/u01/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/
After the execution I am facing the below error:
HTML Code:
rsync: link_stat "/u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/admin/ssh" failed: No such file or directory (2)
HTML Code:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
Please advice.

Thanks-
P
# 2  
Old 06-27-2017
Stupid question: Are you in the directory
Code:
/u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/admin/

when you invoke the rsync command?

What happens when you try this?
Code:
rsync -avrz /u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/ appstg2@emastgebs02:/u01/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/

I could be wrong but I think it is trying to copy over a file called ssh.

Andrew
# 3  
Old 06-27-2017
Hello Andrew,
No issues or errors I am facing whenever I am running the below command you mentioned at your post.
HTML Code:
rsync -avrz /u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/ appstg2@emastgebs02:/u01/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/
Can you please let me know what are those mistakes from my side?

Thanks-
P
# 4  
Old 06-27-2017
Quote:
Originally Posted by pokhraj_d
Hello Andrew,
No issues or errors I am facing whenever I am running the below command you mentioned at your post.
HTML Code:
rsync -avrz /u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/ appstg2@emastgebs02:/u01/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/
Can you please let me know what are those mistakes from my side?

Thanks-
P
You had the word ssh in your list of files to copy over to the remote server. The error message was telling you that it could not find the ssh file. I'm guessing you were in the directory
Code:
/u02/oracle/EBSUAT/fs1/EBSapps/appl/xxnsp/12.0.0/

at the time.

Andrew
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Facing issues with shell script changes

My current requirement is to replace xxyxx string with value of date date1 variable holds a date and the current script writes html tags to a file as follows echo date1 nawk 'BEGIN{ FS="," print "<HTML>""<HEAD>""<p>Hi All,<br><br>There are no cases closed on the xxyxx" print ... (2 Replies)
Discussion started by: Rajesh A S
2 Replies

2. 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

3. Post Here to Contact Site Administrators and Moderators

Regarding facing issues while accessing UNIX.com site

Hello Moderators/Admins, This is regarding an issue which I am facing from last 7 to 8 days. Issue is while trying to access this forum(simple hitting http://unix.com) I am able to login but many times my request gets timed out or 404 error or if I am able to login it will be excessive slow even... (0 Replies)
Discussion started by: RavinderSingh13
0 Replies

4. Shell Programming and Scripting

Facing issues with cronjobs

Hello Everyone, We have a cronjob scheduled to pick up files from one system and transfer to another system. the underlying code is a shell script. These cronjobs were working correctly until sometime. 2 days back they did not pick up the scripts but created empty logs. However when we tried... (6 Replies)
Discussion started by: Rads
6 Replies

5. UNIX and Linux Applications

Rsync Issues

Hi I am running several syncs from different servers to our data centre. I am getting some issues with the rsyncs that i am running. The OS are all red hat enterprise The rsync command is as follows #!/bin/bash if then rsync -aWv --stats progress --delete --ignore-errors --exclude... (0 Replies)
Discussion started by: treds
0 Replies

6. Shell Programming and Scripting

Facing issues with Content-Type:application/x-download Content-Disposition:attachment

I am in the process of developing a perl cgi page. I had succeeded in developing the page but there are few errors/issues with the page. description about cgi page: My CGI page retrieves all the file names from an directory and displays the files in drop down menu for downloading the... (5 Replies)
Discussion started by: scriptscript
5 Replies

7. UNIX for Dummies Questions & Answers

Facing issues while running a cronjob !

Hi, I am trying to run a cronjob. But while doing so I am getting the following error message :- can't open yourfile in /var/spool/cron/crontabs directory. No such file or directory How can I resolve this issue ? Please help. Thanks Please view this code tag video for... (14 Replies)
Discussion started by: acidburn_007
14 Replies

8. Shell Programming and Scripting

Facing issues with tar and gzip !

Hi, I am trying to :- (1.) Tar the file and then (2.) Gzip it ! Tar command :- tar -cvf BLUESTAR_Archive.log_$(date +%y_%m_%d_%H_%M).tar /app/local/XXX/XXX/XXX/logs Gzip command :- Gzip /app/local/XXX/XXX/XXX/logs/BLUESTAR_Archive.log_$(date +%y_%m_%d_%H_%M).tar ... (9 Replies)
Discussion started by: acidburn_007
9 Replies

9. Shell Programming and Scripting

Rsync through java program - issues with remote connection failure

Hi Everybody, I am running rsync through my java application. The Java application will sync the files with remote machine. During our connection failure testing we noticed an issue running rsync through java program. The java application which is running at source side is not receiving any... (2 Replies)
Discussion started by: MVEERA
2 Replies

10. AIX

facing problem using su

Hi, I am able to login using su - or su directly , # prompt is coming, it doesnt ask for password. any normal user on aix system is login using su - or su . Please suggest where to change the configuration direct root login is disabled in /etc/ssh/sshd_config file. (0 Replies)
Discussion started by: manoj.solaris
0 Replies
Login or Register to Ask a Question