Setting up an rsync server

Benny Lonnborn benny at lonnborn.dhs.org
Tue Sep 11 20:38:54 EST 2001


When you are issuing the rsync command "rsync my-global-ip-address::ftp/* " do not add /* to the rsync share name, you have already specified the share and the dir it use on the machine with the rsyncd.conf file.
  ----- Original Message ----- 
  From: Kasper Lindvig 
  To: rsync at lists.samba.org 
  Sent: Tuesday, September 11, 2001 11:11 AM
  Subject: Setting up an rsync server


  I am trying to set up an rsync server on windows 2000 and red hat linux 7.1, but unsuccesfully. I haven't been able to find detailed information in the man pages about this issue, which makes it quite hard to figure out. So far I have set up an ftp server and a http server, which I guess would be required for rsync to transfer the files through. Secondly I have created the required files: rsyncd.conf, rsyncd.motd, rsyncd.secrets, rsyncd.log, rsync.lock and rsyncd.pid. Rsyncd.conf looks like this:

  motd file = /etc/rsyncd.motd
  log file = /var/log/rsyncd.log
  pid file = /var/run/rsyncd.pid
  lock file = /var/run/rsync.lock

  [ftp]
     path = /
     comment = D drive
     uid = nobody
     gid = nobody
     read only = no
     list = yes
     auth users = anonymous

  When running rsync --daemon in one shell and rsync my-global-ip-address:: in another I receive the welcome message and the ftp module to which I should be able to log into. But when issuing this command rsync my-global-ip-address::ftp/* all I get is a hung shell. What is the solutuion to this problem? Could it be that some files are missing, or that some settings have not been set yet? This is in windows 2000. In linux I am not even able to receive the welcome message. I guess it is because the rsync daemon isn't running at all, even though I have tried to start it using rsync --daemon and through inetd. Any help is welcome.

  Sincerely
  Kasper
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list