"@ERROR: auth failed on module"

Nick Lindsell nick at nexnix.co.uk
Wed Dec 11 11:56:00 EST 2002


Greetings list,
	I've been banging my head against this for a few days now, so finally
I throw myself upon your tender mercies.

	I had rsync working fine to make offsite backups via an IPSEC VPN
over an ADSL connection - until the remote raid5 server went down. It was 
rebuilt
with  RedHat 8 and since then I have not been able to rsync to it. Both ends
have vanilla rsync-2.5.5 installed.  Machine "moby" is the remote (i.e 
destination)
and "core" is the local (source) machine on RedHat 7.3 - eventually I will 
sync the
entire filesystem of core to moby::/home/nexnix as we did before.

The gory details:-

[root at moby /]# ls -l /etc/rsync*.*
-rw-r--r-- 1 root root 550   Dec 10 16:14 /etc/rsyncd.conf
-rw------- 1 root root 7      Dec  11 12:07 /etc/rsyncd.secrets

[root at moby /]# cat /etc/rsyncd.secrets
passwd

[root at moby /]# cat /etc/rsyncd.conf
uid=root
gid=root
max connections = 1
hosts allow = 217.207.227.227/32 192.168.100.0/24
hosts deny = 0.0.0.0/0
pid file = /var/run/rsyncd.pid
[nexnix]
   path = /home/nexnix
   comment = NexNix offsite backup
   auth users = nexnix
   secrets file = /etc/rsyncd.secrets
   read only = no
   strict modes = false
[tmp]
   path = /home/tmp
   comment = TMP
   auth users = nexnix
   secrets file = /etc/rsyncd.secrets
   read only = no
   strict modes = false

[root at moby /]# ls -ld /home/tmp
drwxrwxrwx 2 nexnix nexnix 4096 Dec 3 11:44 /home/tmp

[root at moby /]# cat /etc/xinetd.d/rsync
# default: off
# description: The rsync server is a good addition to am ftp server, as it \
# allows crc checksumming etc.
service rsync
{
   disable = no
   socket_type = stream
   wait = no
   user = root
   server = /usr/local/bin/rsync
   server_args = -vv --daemon
   log_on_failure += USERID
}
[root at moby /]#


[root at core /]# ls -l /etc/rsync*.*
-rw------- 1 root root 7 Dec 11 11:05 /etc/rsyncd.secrets

[root at core /]# cat /etc/rsyncd.secrets
passwd

[root at core /]# /usr/local/bin/rsync nexnix at moby::
nexnix   NexNix offsite backup
tmp       TMP

[root at core /]# /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync 
--password-file=/etc/rsyncd.secrets -vv /tmp nexnix at moby::TMP
opening tcp connection to moby port 873
@ERROR: auth failed on module tmp
rsync: connection unexpectedly closed (87 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
[root at core /]#

[root at moby /]# tail /var/log/messages
Dec 11 12:07:51 moby rsyncd[16370]: auth failed on module tmp from core 
(192.168.100.2)
Dec 11 12:22:49 moby rsyncd[16424]: auth failed on module tmp from core 
(192.168.100.2)
Dec 11 12:24:34 moby rsyncd[16431]: auth failed on module tmp from core 
(192.168.100.2)
Dec 11 12:25:03 moby rsyncd[16439]: auth failed on module tmp from core 
(192.168.100.2)
Dec 11 12:26:47 moby rsyncd[16444]: auth failed on module tmp from core 
(192.168.100.2)
[root at moby /]#

[root at core /]# bugger
bash: bugger: command not found
[root at core /]#



Can anyone spot the obvious mistake and put me out of my misery??

tia
nick at nexnix




More information about the rsync mailing list