## rsync configuration problem I am so incredibly stuck and I don't know why.... I can neither pull files down from server to client, nor push files from server to client. I'm beginning to suspect it might be suse specific. Here is my configuration at /etc/rsyncd.conf: # This rsyncd.conf created by yours truly # configs is a module name for files in the /etc directory [configs] # This is the path that files can be "pushed" to path = /etc # This is where the username/passwd for authentication purposes resides secrets file = /etc/rsyncd.secrets # Can be read only if you a pulling files read only = false # UID & GID under which the transfer will be done. uid = root gid = root # List of hosts allowed to connect hosts allow = 192.168.0.101 # We'll use chroot use chroot = true # who can connect auth users = root This is the command that I'm using to pull files down (unsuccessfully - I have also tried variations) and the error message. ws5:/etc # rsync -avvz --password-file=/etc/rsyncd.secrets 192.168.0.101::configs/hosts /etc/hosts opening tcp connection to isi port 873 @ERROR: auth failed on module configs rsync: connection unexpectedly closed (91 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) My rsyncd.secrets file on both server and clients are identical. What could the problem be???? Thanks in advance; sol -- ============================== Sol Hanna solATautonomonDOTnet
* Sol (sol@autonomon.net) [030907 20:45]:
This is the command that I'm using to pull files down (unsuccessfully - I have also tried variations) and the error message. ws5:/etc # rsync -avvz --password-file=/etc/rsyncd.secrets 192.168.0.101::configs/hosts /etc/hosts opening tcp connection to isi port 873 @ERROR: auth failed on module configs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rsync: connection unexpectedly closed (91 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165)
What does /var/log/rsyncd.log on the remote end say? You might want to start it with '-vv'. -- -ckm
Christopher Mahmood wrote:
* Sol (sol@autonomon.net) [030907 20:45]:
This is the command that I'm using to pull files down (unsuccessfully - I have also tried variations) and the error message. ws5:/etc # rsync -avvz --password-file=/etc/rsyncd.secrets 192.168.0.101::configs/hosts /etc/hosts opening tcp connection to isi port 873 @ERROR: auth failed on module configs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rsync: connection unexpectedly closed (91 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165)
What does /var/log/rsyncd.log on the remote end say? You might want to start it with '-vv'.
Nothing. It didn't even exit until just now when I "touch"d it. And I was running the rsync commands as root so that should have been sufficient permissions to create an entry in /var/log. (I would like to run this as a crontab job.) Furthermore I'm not running an internal firewall so that possibility is also ruled out. cheers; sol -- ============================== Sol Hanna solATautonomonDOTnet
[assuming your reply-to is set incorrectly] * Sol (sol@autonomon.net) [030908 19:09]:
Christopher Mahmood wrote:
What does /var/log/rsyncd.log on the remote end say? You might want to start it with '-vv'.
Nothing. It didn't even exit until just now when I "touch"d it. And I was running the rsync commands as root so that should have been sufficient permissions to create an entry in /var/log.
If you did indeed start rsyncd with -vv it would say quite a bit. You aren't looking in the right place. -- -ckm
participants (2)
-
Christopher Mahmood
-
Sol