使用rsync备份fastdfs上的文件报错

使用rsync备份fastdfs上的文件到另外一台服务器上
A配置
port = 873
uid = root
gid = root
use chroot = no
max connections = 50
pid file = /var/run/rsyncd.pid

exclude = lost+found/

transfer logging = yes

timeout = 900

ignore nonreadable = yes

dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2
secrets file = /etc/rsyncd.password
hosts allow = 192.168.1.2
#允许的网络
auth users = fdfs
#虚拟用户
[fastdfs]
#模块名
path = /fastdfs/storage/data

A服务器中rsyncd.password内容为root:123456

A服务器中rsyncd.password内容为123456
rsyncd.password里面的密码

2个文件都授权了
chmod 600 /etc/rsync.password

使用命令
rsync -vzrtopg fdfs@192.168.1.1::fastdfs /fastdfs_backup --password-file=/etc/rsync.password
报错
@ERROR: auth failed on module fastdfs
rsync error: error starting client-server protocol (code 5) at main.c(1661) [Receiver=3.1.3]

参考一下链接:https://blog.51cto.com/wjw7702/1148808
问题二:
@ERROR: auth failed on module tee
rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]
原因:
服务器端该模块(tee)需要验证用户名密码,但客户端没有提供正确的用户名密码,认证失败。提供正确的用户名密码解决此问题。


所以,你提供的用户名和密码是否正常呢?