rsnc doesnt work

rsnc doesnt work

Postby aclase » Sat Mar 14, 2015 7:18 am

Hello!

When i try get rsync, i get error:


root@cloudbox:/root # rsync --progress --delete -avhHn -e ssh /root/testr root@IP:/root/testr
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.9]
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync error: error in IPC code (code 14) at io.c(1532) [sender=3.0.9]

I need copy from remote server to nas and execute the command on nas

how it can be fixed?
aclase
Donator VIP
Donator VIP
 
Posts: 3
Joined: Sat Mar 07, 2015 6:41 pm

Re: rsnc doesnt work

Postby Jocko » Sat Mar 14, 2015 10:05 am

Hi aclase,

I think that rsync returns the issue!
rsync: Failed to exec ssh: No such file or directory (2)
ssh is the remote ssh client. On the WEB, many people think that ssh command is available on every host but it is wrong!
ssh is available only if openSSH is installed and as writing in the backup help, you need to check what ssh client is available on your remote server (for example with our firmware the ssh client is dbclient instead of ssh).

I advice also to check if you can get a shell access on your remote server before using the rsync command:
Code: Select all
dbclient -p 22 root@IP:/
(if the remote SSH server port is 22)

aclase wrote:I need copy from remote server to nas and execute the command on nas
Your command don't do that!
Yes you run rsync on the NAS side but you ask to synchronize the folder content '/root/' from the NAS to the folder /root/testr on the remote server.

Did you install our firmware? because used the folder '/root' is a nonsense. :disapprove
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: rsnc doesnt work

Postby uelpenich » Tue Mar 31, 2015 8:53 pm

Hi aclase,
I send you a description how rsync works in client server mode and a step by step howto to get it working.

See also the howtos in http://plugout.net/viewtopic.php?f=7&t=1470.
You do not have the required permissions to view the files attached to this post.
uelpenich
Donator VIP
Donator VIP
 
Posts: 120
Joined: Sun Jun 12, 2011 4:45 pm
Location: Cologne, Germany


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 8 guests