Sponsored Content
Full Discussion: Rsync failed
Operating Systems Linux Fedora Rsync failed Post 302937139 by robertdaleweir on Wednesday 4th of March 2015 12:21:29 AM
Old 03-04-2015
Rsync failed

I was backing up a home directory and had rsync fail on me. I noticed that it was trying to copy a large file (over 4.2 gigs). That made me wonder if the code is 32 bit and failed on the 2 ^32 (max size issue) The code which I invoked is as follows:

rsync -aPH --exclude-from=/var/tmp/ignorelist /home/me/ /run/media/me/ADATA\ #2/rsync-me/

It gave a message at failure as follows --->

Code:
Desktop/OSme/Web-Site-Backups/backup-5.4.2014_15-11-43_linux014.tar.gz
  4288446464  78%   32.15MB/s    0:00:36
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (1964386 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
[root@puter ~]#

<---
I would like to know if anyone has experienced this error before?
Moderator's Comments:
Mod Comment Please use CODE tags for sample input and output as well as for sample code segments.

Last edited by robertdaleweir; 03-05-2015 at 12:17 PM.. Reason: Add missing CODE tags.
 

9 More Discussions You Might Find Interesting

1. AIX

SFTP Failed---Request for subsystem 'sftp' failed on channel 0

Hi, While I am trying SFTP my machine to another unix machine , it was working fine till 10 min back. But now i am getting the below error "Request for subsystem 'sftp' failed on channel 0" Could you please someone help me to solve or analyise the root cause... Cheers:b:, Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies

2. Solaris

please help in rsync

Dear all, I m trying to rsync a file remotely but it is throwing following error. #/opt/sfw/bin/rsync -v -a -e ssh user@xx.xx.xx.xx:/export/home/naresh/utils.sh bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in... (10 Replies)
Discussion started by: naree
10 Replies

3. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

4. Emergency UNIX and Linux Support

rsync: writefd_unbuffered failed

hi guys. I have configured rsync to make a mirror, but there is an error, I don't understand in the logfile: 2011/01/18 16:54:25 rsync on centos/ from UNKNOWN (212.120.196.127) 2011/01/18 15:56:00 rsync: writefd_unbuffered failed to write 4 bytes : Connection reset by peer (104)... (4 Replies)
Discussion started by: majid.merkava
4 Replies

5. Shell Programming and Scripting

rsync

Am I correct in assuming that the following command: rsync -a /a /b does not make any changes on /a if there are files on /b that are newer (2 Replies)
Discussion started by: jgt
2 Replies

6. UNIX for Dummies Questions & Answers

Rsync Help?

Hi everyone, I'm pretty new to rsync and I've been tasked to "fix" an existing .sh to make it work the way I need it to. I have the following rsync set up on a cron job: /usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync ... (2 Replies)
Discussion started by: Russell P
2 Replies

7. Shell Programming and Scripting

Need help on rsync

Hi experts, We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like: 1. data copy process should run only from 18:00 Hrs to 07:00 every day until copy is completed. Is... (1 Reply)
Discussion started by: magnus29
1 Replies

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

9. Shell Programming and Scripting

Issue with rsync: failed to set times on "/tmp/.": Not owner (1)

Hi, Here is my source host and folder details. $ hostname source-host $ id uid=600000208(src-user) gid=64688(src-user) groups=64688(src-user) $ ls -ltrd /web/Trn_File/data/ drwxrwxrwx 3 src-user src-user 4096 Feb 7 15:27 /web/Trn_File/data/ $ ls -ltrd /web/Trn_File/data/* drwxrwxrwx 8... (1 Reply)
Discussion started by: mohtashims
1 Replies
RoPkg::Rsync::Node(3pm) 				User Contributed Perl Documentation				   RoPkg::Rsync::Node(3pm)

NAME
RoPkg::Rsync::Node DESCRIPTION
A node is a rsync module. A node is formed of zero or more atoms. Example: [debian] path = /var/ftp/pub/mirrors/debian.org/ #This comment will show on rsync -v comment = Debian Mirror list = yes [debian] is the node. The node name is debian. The node has 4 atoms: *) param atom (path) *) comment atom (the comment) *) param atom (comment) *) param atom (list) SYNOPSIS
#!/usr/bin/perl use strict; use warnings; sub main { my $node = new RoPkg::Rsync::Node(node_name => 'debian'); $node->AddParam('path', '/var/ftp/pub/mirrors/debian.org'); $node->AddComment('#This comment will show on rsync -v'); $node->AddParam('comment', 'Debian Mirror'); $node->AddParam('list', 'yes'); print $node->ToString(); } main(); The result is: [debian] path = /var/ftp/pub/mirrors/debian.org #This comment will show on rsync -v comment = Debian Mirror list = yes METHODS
All methods, throw the OutsideClass exception, if you use them as class methods. Besides OutsideClass the methods are throwing other exceptions as well. Refer to each method documentation for more information. new(%hash) The constructor of the class. Expects a hash as parameter. At this time, the only valid option is node_name . Any other option will be dis- carded. The node_name is a required parameter. If is not defined, a Param::Missing exception will be raised. Example: my $node = new RoPkg::Rsync::Node(node_name => 'debian'); Add(%atom_details) Add a new atom to the node. The atom details (type, name and value) are keys from the hash. All three parameters must be defined. There are 2 special cases: when the atom is a comment or a blank. In both cases, RoPkg::Rsync::Node generates a name for them. If the atom is a com- ment or a blank the returned value is the name of the atom. If the atom is a parameter, the total number of atoms for this node is returned. Example: $node->Add( type => 'param', name => 'path', value => '/var/ftp/pub/mirrors/debian.org', ); The returned value is the total number of atoms for this node. Example: $node->Add( type => 'comment', value => '#This comment will show on rsync -v', ); The returned value is the name of the atom (the name is autogenerated). Exceptions: *) Param::Missing - $atom_details{type} is not defined *) Param::Wrong = $atom_details{name} or $atom_details{value} are not defined AddParam($pname, $pvalue) A wrapper around Add provided for comodity. See Add documentation for more details about the behaviour. AddComment($comment_value) A wrapper around Add provided for comodity. See Add documentation for more details about the behaviour. AddBlank($blank_value) A wrapper around Add provided for comodity. See Add documentation for more details about the behaviour. GetAtom(%atom_details) Returns a RoPkg::Rsync::Atom object based on parameters specified in %atom_details. The %atom_details fields can be: type, name and value. type and value must be specified. Exceptions: *) Param::Missing - type/name were not specified *) Param::Unknown - no objects were found Take note that only the first object who match the criterias is returned. GetParam($name) A wrapper around GetAtom provided for comodity. See GetAtom documentation for more details about the behaviour. GetComment($name) A wrapper around GetAtom provided for comodity. See GetAtom documentation for more details about the behaviour. GetBlank($name) A wrapper around GetAtom provided for comodity. See GetAtom documentation for more details about the behaviour. GetAll() Returns a array with all the atoms of the node. In scalar context returns the number of atoms. GetAtomsNo() Returns the number of atoms for this node. Has($atom) Returns 1 if the $atom object is already a atom for this node, 0 otherwise. Delete($atom_name) Removes the atom those name is $atom_name. Returns 1 on success (the atom was found and removed), 0 otherwise. Name($node_name) get/set method for node name. Using this method you can change the node name or find it. ToString($indent, $include_node_name) Returns the string representation of the node. If $indent is true, the atoms are indented. If $include_node_name is true, the node name will be included in the string. Example: $node = new RoPkg::Rsync::Node(node_name => 'debian'); $node->AddParam('gid', 'users'); print $node->ToString(0, 0),$/, $node->ToString(0, 1),$/, $node->ToString(1, 1),$/, $node->ToString(),$/; The result is: gid = users [debian] gid = users; [debian] gid = users [debian] gid = users PREREQUISITES
perl 5.008 (or later) is required. Besides perl, you must have the following: *) RoPkg::Exceptions *) Scalar::Util *) English SEE ALSO
RoPkg::Rsync::Atom RoPkg::Rsync::ConfFile RoPkg::Exceptions AUTHOR
Subredu Manuel <diablo@iasi.roedu.net> LICENSE
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license. perl v5.8.8 2006-06-09 RoPkg::Rsync::Node(3pm)
All times are GMT -4. The time now is 02:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy