On Thu, Mar 21, 2002 at 03:32:54PM +0800, Perrin wrote: > Hi, > > I have installed rsync-2.4.6 version on Linux Redhat 6.2 > (Kernel-2.2.14-5.0), after installed I tried to test the rsh and run "rsh > remotehost /bin/true > out .dat". But it failed the error message was > "Permission denied". I checked the permission all was okay,
Obviously something is not OK with the permission. I think you'd be wise to try and fix the rsh problem (or better yet by going over ssh) because it's a lot simpler than trying to use the rsync server > I forgot the > rsh/csh methods and replaced by RSYNC_PROXY. Finally, it failed again. I > would like to know that if the rsync establish the connection via a web > Proxy. What is the startup and configuration steps? I will use synch to > sync. data on my following project. Could you solve my problem! There are several errors in rsyncd.conf, so much that I don't think I can take the time to explain it all to you right now in a way you'd understand, and I'm not even sure that a proxy is what you need or if you'll be able to get it to work. In any event, you don't tell the server side to use a proxy, it's only the client side that can do anything with it. - Dave Dykstra > The command run ==> # ./rsync --server --daemon > > Result on the = rsyncd.log > =============================================================== > 2002/03/21 14:39:56 [1208] params.c:Parameter() - Ignoring badly formed line in > configuration file: rsync_proxy::10.1.1.237:873 > 2002/03/21 14:39:56 [1208] rsyncd version 2.5.4 starting, listening on port 873 > 2002/03/21 14:39:56 [1208] rsync: open inbound socket on port 873 failed: Invali > d argument > 2002/03/21 14:39:56 [1208] rsync error: error in socket IO (code 10) at socket.c > (381) > > > Thanks Very Much! > Perrin > > > > The configuration have done detail: > ================================================================ > > 1. Add lines on /etc/services > ================================ > rsync 873/tcp # rsync > rsync 873/udp # rsync > > > 2. Add lines on /etc/inetd.conf > ================================ > #rsync running configure > rsync stream tcp nowait root /usr/bin/rsync rsyncd -daemon > > > 3. Configure file on /etc/rsyncd.conf > ================================ > motd file =/etc/rsyncd.motd > log file = /var/log/rsyncd.log > pid file = /var/run/rsyncd.pid > lock file = /var/run/rsync.lock > path=/tmp/test_rsync/ > rsync_proxy::10.1.1.237:873 > uid=nobody > gid=nobody > read only =no > list=yes > auth users = perrin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html