- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- rsync problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 05:05 PM
10-22-2004 05:05 PM
Connection timed out
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
how to solve it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2004 01:02 PM
10-23-2004 01:02 PM
Re: rsync problem
scp command.
Attaching a document that works very nicely for exchanging public keys enabling password free copying of files between Linux and/or HP-UX systems.
Ignore the X-Windows instructions, the cat command will do just fine as a substitute. Also, the instructions on directory permissions are critical.
openssh works well and is secure.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2004 10:00 PM
10-23-2004 10:00 PM
Re: rsync problem
2) do you have DNS resolution between these hosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2004 01:56 PM
10-24-2004 01:56 PM
Re: rsync problem
I used scp to transmit files before post the thread. SCP can't transmit some important information ,such as permission and owner .use rsync -og can do it.How can I?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 02:33 AM
10-25-2004 02:33 AM
Re: rsync problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 02:50 AM
10-25-2004 02:50 AM
Re: rsync problem
I use tar in combination with ssh. There are the examples:
To copy to remote
tar -c YOUR_FILES | ssh REMOTE "cd DIR; tar -xv"
To copy from remote
ssh REMOTE "cd DIR; tar -c YOUR_FILES" | tar -xv
The command is similar to create a tar, copy it to the remote node and extract files, but in this case the tar file is not created. You can omitt the cd DIR if the files resides on your login directory.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 06:38 AM
10-25-2004 06:38 AM
Re: rsync problem
What is the version of rsync on each box?
There are known issues with specific versions. The latest, greatest version is 2.6.3 and can be downloaded from http://rsync.samba.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 03:11 PM
10-25-2004 03:11 PM
Re: rsync problem
both box rsync version is 2.6.2 protocol version 28.
nick@www:~> rsync -avzog ppbase/ nick@221.137.12.115:/srv/rsync/ppbase/
Connection timed out
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
I'll install a new suse8.2 box to have a try .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 03:41 AM
10-26-2004 03:41 AM
Solutionrsync /some/file -ave ssh servername:/some/other/dir
Please note you can pass any other rsync options as well. From the error indicated above, it appears that you do not have rsync installed on the target system.
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 04:45 AM
10-26-2004 04:45 AM
Re: rsync problem
I can use rsync over ssh.It worked.
thank you for everyone!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 01:40 AM
12-06-2004 01:40 AM