rsync-@ERROR: auth failed on module test
rsync同步时候出现如下错误:
@ERROR: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
1.用户密码错误
检查主服务器密码文件和从服务器密码文件。
主服务器密码文件 /etc/rsyncd.secrets 格式为: username:password
从服务器密码文件 password.rsync 格式为:password
2.文件权限错误
password file must not be other-accessible
continuing without password file
Password:
@ERROR: auth failed on module ***
rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
检查主服务器密码文件和从服务器密码文件。
服务器A密码文件 /etc/rsyncd.secrets 权限为600: chmod 600 /etc/rsyncd.secrets
服务器B密码文件 password.rsync 权限为600:chmod 600 password.rsync
This really solved my problem, thank you!