在使用rsync 同步文件的时候报错,之前没有问题,今天突然有问题了 甚是郁闷!
执行 命令:
rsync -az --delete --exclude-from=/www-cluster/rsync/www/exclude /www-cluster/data/test www-data@192.168.0.5::test
报错:
@ERROR: setuid failed
rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]
同时192.168.0.5 上有log
2012/10/24 02:44:01 [27543] 192.168.0.2 is not a known address for "bogon": spoofed address?
2012/10/24 02:44:01 [27543] connect from UNKNOWN (192.168.0.2)
2012/10/24 06:44:01 [27543] rsync: setuid 501 failed: Resource temporarily unavailable (11)
正常的log
2012/10/24 15:03:19 [13846] 192.168.0.2 is not a known address for "bogon": spoofed address?
2012/10/24 15:03:19 [13846] connect from UNKNOWN (192.168.0.2)
2012/10/24 07:03:19 [13846] rsync to test/ from unknown (192.168.0.2)
2012/10/24 07:03:19 [13846] receiving file list
2012/10/24 07:03:20 [13846] sent 844 bytes received 72676 bytes total size 111874247