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:
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
ropkg::rsync::conffile
RoPkg::Rsync::ConfFile(3pm) User Contributed Perl Documentation RoPkg::Rsync::ConfFile(3pm)NAME
RoPkg::Rsync::ConfFile
DESCRIPTION
RoPkg::Rsync::ConfFile is a class used to manipulate rsync configuration files. Is capable to maintaine the order of the modules, and even
keep your comments and empty lines intact.
SYNOPSIS
#!/usr/bin/perl
use warnings;
use strict;
sub main {
my $cf = new RoPkg::Rsync::ConfFile(filename => '/etc/rsyncd.conf');
$cf->Write('/tmp/new_rsyncd.conf');
return 0;
}
main();
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 class constructor. Accepts a hash as parameter. At this moment only one parameter can be specified inside the hash: filename . If this
parameter is present, the file specified is parsed and loaded into the object.
AddParam($pname, $pvalue)
Add a new global parameter named $pname with value $value.
AddComment($pval)
Add a new global comment with value $pval
AddBlank($bval)
Add a new global blank line with value $bval
AddNode($node)
Adds a new RoPkg::Rsync::Node object to the current object. Before the node is added, the nodes list is checked for duplicates of the
object. If a duplicate is found, the method does nothing.
Exceptions:
If $node is not a instance of RoPkg::Rsync::Node, Param::Wrong exception is raised.
DelNode($node_name)
Removes a node from the nodes list. The nodes are searched by their names. Returns -1 if the node was not found, the new number of nodes
otherwise.
HasNode($node_name)
Returns 1 if the node with name $node_name was found in the nodes list, 0 otherwise.
Clean()
Clean the object. Removes all information (the nodes list, statistics, etc). Always returns 1.
Parse($filename)
Parse the configuration file $filename and returns the number of nodes. If $filename is not defined Param::Missing exception is raised. If
the path does not point to a existing file, File::NotFound exception is raised. If the file could not be opened, File::Open exception is
raised.
Write($path)
Write the configuration into the file specified by path $path.
ToString()
Returns the string representation of the configuration file.
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::ConfFile(3pm)