Doubt in Rsync !!

tim.conway at philips.com tim.conway at philips.com
Tue Feb 5 03:50:01 EST 2002


I just played back your mail in my head, and realized that you mentioned 
the rsync server.  I read your command, from which it was plain that you 
were NOT trying to contact a rsync server, and gave instructions based on 
that.  In case you were trying to contact a rsync server (rsyncd), I 
suggest you read the man pages for both rsync and rsyncd.conf.  the rsync 
manpage explains how to invoke rsync to have it be a server, and the 
rsyncd.conf manpage explains how to set up the required configuration 
file.  The rsync manpage also explains how to invoke rsync to CALL a 
server (as opposed to starting a temporary process via an external 
transport to act as your remote server, as your commandline showed). 
Direct consultation of the documentation which Tridge, Martin, Dave, and 
everybody else has put so much work into, can cover the broad 
possibilities with much less latency than an email list.

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




Tim Conway
02/04/2002 08:33 AM


        To:     mbp at humbug.org.au
        cc:     Lakshminarayanan Radhakrishnan <lradhakr at ssd.usa.alcatel.com>
rsync at lists.samba.org
rsync-admin at lists.samba.org
        Subject:        Re: Doubt in Rsync !!
        Classification: Unclassified


Ok:  You're using an external transport (rsh, unless you've defined 
RSYNC_RSH as something else(probably ssh)).  First thing to check is 
whether you can rsh to destinationmachine.  See what happens if you do 
"rsh destinationmachine uname -a".  Does this report back the information 
for destinationmachine, or does it give you "Permission denied".  If so, 
get rsh working.  From your error, I'm certain this is the problem, as if 
it were a permission problem on a file or directory,  you'd get an error 
more like this
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tconway at atlas
/site/local/share/ToolSync/newsync>rsync newsync.log.2 atlas:/kernel
mkstemp .newsync.log.2.GYaiMq failed
rsync error: partial transfer (code 23) at main.c(537)
tconway at atlas
/site/local/share/ToolSync/newsync>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.

Note:  If this is an hpux, SCO, and maybe some other primitive systems, 
the name "rsh" is reserved for a restricted shell, and they use "remsh" 
instead as the command.  Rsync already knows about this, but you need to 
do the right command for your test.
Investigate /etc/hosts.equiv, /etc/hosts.deny, $HOME/.rhosts, your name 
resolution, etc..

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




mbp at humbug.org.au
Sent by: rsync-admin at lists.samba.org
02/04/2002 02:14 AM

 
        To:     rsync at lists.samba.org
        cc:     Lakshminarayanan Radhakrishnan <lradhakr at ssd.usa.alcatel.com>
(bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Doubt in Rsync !!
        Classification: 



Sir, 
How to run the  rsync server in the remote machine. 
I want to mirror the set of directories from one machine to another 
machine 
which are in the network. 
 I used the following command : 
  /usr/sbin/rsync -vv --delete --recursive --times --perms --update source 
directory 
                         destinationmachine:destination directory. 
I got the error: 
Permission denied. 
How to tackle this error ? 
thanks 
laks 
 
-----------------R.Lakshminarayanan
-----------------Axes Technologies India Pvt. Ltd.,
-----------------Chennai - 600 034. 
-----------------Email : lradhakr at ssd.usa.alcatel.com, Phone: 8253323
 








More information about the rsync mailing list