rsync @ERROR: chdir failed rsync error: error starting client-server protocol (code 1503)
2014-12-01 14:25
399 查看
本人linux初学者,因为工作需要配置一个rsync服务,各种问题,现在还有一个问题没有解决:有关auth的问题。一旦加上user:password,就会认证不成功。两个密码文件也已经chmod 600。表示不理解,待定吧。
今天又碰到防火墙的问题,一直有人说是setsebool -P rsync_disable_trans on。而我的系统里面铵根就没有rsync_disable_trans
。
# getsebool -a | grep rsync
allow_rsync_anon_write --> off
rsync_client --> off
rsync_export_all_ro --> off
rsync_use_cifs --> off
rsync_use_nfs --> off
# setsebool -P rsync_export_all_ro on
# getsebool -a | grep rsync
allow_rsync_anon_write --> off
rsync_client --> off
rsync_export_all_ro --> on
rsync_use_cifs --> off
rsync_use_nfs --> off
ok,此问题解决了。
之前还运行了 iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 873 -j ACCEPT
也不知道重启后会不会需要重新设置...待会再研究一下。
rsync -avzP --progress --delete --chmod=ugo=rwx
root@*.*.*.*::backup /home/backup
今天又碰到防火墙的问题,一直有人说是setsebool -P rsync_disable_trans on。而我的系统里面铵根就没有rsync_disable_trans
。
# getsebool -a | grep rsync
allow_rsync_anon_write --> off
rsync_client --> off
rsync_export_all_ro --> off
rsync_use_cifs --> off
rsync_use_nfs --> off
# setsebool -P rsync_export_all_ro on
# getsebool -a | grep rsync
allow_rsync_anon_write --> off
rsync_client --> off
rsync_export_all_ro --> on
rsync_use_cifs --> off
rsync_use_nfs --> off
ok,此问题解决了。
之前还运行了 iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 873 -j ACCEPT
也不知道重启后会不会需要重新设置...待会再研究一下。
rsync -avzP --progress --delete --chmod=ugo=rwx
root@*.*.*.*::backup /home/backup
相关文章推荐
- rsync error:error starting client-server protocol(code 5) at main.c(1503)
- @ERROR: auth failed on module daiv rsync error: error starting client-server protocol (code 5) at ma
- @ERROR: Unknown module 'cookie.com' rsync error: error starting client-server protocol (code 5) at m
- rsync error(1503)分析:@ERROR: auth failed on module xxxx rsync error: error starting client-server
- rsync error: error starting client-server protocol (code 5) at main.c(1530) [receiver=3.0.6]
- rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetC
- 使用PHPMailer 中的报错解决 "Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:"
- @ERROR: chdir failed rsync error
- The module ... was loaded but the call to DllRegisterServer failed with error code 0x80070005
- SQL Error: setEnabled failed for server Protocol 'tcp'
- RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"
- rsync @ERROR: chdir failed 的解决办法
- Flex应用BlazeDS时报错:[RPC Fault faultString="发送失败" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed
- rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8] 解决
- 发生ActionScript 错误:[RPC Fault faultString="发送失败" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed
- MS SQL错误:SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems
- RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" 解决方案
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnectio