09-13-2016
Please provide some clarity to your question.
Quote:
this rsync from one day to the other simply no longer works
Does this mean it works intermittently or that it did work and no longer works?
It sounds like you are having an ssh issue and not necessarily an rsync issue? It is not clear in your post if turning off the firewall fixes the issue or not. If not, does root's home directory and .ssh subdirectory on the remote system have permissions of 700?
10 More Discussions You Might Find Interesting
1. AIX
This is what I get when I run the RSYNC command. I just created brand new ssh2 rsa keys.
warning: /come/out/and/play/.ssh2/id_rsa_2048_a: 4: parsing line failed.
warning: /come/out/and/play/.ssh2/id_rsa_2048_a: 5: parsing line failed.
warning: " " " " " " " " ... (3 Replies)
Discussion started by: tfort73
3 Replies
2. UNIX for Dummies Questions & Answers
hi
I have set up a rsync between to linux servers. One running Red Hat the other suse. The data is coping over but the sync using the delete option is not working.
Output from command
rsync -aWv --stats progress --delete /prod/CREATIVE2/WORK_IN_PROGRESS_PEARTREE 5.0.3.30:/raid1/PRODUCTION/... (0 Replies)
Discussion started by: treds
0 Replies
3. Shell Programming and Scripting
Hi everyone, and thanks to all for your assistance.
I have a problem with the rsync command. I want to make a backup of a "source" directory in a "destination" directory.
I want to specify:
"absolute path of destination" (identified by a ~): ~/Destination
or a "relative path of... (0 Replies)
Discussion started by: PaganoM
0 Replies
4. UNIX for Dummies Questions & Answers
hi
I am running a rsync from one of our remote sites to the main building.
i am using this command to run betwwen 2 linux servers
rsync -aWv -e ssh --stats progress --delete --ignore-errors /raid1/PRODUCTION/WORK_IN_PROGRESS_PEARTREE/ 5.0.2.245:/prod2/RSYNCS/CREATIVE2/ >>... (2 Replies)
Discussion started by: treds
2 Replies
5. Solaris
Hi ,
We have installed rsync in two Solaris boxes, when we try to sync files from one machine to another.. it is giving the following error.
ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far)
rsync... (1 Reply)
Discussion started by: MVEERA
1 Replies
6. UNIX for Advanced & Expert Users
hi All,
i have implemented Rsync in my source and destination server. while running through command prompt it is working fine:
ksh rsync_bravo_db.ksh usa0300uz1252.apps.mc.xerox.com /uv1402/u207/home/bravodba/bin/rsync-3.0.9/config/mrsx_rsync.cfg
but later on i created a another ksh and... (4 Replies)
Discussion started by: lovelysethii
4 Replies
7. UNIX for Advanced & Expert Users
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Discussion started by: lovelysethii
0 Replies
8. Shell Programming and Scripting
hi All,
i am getting some error while running Rsync, and unable to find error at Google even, could anyone help me here please.
---------- Post updated 08-31-13 at 07:47 AM ---------- Previous update was 08-30-13 at 04:35 PM ----------
above problem got resolved because it was not... (4 Replies)
Discussion started by: lovelysethii
4 Replies
9. Shell Programming and Scripting
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
10. HP-UX
Hi,
I have installed rsync (together with its dependencies) in both source and destination HPUX servers (V 11.31). However when I attempt to copy files over (as user root) I get this error :
# rsync -avz ./* root@10.97.131.4:/tmp/copy
Password:
sh: rsync: not found.
rsync: connection... (5 Replies)
Discussion started by: anaigini45
5 Replies
LEARN ABOUT LINUX
rsync_selinux
rsync_selinux(8) rsync Selinux Policy documentation rsync_selinux(8)
NAME
rsync_selinux - Security Enhanced Linux Policy for the rsync daemon
DESCRIPTION
Security-Enhanced Linux secures the rsync server via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If
you want to share files using the rsync daemon, you must label the files and directories public_content_t. So if you created a special
directory /var/rsync, you would need to label the directory with the chcon tool.
chcon -t public_content_t /var/rsync
To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration:
semanage fcontext -a -t public_content_t "/var/rsync(/.*)?"
This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local:
/var/rsync(/.*)? system_u:object_r:publix_content_t:s0
Run the restorecon command to apply the changes:
restorecon -R -v /var/rsync/
SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub-
lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub-
lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for rsync you would execute:
setsebool -P allow_rsync_anon_write=1
BOOLEANS
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), rsync(1), chcon(1), setsebool(8), semanage(8)
dwalsh@redhat.com 17 Jan 2005 rsync_selinux(8)