{"id":1618,"date":"2017-01-05T23:49:54","date_gmt":"2017-01-05T15:49:54","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=1618"},"modified":"2024-11-15T11:08:38","modified_gmt":"2024-11-15T03:08:38","slug":"rsync-%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95%e6%95%b4%e7%90%86-2","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/rsync-%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95%e6%95%b4%e7%90%86-2\/","title":{"rendered":"rsync \u5e38\u89c1\u9519\u8bef\u4e0e\u89e3\u51b3\u65b9\u6cd5\u6574\u7406"},"content":{"rendered":"<p>\u6211\u4eec\u90fd\u662f\u901a\u8fc7\u9519\u8bef\u65e5\u5fd7\u67e5\u770b<br \/>\n\u5728rsyncd.log\u91cc\u9762\u6216.err\u6587\u4ef6\u91cc\u9762\uff0c\u5927\u5bb6\u53ef\u4ee5\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u67e5\u770b\u3002<\/p>\n<p>\u6ce8\u610fwindows\u4e0b\u9762\u6211\u4eec\u9700\u8981\u7ed9SvcwRsync\u7528\u6237\uff0c\u7ba1\u7406\u540c\u6b65\u76ee\u5f55\u7684\u6240\u6709\u6743\u9650\uff0c\u57fa\u672c\u4e0a\u8fd9\u6837\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p>\u95ee\u9898\u4e00\uff1a<br \/>\n@ERROR: chroot failed<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]<\/p>\n<p>\u539f\u56e0\uff1a<br \/>\n\u670d\u52a1\u5668\u7aef\u7684\u76ee\u5f55\u4e0d\u5b58\u5728\u6216\u65e0\u6743\u9650\uff0c\u521b\u5efa\u76ee\u5f55\u5e76\u4fee\u6b63\u6743\u9650\u53ef\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u95ee\u9898\u4e8c\uff1a<br \/>\n@ERROR: auth failed on module tee<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]<\/p>\n<p>\u539f\u56e0\uff1a<br \/>\n\u670d\u52a1\u5668\u7aef\u8be5\u6a21\u5757\uff08tee\uff09\u9700\u8981\u9a8c\u8bc1\u7528\u6237\u540d\u5bc6\u7801\uff0c\u4f46\u5ba2\u6237\u7aef\u6ca1\u6709\u63d0\u4f9b\u6b63\u786e\u7684\u7528\u6237\u540d\u5bc6\u7801\uff0c\u8ba4\u8bc1\u5931\u8d25\u3002<br \/>\n\u63d0\u4f9b\u6b63\u786e\u7684\u7528\u6237\u540d\u5bc6\u7801\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<p>\u95ee\u9898\u4e09\uff1a<br \/>\n@ERROR: Unknown module \u2018tee_nonexists&#8217;<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]<\/p>\n<p>\u539f\u56e0\uff1a<br \/>\n\u670d\u52a1\u5668\u4e0d\u5b58\u5728\u6307\u5b9a\u6a21\u5757\u3002\u63d0\u4f9b\u6b63\u786e\u7684\u6a21\u5757\u540d\u6216\u5728\u670d\u52a1\u5668\u7aef\u4fee\u6539\u6210\u4f60\u8981\u7684\u6a21\u5757\u4ee5\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u95ee\u98981\uff1a<br \/>\n\u5728client\u4e0a\u9047\u5230\u95ee\u9898\uff1a<br \/>\nrsync -auzv &#8211;progress &#8211;password-file=\/etc\/rsync.pas root@192.168.133.128::backup \/home\/<br \/>\nrsync: could not open password file &#8220;\/etc\/rsync.pas&#8221;: No such file or directory (2)<br \/>\nPassword:<br \/>\n@ERROR: auth failed on module backup<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]<br \/>\n\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff1aclient\u7aef\u6ca1\u6709\u8bbe\u7f6e\/etc\/rsync.pas\u8fd9\u4e2a\u6587\u4ef6\uff0c\u800c\u5728\u4f7f\u7528rsync\u547d\u4ee4\u7684\u65f6\u5019\uff0c\u52a0\u4e86\u8fd9\u4e2a\u53c2\u6570&#8211;<br \/>\npassword-file=\/etc\/rsync.pas<\/p>\n<p>\u95ee\u98982\uff1a<br \/>\nrsync -auzv &#8211;progress &#8211;password-file=\/etc\/rsync.pas root@192.168.133.128::backup \/home\/<br \/>\n@ERROR: auth failed on module backup<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]<br \/>\n\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff1aclient\u7aef\u5df2\u7ecf\u8bbe\u7f6e\/etc\/rsync.pas\u8fd9\u4e2a\u6587\u4ef6\uff0c\u91cc\u9762\u4e5f\u8bbe\u7f6e\u4e86\u5bc6\u7801111111\uff0c\u548c\u670d\u52a1\u5668\u4e00\u81f4\uff0c\u4f46\u662f<br \/>\n\u670d\u52a1\u5668\u6bb5\u8bbe\u7f6e\u6709\u9519\u8bef\uff0c\u670d\u52a1\u5668\u7aef\u5e94\u8be5\u8bbe\u7f6e\/etc\/rsync.pas \uff0c\u91cc\u9762\u5185\u5bb9root:111111 ,\u8fd9\u91cc\u767b\u9646\u540d\u4e0d\u53ef\u7f3a\u5c11<\/p>\n<p>\u95ee\u98983\uff1a<br \/>\nrsync -auzv &#8211;progress &#8211;password-file=\/etc\/rsync.pas root@192.168.133.128::backup \/home\/<br \/>\n@ERROR: chdir failed<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]<br \/>\n\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u56e0\u4e3a\u670d\u52a1\u5668\u7aef\u7684\/home\/backup \u5176\u4e2dbackup\u8fd9\u4e2a\u76ee\u5f55\u5e76\u6ca1\u6709\u8bbe\u7f6e\uff0c\u6240\u4ee5\u63d0\u793a\uff1achdir failed<\/p>\n<p>\u95ee\u98984\uff1a<br \/>\nrsync: write failed on &#8220;\/home\/backup2010\/wensong&#8221;: No space left on device (28)<br \/>\nrsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.7]<br \/>\nrsync: connection unexpectedly closed (2721 bytes received so far) [generator]<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(601) [generator=3.0.7]<br \/>\n\u78c1\u76d8\u7a7a\u95f4\u4e0d\u591f\uff0c\u6240\u4ee5\u65e0\u6cd5\u64cd\u4f5c\u3002<br \/>\n\u53ef\u4ee5\u901a\u8fc7df \/home\/backup2010 \u6765\u67e5\u770b\u53ef\u7528\u7a7a\u95f4\u548c\u5df2\u7528\u7a7a\u95f4<\/p>\n<p>\u95ee\u98985\uff1a\u7f51\u7edc\u6536\u96c6\u95ee\u9898<br \/>\n1\u3001\u6743\u9650\u95ee\u9898<br \/>\n\u7c7b\u4f3c\u5982\u4e0b\u7684\u63d0\u793a\uff1arsync: opendir &#8220;\/kexue&#8221; (in dtsChannel) failed: Permission denied (13)\u6ce8\u610f\u67e5\u770b\u540c\u6b65\u7684\u76ee\u5f55\u6743\u9650\u662f\u5426\u4e3a755<br \/>\n2\u3001time out<br \/>\nrsync: failed to connect to 203.100.192.66: Connection timed out (110)<br \/>\nrsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]<br \/>\n\u68c0\u67e5\u670d\u52a1\u5668\u7684\u7aef\u53e3netstat \u2013tunlp\uff0c\u8fdc\u7a0btelnet\u6d4b\u8bd5\u3002<br \/>\n\u53ef\u80fd\u56e0\u4e3a\u5ba2\u6237\u7aef\u6216\u8005\u670d\u52a1\u7aef\u7684\u9632\u706b\u5899\u5f00\u542f \u5bfc\u81f4\u65e0\u6cd5\u901a\u4fe1\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u89c4\u5219\u653e\u884c rsync\uff08873\u7aef\u53e3\uff09 \u6216\u8005\u76f4\u63a5\u5173\u95ed\u9632\u706b\u5899\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u5728\u540c\u6b65\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u63d0\u793a\u6ca1\u6709\u6743\u9650 \uff08\u5c06\u540c\u6b65\u76ee\u5f55\u52a0\u4e0aSvcwRsync\u5168\u90e8\u6743\u9650\u5373\u53ef\uff0c\u66f4\u7b80\u5355\u7684\u65b9\u6cd5\u5c31\u662f\u5c06SvcwRsync\u8bbe\u4e3a\u7ba1\u7406\u5458\u5373\u53ef\uff09<\/p>\n<p>3\u3001\u670d\u52a1\u672a\u542f\u52a8<br \/>\nrsync: failed to connect to 10.10.10.170: Connection refused (111)<br \/>\nrsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]<br \/>\n\u542f\u52a8\u670d\u52a1\uff1arsync &#8211;daemon &#8211;config=\/etc\/rsyncd.conf<br \/>\n4\u3001\u78c1\u76d8\u7a7a\u95f4\u6ee1<br \/>\nrsync: recv_generator: mkdir &#8220;\/teacherclubBackup\/rsync\u2026\u2026&#8221; failed: No space left on device (28)<br \/>\n*** Skipping any contents from this failed directory ***<br \/>\n5\u3001Ctrl+C\u6216\u8005\u5927\u91cf\u6587\u4ef6<br \/>\nrsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.5]<br \/>\nrsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [generator=3.0.5]<br \/>\n\u8bf4\u660e\uff1a\u5bfc\u81f4\u6b64\u95ee\u9898\u591a\u534a\u662f\u670d\u52a1\u7aef\u670d\u52a1\u6ca1\u6709\u88ab\u6b63\u5e38\u542f\u52a8\uff0c\u5230\u670d\u52a1\u5668\u4e0a\u53bb\u67e5\u67e5\u670d\u52a1\u662f\u5426\u6709\u542f\u52a8\uff0c\u7136\u540e\u67e5\u770b\u4e0b \/var\/run\/rsync.pid \u6587\u4ef6\u662f\u5426\u5b58\u5728\uff0c\u6700\u5e72\u8106\u7684\u65b9\u6cd5\u662f\u6740\u6b7b\u5df2\u7ecf\u542f\u52a8\u4e86\u670d\u52a1\uff0c\u7136\u540e\u518d\u6b21\u542f\u52a8\u670d\u52a1\u6216\u8005\u8ba9\u811a\u672c\u52a0\u5165\u7cfb\u7edf\u542f\u52a8\u670d\u52a1\u7ea7\u522b\u7136\u540eshutdown -r now\u670d\u52a1\u5668<\/p>\n<p>6\u3001xnetid\u542f\u52a8<br \/>\nrsync: read error: Connection reset by peer (104)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.5]<br \/>\n\u67e5\u770brsync\u65e5\u5fd7<br \/>\nrsync: unable to open configuration file &#8220;\/etc\/rsyncd.conf&#8221;: No such file or directory<br \/>\nxnetid\u67e5\u627e\u7684\u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e\u9ed8\u8ba4\u662f\/etc\u4e0b\uff0c\u6839\u636e\u5177\u4f53\u60c5\u51b5\u521b\u5efa\u8f6f\u94fe\u63a5\u3002\u4f8b\u5982\uff1a<br \/>\nln -s \/etc\/rsyncd\/rsyncd.conf \/etc\/rsyncd.conf<br \/>\n\u6216\u8005\u66f4\u6539\u6307\u5b9a\u9ed8\u8ba4\u7684\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\uff0c\u5728\/etc\/xinetd.d\/rsync\u914d\u7f6e\u6587\u4ef6\u4e2d\u3002<\/p>\n<p>Rsync configure:<br \/>\n\u914d\u7f6e\u4e00\uff1a<br \/>\nignore errors<br \/>\n\u8bf4\u660e\uff1a\u8fd9\u4e2a\u9009\u9879\u6700\u597d\u52a0\u4e0a\uff0c\u5426\u5219\u518d\u5f88\u591acrontab\u7684\u65f6\u5019\u5f80\u5f80\u53d1\u751f\u9519\u8bef\u4f60\u4e5f\u672a\u53ef\u77e5\uff0c\u56e0\u4e3a\u4f60\u4e0d\u53ef\u80fd\u5929\u5929\u53bb\u770b\u6bcf\u65f6\u6bcf\u523b\u53bb\u770blog\uff0c\u4e0d\u52a0\u4e0a\u8fd9\u4e2a\u51fa\u73b0\u9519\u8bef\u7684\u51e0\u7387\u76f8\u5bf9\u4f1a\u5f88\u9ad8\uff0c\u56e0\u4e3a\u4efb\u4f55\u5927\u70b9\u7684\u9879\u76ee\u548c\u7cfb\u7edf\uff0c\u78c1\u76d8IO\u90fd\u662f\u4e00\u4e2a\u74f6\u9888<\/p>\n<p>Rsync error\uff1a<br \/>\n\u9519\u8bef\u4e00\uff1a<br \/>\n@ERROR: auth failed on module xxxxx<br \/>\nrsync: connection unexpectedly closed (90 bytes read so far)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(150)<br \/>\n\u8bf4\u660e\uff1a\u8fd9\u662f\u56e0\u4e3a\u5bc6\u7801\u8bbe\u7f6e\u9519\u4e86\uff0c\u65e0\u6cd5\u767b\u5165\u6210\u529f\uff0c\u68c0\u67e5\u4e00\u4e0brsync.pwd\uff0c\u770b\u5ba2\u670d\u662f\u5426\u5339\u914d\u3002\u8fd8\u6709\u670d\u52a1\u5668\u7aef\u6ca1\u542f\u52a8rsync \u670d\u52a1\u4e5f\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<p>\u9519\u8bef\u4e8c\uff1a<br \/>\npassword file must not be other-accessible<br \/>\ncontinuing without password file<br \/>\nPassword:<br \/>\n\u8bf4\u660e\uff1a\u8fd9\u662f\u56e0\u4e3arsyncd.pwd rsyncd.sec\u7684\u6743\u9650\u4e0d\u5bf9\uff0c\u5e94\u8be5\u8bbe\u7f6e\u4e3a600\u3002\u5982\uff1achmod 600 rsyncd.pwd<\/p>\n<p>\u9519\u8bef\u4e09\uff1a<br \/>\n@ERROR: chroot failed<br \/>\nrsync: connection unexpectedly closed (75 bytes read so far)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(150)<br \/>\n\u8bf4\u660e\uff1a\u8fd9\u662f\u56e0\u4e3a\u4f60\u5728 rsync.conf \u4e2d\u8bbe\u7f6e\u7684 path \u8def\u5f84\u4e0d\u5b58\u5728\uff0c\u8981\u65b0\u5efa\u76ee\u5f55\u624d\u80fd\u5f00\u542f\u540c\u6b65<\/p>\n<p>\u9519\u8bef\u56db\uff1a<br \/>\nrsync: failed to connect to 218.107.243.2: No route to host (113)<br \/>\nrsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]<br \/>\n\u8bf4\u660e\uff1a\u9632\u706b\u5899\u95ee\u9898\u5bfc\u81f4\uff0c\u8fd9\u4e2a\u6700\u597d\u5148\u5f7b\u5e95\u5173\u95ed\u9632\u706b\u5899\uff0c\u6392\u9519\u7684\u57fa\u672c\u6cd5\u5c31\u662f\u8fd9\u6837\uff0c\u65e0\u8bba\u662fS\u8fd8\u662fC\uff0c\u8fd8\u6709ignore errors\u9009\u9879\u95ee\u9898\u4e5f\u4f1a\u5bfc\u81f4<\/p>\n<p>\u9519\u8bef\u4e94\uff1a<br \/>\n@ERROR: access denied to www from unknown (192.168.1.123)<br \/>\nrsync: connection unexpectedly closed (0 bytes received so far) [receiver]<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(359)<br \/>\n\u8bf4\u660e\uff1a\u6b64\u95ee\u9898\u5f88\u660e\u663e\uff0c\u662f\u914d\u7f6e\u9009\u9879host allow\u7684\u95ee\u9898\uff0c\u521d\u5b66\u8005\u559c\u6b22\u4e00\u4e2a\u5141\u8bb8\u6bb5\u505a\u6210\u4e00\u4e2a\u914d\u7f6e\uff0c\u7136\u540e\u6a21\u5757\u53c8\u662f\u540c\u4e00\u4e2a\uff0c\u81f4\u4f7f\u5bfc\u81f4<\/p>\n<p>\u9519\u8bef\u516d\uff1a<br \/>\nrsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) [generator=2.6.9]<br \/>\nrsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9]<br \/>\n\u8bf4\u660e\uff1a\u5bfc\u81f4\u6b64\u95ee\u9898\u591a\u534a\u662f\u670d\u52a1\u7aef\u670d\u52a1\u6ca1\u6709\u88ab\u6b63\u5e38\u542f\u52a8\uff0c\u5230\u670d\u52a1\u5668\u4e0a\u53bb\u67e5\u67e5\u670d\u52a1\u662f\u5426\u6709\u542f\u52a8\uff0c\u7136\u540e\u67e5\u770b\u4e0b \/var\/run\/rsync.pid \u6587\u4ef6\u662f\u5426\u5b58\u5728\uff0c\u6700\u5e72\u8106\u7684\u65b9\u6cd5\u662f\u6740\u6b7b\u5df2\u7ecf\u542f\u52a8\u4e86\u670d\u52a1\uff0c\u7136\u540e\u518d\u6b21\u542f\u52a8\u670d\u52a1\u6216\u8005\u8ba9\u811a\u672c\u52a0\u5165\u7cfb\u7edf\u542f\u52a8\u670d\u52a1\u7ea7\u522b\u7136\u540eshutdown -r now\u670d\u52a1\u5668<\/p>\n<p>\u9519\u8bef\u4e03\uff1a<br \/>\nrsync: read error: Connection reset by peer (104)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(604) [sender=2.6.9]<br \/>\n\u8bf4\u660e\uff1a\u539f\u6570\u636e\u76ee\u5f55\u91cc\u6ca1\u6709\u6570\u636e\u5b58\u5728<\/p>\n<p>error\u603b\u7ed3\uff1a<\/p>\n<p>@ERROR: chdir failed<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]<br \/>\n\u539f\u56e0\u53ca\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>\u8fd9\u4e00\u822c\u662f\u5728\u670d\u52a1\u5668\u7aef\u6ca1\u6709\u5efa\u7acb\u76ee\u5f55<\/p>\n<p>\u6216\u8005\u662f\u5982\u679c\u6709\u5f00\u542fSELinux\u53ea\u8981\u6267\u884c\u4e00\u4e0b\u547d\u4ee4<br \/>\n<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0SELinux\uff1b<br \/>\n<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0setsebool -P rsync_disable_trans on<\/p>\n<div>\n<p>\u5207\u8bb0: rsyncd.secrets\u7684\u6743\u9650\u5fc5\u987b\u4e3a600<\/p>\n<p>(\u6ce8\u610f\uff1a\u8fd9\u4e2a\u5b89\u5168\u8bbe\u7f6e\u5f88\u91cd\u8981\uff0c\u5982\u679c\u4e0d\u8fd9\u6837\u505a\u5ba2\u6237\u673a\u8fde\u63a5\u670d\u52a1\u5668\u65f6\u4f1a\u63d0\u793a\uff1a<\/p>\n<p>password file must not be other-accessible<\/p>\n<p>rsync error: some files could not be transferred (code 23) at main.c(1298) [generator=2.6.8]<\/p>\n<p>@ERROR: auth failed on module<br \/>\nrsync: connection unexpectedly closed (102 bytes read so far)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(165)<br \/>\n\u670d\u52a1\u5668\u7aef\u65e5\u5fd7\u5c06\u51fa\u73b0\u9519\u8bef\u63d0\u793a\uff1a<br \/>\n2005\/08\/23 06:32:01 [8388] secrets file must not be other-accessible (see strict modes option)<br \/>\n2005\/08\/23 06:32:01 [8388] continuing without secrets file<br \/>\n2005\/08\/23 06:32:01 [8388] auth failed on module \u00a0<wbr \/>\u00a0from documentserver<\/p>\n<\/div>\n<div>\u670d\u52a1\u5668\u7aefrsyncd.secrets\u00a0(\u7528\u6237:\u5bc6\u7801)&lt;\u7528\u6237\u5fc5\u987b\u662f\u7cfb\u7edf\u7528\u6237,\u5bc6\u7801\u5c3d\u91cf\u4e0d\u8981\u4e3a\u7cfb\u7edf\u7528\u6237\u5bc6\u7801&gt;<\/div>\n<div>\u5ba2\u6237\u7aefrsyncd.secrets\u00a0(\u5bc6\u7801)&lt;\u670d\u52a1\u5668\u7aef\u5bc6\u7801&gt;<\/div>\n<div>\n<p>\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u7684\u5e10\u6237\u5bc6\u7801\u90fd\u4e0d\u53ef\u4ee5\u6709\u7a7a\u683c,\u5426\u5219\u4f1a\u51fa\u73b0<\/p>\n<p>@ERROR: auth failed on module<\/p>\n<p>\u6ce8\u610f\uff1a<\/p>\n<p>\u5982\u679c\u6539\u53d8\u4e86\u7aef\u53e3\u53f7,\u4e00\u5b9a\u8981\u5728\/etc\/services\u4e2d\u628a\u5bf9\u5e94\u7684\u7aef\u53e3\u6539\u53d8\u624d\u80fd\u6b63\u5e38\u8fd0\u884c\u00a0<wbr \/><\/p>\n<\/div>\n<div>\u5982rsync\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0873\/tcp\u6539\u6210<\/div>\n<p><wbr \/>\u00a0<wbr \/>\u00a0rsync\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a0<wbr \/>\u00a03334\/tcp\u5373\u53ef<\/p>\n<p>error3\uff1a<\/p>\n<p>rsyncd.secrets\u7684\u5bc6\u7801\u4e00\u5b9a\u8981\u548cRsync Server\u5bc6\u7801\u8bbe\u5b9a\u6863\u6848\u91cc\u7684\u5bc6\u7801\u4e00\u6837\u3002\u5982\u679c\u4e0d\u540c(\u8ddf\u4e0d\u662flinux\u5408\u6cd5\u7528\u6237\u9519\u8bef\u4e00\u6837)\uff0c\u5c06\u4f1a\u51fa\u73b0\u5982\u4e0b\u7684\u9519\u8bef:<br \/>\n<wbr \/>#rsync -azv \/home rsync:\/\/root@192.168.1.107\/hadoop &#8211;password-file=\/home\/rsyncd.secrets<br \/>\n<wbr \/>@ERROR: auth failed on module hadoop<br \/>\n<wbr \/>rsync error: error starting client-server protocol (code 5) at main.c(1296) [sender=2.6.8]<\/p>\n<p>error4\uff1a<\/p>\n<p>\u5728client\u4e0a\u9047\u5230\u95ee\u9898\uff1a<br \/>\nrsync -auzv &#8211;progress &#8211;password-file=\/etc\/rsync.pas\u00a0root@192.168.133.128::backup\u00a0\/home\/<br \/>\nrsync: could not open password file &#8220;\/etc\/rsync.pas&#8221;: No such file or directory (2)<br \/>\nPassword:<br \/>\n@ERROR: auth failed on module backup<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]<br \/>\n\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff1aclient\u7aef\u6ca1\u6709\u8bbe\u7f6e\/etc\/rsync.pas\u8fd9\u4e2a\u6587\u4ef6\uff0c\u800c\u5728\u4f7f\u7528rsync\u547d\u4ee4\u7684\u65f6\u5019\uff0c\u52a0\u4e86\u8fd9\u4e2a\u53c2\u6570&#8211;<br \/>\npassword-file=\/etc\/rsync.pas<\/p>\n<p>error5\uff1a<br \/>\nrsync -auzv &#8211;progress &#8211;password-file=\/etc\/rsync.pas\u00a0root@192.168.133.128::backup\u00a0\/home\/<br \/>\n@ERROR: chdir failed<br \/>\nrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]<br \/>\n\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u56e0\u4e3a\u670d\u52a1\u5668\u7aef\u7684\/home\/backup\u00a0<wbr \/>\u00a0\u5176\u4e2dbackup\u8fd9\u4e2a\u76ee\u5f55\u5e76\u6ca1\u6709\u8bbe\u7f6e\uff0c\u6240\u4ee5\u63d0\u793a\uff1achdir failed<\/p>\n<p>error6\uff1a<br \/>\nrsync: write failed on &#8220;\/home\/backup2010\/wensong&#8221;: No space left on device (28)<br \/>\nrsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.7]<br \/>\nrsync: connection unexpectedly closed (2721 bytes received so far) [generator]<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(601) [generator=3.0.7]<br \/>\n\u78c1\u76d8\u7a7a\u95f4\u4e0d\u591f\uff0c\u6240\u4ee5\u65e0\u6cd5\u64cd\u4f5c\u3002<br \/>\n\u53ef\u4ee5\u901a\u8fc7df \/home\/backup2010 \u6765\u67e5\u770b\u53ef\u7528\u7a7a\u95f4\u548c\u5df2\u7528\u7a7a\u95f4<\/p>\n<p>error7\uff1a<\/p>\n<p>1\u3001\u6743\u9650\u95ee\u9898<br \/>\n\u7c7b\u4f3c\u5982\u4e0b\u7684\u63d0\u793a\uff1arsync: opendir &#8220;\/kexue&#8221; (in dtsChannel) failed: Permission denied (13)\u6ce8\u610f\u67e5\u770b\u540c\u6b65\u7684\u76ee\u5f55\u6743\u9650\u662f\u5426\u4e3a755<br \/>\n2\u3001time out<br \/>\nrsync: failed to connect to 203.100.192.66: Connection timed out (110)<br \/>\nrsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]<br \/>\n\u68c0\u67e5\u670d\u52a1\u5668\u7684\u7aef\u53e3netstat \u2013tunlp\uff0c\u8fdc\u7a0btelnet\u6d4b\u8bd5\u3002<br \/>\n3\u3001\u670d\u52a1\u672a\u542f\u52a8<br \/>\nrsync: failed to connect to 10.10.10.170: Connection refused (111)<br \/>\nrsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]<br \/>\n\u542f\u52a8\u670d\u52a1\uff1arsync &#8211;daemon &#8211;config=\/etc\/rsyncd.conf<br \/>\n4\u3001\u78c1\u76d8\u7a7a\u95f4\u6ee1<br \/>\nrsync: recv_generator: mkdir &#8220;\/teacherclubBackup\/rsync\u2026\u2026&#8221; failed: No space left on device (28)<br \/>\n*** Skipping any contents from this failed directory ***<br \/>\n5\u3001Ctrl+C\u6216\u8005\u5927\u91cf\u6587\u4ef6<br \/>\nrsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [receiver=3.0.5]<br \/>\nrsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [generator=3.0.5]<br \/>\n6\u3001xnetid\u542f\u52a8\uff08linux\uff09<br \/>\nrsync: read error: Connection reset by peer (104)<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.5]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6587\u7ae0\u6765\u81ea\u7f51\u7edc\u535a\u5ba2\uff0c\u539f\u6587\u5730\u5740\uff1ahttps:\/\/blog.uouo123.com\/post\/746.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u90fd\u662f\u901a\u8fc7\u9519\u8bef\u65e5\u5fd7\u67e5\u770b \u5728rsyncd.log\u91cc\u9762\u6216.err\u6587\u4ef6\u91cc\u9762\uff0c\u5927\u5bb6\u53ef\u4ee5\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u67e5\u770b\u3002 \u6ce8\u610fwin &#8230; <a title=\"rsync \u5e38\u89c1\u9519\u8bef\u4e0e\u89e3\u51b3\u65b9\u6cd5\u6574\u7406\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/rsync-%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95%e6%95%b4%e7%90%86-2\/\" aria-label=\"\u9605\u8bfb rsync \u5e38\u89c1\u9519\u8bef\u4e0e\u89e3\u51b3\u65b9\u6cd5\u6574\u7406\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[1454,1456],"class_list":["post-1618","post","type-post","status-publish","format-standard","hentry","category-linux","tag-rsync-","tag-rsync"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=1618"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1618\/revisions"}],"predecessor-version":[{"id":1619,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1618\/revisions\/1619"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=1618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=1618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=1618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}