Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
rsync -avz /home/websites/ root@172.18.224.135::root/test/
rsync: failed to connect to 172.18.224.135: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [sender=3.0.6]
Is the command correct?
please help i am new to linux
well that suggests you don't have an rsync server listening at the other end. Do you believe you have? These days it's more common to run rsync over SSH, removing the need for a formal rsync service listening at the other end, and getting a more secure encrypted connection with it.
I can't tell you that, you need to already know what you actually want to achieve with your own systems and describe it effectively. We know nothing about the systems involved, you do.
well that suggests you don't have an rsync server listening at the other end. Do you believe you have? These days it's more common to run rsync over SSH, removing the need for a formal rsync service listening at the other end, and getting a more secure encrypted connection with it.
what command can i use instead acid_kewpie.please help..
As I just said, I don't know, as I don't know what you want to achieve and what resources you have to work with. Do you have ssh access to the peer server? You can try just adding "-e ssh" to the command as per the manpage, but there are so many unknowns for us here...
I can't tell you that, you need to already know what you actually want to achieve with your own systems and describe it effectively. We know nothing about the systems involved, you do.
i need to copy a whole folder of websites to another server .the exact same thing with permissions and all subdirectories.i am trying to rsync the folder to the other serther using the command
rsync -avz /home/websites/ root@172.18.224.135::root/test/
rsync: failed to connect to 172.18.224.135: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [sender=3.0.6]
i am getting the following errors
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.6]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
well you've still not got an rsync server to connect to, so that's not surprising. Do you think you have one or not? If you do, fix it, if not, don't use rsync directly.
well you've still not got an rsync server to connect to, so that's not surprising. Do you think you have one or not? If you do, fix it, if not, don't use rsync directly.
how to enable rsync on the server
i am using CentOS
please help
As above, we don't know what you're working with. also as above, you would generally do this over ssh, there are many many many guides online for using rsync over ssh if you have a search. Often it's just a case of adding "-e ssh" to the command though (also, as above)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.