Hi, >> sent 34 bytes received 1932 bytes 786.40 bytes/sec >> total size is 27032205 speedup is 13749.85 >> Connection to ns.km33603.keymachine.de 87.118.124.191 failed - Trying >> next mirror site... >> >> Looks to me like the rsync succeeded, since it received the filelist >> and actually received data. Could it instead be saying that it failed >> to find an update, and not that it failed to connect? > > The script only reports failed to connect if it actually failed to connect, > not if there were no updates available.
I found the problem. Stepping through the script with execution, I find this: rsync --no-motd --files-from=/var/clamav/unofficial-dbs/configs/ss-include-dbs.txt -ctuz --contimeout=30 --timeout=30 --stats rsync://84.19.167.43/sanesecurity /var/clamav/unofficial-dbs/ss-dbs rsync: link_stat "/MSRBL-SPAM.ndb" (in sanesecurity) failed: No such file or directory (2) rsync: link_stat "/MSRBL-SPAM.ndb.sig" (in sanesecurity) failed: No such file or directory (2) rsync: link_stat "/MSRBL-Images.hdb" (in sanesecurity) failed: No such file or directory (2) rsync: link_stat "/MSRBL-Images.hdb.sig" (in sanesecurity) failed: No such file or directory (2) rsync: link_stat "/mbl.ndb" (in sanesecurity) failed: No such file or directory (2) rsync: link_stat "/mbl.ndb.sig" (in sanesecurity) failed: No such file or directory (2) Number of files: 40 Number of files transferred: 0 Total file size: 26677157 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 1314 File list generation time: 0.232 seconds File list transfer time: 0.000 seconds Total bytes sent: 34 Total bytes received: 1928 sent 34 bytes received 1928 bytes 784.80 bytes/sec total size is 26677157 speedup is 13596.92 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [generator=3.0.7] However, the script reports that the connection failed, which is somewhat of a red herring. Would it be helpful to not suppress the rsync output when it fails with something other than a simple "connection failed" message? These databases (that could not be retrieved) were collected from the sanesecurity database page. Aren't they supposed to be used? I'd think someone else would have found this problem? On a similar note, this script can replace freshclam, correct? Thanks, Alex _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml