I have so far been unable to get rsync to work properly in a test setup. Does anyone have any ideas? Both PCs are running RedHat 7.2. The Server: IP Address 192.168.0.202 Server Name: RH72TB hosts.allow ALL: 192.168.0.201 rsyncd.conf: [testmodule] path = /tmp The Client: IP Address 192.168.0.201 hosts file: 192.168.0.202 RH72TB I have run "rsync --daemon" on the server. There is a file called "sheepb.jpg" in the /tmp directory of the Client that has been chmod-ed to 777. I am logged in with the same username and password on both of the PCs. On the Client, I run: "rsync /tmp/sheepb.jpg RH72TB:tmp/" Result after 30 seconds: RH72TB: Connection refused unexpected EOF in read_timeout There is nothing in /var/log/messages.
To use the rsync --daemon, you need to use two colons after the server name. The next problem you'll probably run into is that you'll need "read only = no" in rsyncd.conf. - Dave Dykstra On Tue, Mar 12, 2002 at 06:26:12PM +1000, Rsync mail Account wrote:> I have so far been unable to get rsync to work properly in a test setup. > Does anyone have any ideas? > > Both PCs are running RedHat 7.2. > > The Server: > > IP Address 192.168.0.202 > Server Name: RH72TB > hosts.allow ALL: 192.168.0.201 > rsyncd.conf: > [testmodule] > path = /tmp > > > The Client: > > IP Address 192.168.0.201 > hosts file: > 192.168.0.202 RH72TB > > I have run "rsync --daemon" on the server. > > There is a file called "sheepb.jpg" in the /tmp directory of the Client that > has been chmod-ed to 777. I am logged in with the same username and password > on both of the PCs. > > On the Client, I run: "rsync /tmp/sheepb.jpg RH72TB:tmp/" > > Result after 30 seconds: > RH72TB: Connection refused > unexpected EOF in read_timeout > > There is nothing in /var/log/messages. > > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Thanks for your reply Martin. Here are the results: [root@Linuxstation tmp]# rsync sheepb.jpg RH72TB::testmodule /tmp link_stat RH72TB::testmodule : No such file or directory Regards, Brad ----- Original Message ----- From: "Martin Pool" <mbp@samba.org> To: "Brad" <rsyncuser@sportingwheelies.org.au> Cc: <rsync@samba.org> Sent: Wednesday, March 13, 2002 3:53 PM Subject: Re: Need help getting rsync working...> On 13 Mar 2002, Brad <rsyncuser@sportingwheelies.org.au> wrote: > > Thanks for the reply Dave. I have added your recommended, "read only no" > > to rsyncd.conf and put 2 colons as you suggested, and now I get: > > > > rsync /tmp/sheepb.jpg RH72TB::tmp/ > > That should be "testmodule" -- the first word after the quadraspot is > a module name, followed by a path within the module. > > -- > Martin > > -- > To unsubscribe or change options:http://lists.samba.org/mailman/listinfo/rsync> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html >