title: rsync: @ERROR: auth failed on module tomcat_backup
body: <p>I just can't figure out what's going on with my RSync.  I'm running RSync on RHEL5, ip = xx.xx.xx.97.  It's getting files from RHEL5, ip = xx.xx.xx.96.</p>
  
  <p>Here's what the log (which I specified on the RSync command line) shows on xx.97 (the one requesting the files):</p>
  
  <pre><code>(local time)
  2015/08/30 13:40:01 [17353] @ERROR: auth failed on module tomcat_backup
  2015/08/30 13:40:01 [17353] rsync error: error starting client-server protocol (code 5) at main.c(1530) [receiver=3.0.6]
  </code></pre>
  
  <p>Here's what the log(which is specified in the rsyncd.conf file) shows on xx.96 (the one supplying the files):</p>
  
  <pre><code>(UTC time)
  2015/08/30 07:40:01 [8836] name lookup failed for xx.xx.xx.97: Name or service not known
  2015/08/30 07:40:01 [8836] connect from UNKNOWN (xx.xx.xx.97)
  2015/08/30 07:40:01 [8836] auth failed on module tomcat_backup from unknown (xx.xx.xx.97): password mismatch
  </code></pre>
  
  <p>Here's the actual rsync.sh command called from xx.xx.xx.97 (the requester):</p>
  
  <pre><code>export RSYNC_PASSWORD=rsyncclient
  rsync -havz --log-file=/usr/local/bin/RSync/test.log rsync://rsyncclient@xx.xx.xx.96/tomcat_backup/ProcessSniffer/ /usr/local/bin/ProcessSniffer
  </code></pre>
  
  <p>Here's the rsyncd.conf on xx.xx.xx.97: </p>
  
  <pre><code>lock file = /var/run/rsync.lock
  log file = /var/log/rsyncd.log
  pid file = /var/run/rsyncd.pid
  [files]
      name = tomcat_backup
      path = /usr/local/bin/
      comment = The copy/backup of tomcat from .96
      uid = tomcat
      gid = tomcat
      read only = no
      list = yes
      auth users = rsyncclient
      secrets file = /etc/rsyncd.secrets
      hosts allow = xx.xx.xx.96/255.255.255.0
  </code></pre>
  
  <p>Here's the rsyncd.secrets on xx.xx.xx.97: </p>
  
  <pre><code>files:files
  </code></pre>
  
  <p>Here's the rsyncd.conf on xx.xx.xx.96 (the supplier of files):</p>
  
  <p>Note: there is a 'cwrsync' (Windows version of rsync) <em>successfully</em> calling for files also (xx.xx.xx.100)</p>
  
  <p>Note: yes, there is the possibility of xx.96 requesting files from xx.97. However, this is NOT actually happening.</p>
  
  <p>It's commented out of the init.d mechanism.</p>
  
  <pre><code>lock file = /var/run/rsync.lock
  log file = /var/log/rsync.log
  pid file = /var/run/rsync.pid
  strict modes = false
  [files]
          name = tomcat_backup
          path = /usr/local/bin
          comment = The copy/backup of tomcat from xx.97
          uid = tomcat
          gid = tomcat
          read only = no
          list = yes
          auth users = rsyncclient
          secrets file = /etc/rsyncd.secrets
          hosts allow = xx.xx.xx.97/255.255.255.0, xx.xx.xx.100/255.255.255.0
  </code></pre>
  
  <p>Here's the rsyncd.secrets on xx.xx.xx.97:</p>
  
  <pre><code>files:files
  </code></pre>