Hi all,
Thanks for the inputs. I am able to run it now.
But now there is one more problem.
I gave the "auth users= " and "secrets file= " options in the
rsyncd.conf file.
Now when I am running rsync, evenif I am giving the correct password, it
is giving error that authentication failed.
And one more problem, for some files it is giving the error "chroot
failed ".
Thanks in Advance,
Thanu
P BASKER wrote:
If u get connection refused, then rsyncd is not starting, perhaps in
/etc/xinetd.d/rsync file u need to edit enable it by saying disable as no
U can use the rsync daemon to do the transfer. U will require to create
/etc/rsyncd.conf on the remote machine.
################### start of /etc/rsyncd.conf #############
Example of /etc/rsyncd.conf is
[test1]
path = /tmp/backup
read only = FALSE
############ end of /etc/rsyncd.conf ######################
After doing that create restart xinetd by
/etc/rc.d/init.d/xinetd restart
Following example will sync /home/foo on local machine to /tmp/backup on
remote machine.
rsync -avz /home/foo/ linux107::test1/backup
NOTE: test1 is not a directory in the server, also note use of "::" in the
destination path.
for more info RTFM.
P.Basker
On Tue, 16 Jul 2002, Prabhu Ramachandran wrote:
"TS" == Thanu Skariah <tskariah@xxxxxxxxxxxxxxx> writes:
TS> What all to be done inorder to make rsync run on a mcahine. I
TS> am getting the following error when I am tring to run the
TS> same.
You need to have rsync on both the local and remote systems. Plus you
need either rsh or preferably ssh on both machines installed and
working properly.