{"id":234,"date":"2019-03-28T01:56:31","date_gmt":"2019-03-27T16:56:31","guid":{"rendered":"http:\/\/blog.mystia04.net\/?p=234"},"modified":"2020-04-27T19:05:32","modified_gmt":"2020-04-27T10:05:32","slug":"post-234","status":"publish","type":"post","link":"https:\/\/mystia04.net\/?p=234","title":{"rendered":"Linux to Linux\u306ersync\u30b3\u30de\u30f3\u30c9\u3067No route to host\u304c\u51fa\u308b"},"content":{"rendered":"\n<p>Ubuntu\u3067Wekan\u306e\u30db\u30c3\u30c8\u30b9\u30bf\u30f3\u30d0\u30a4\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u3044\u305f\u969b\u306b\u3001<br>dump\u3055\u308c\u305fDB\u30c7\u30fc\u30bf\u3092rsync\u3067\u8ee2\u9001\u3057\u3001restore\u3059\u308b\u2026\u3068\u3044\u3063\u305f\u624b\u9806\u306e<br>\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u7d44\u3093\u3067\u305f\u3093\u3067\u3059\u304c\u3001\u3069\u3046\u3082rsync\u304c\u901a\u3089\u306a\u3044\u3002<br>\u3044\u3084\u3001\u5e38\u306b\u901a\u3089\u306a\u3044\u308f\u3051\u3067\u306f\u306a\u304f\u3066\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rsync -av \/home\/user\/data user@192.168.x.x:\/home\/user<\/code><\/pre>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u306e\u6240\u8b02\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u805e\u304b\u308c\u308b\u72b6\u614b\u300d\u3067\u306f\u6210\u529f\u3059\u308b\u306e\u306b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rsync -av \/home\/user\/data user@192.168.x.x::USERDATA<\/code><\/pre>\n\n\n\n<p>\uff08\u53c2\u8003\uff1a<a href=\"http:\/\/nosa.cocolog-nifty.com\/sanonosa\/2014\/03\/rsync-c66f.html\">\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067rsync\u3059\u308b\u65b9\u6cd5<\/a>\uff09<\/p>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u7701\u3044\u305f\u72b6\u614b\u306ersync\u30b3\u30de\u30f3\u30c9\u3067\u3001<br>\u30db\u30b9\u30c8\u306b\u8fbf\u308a\u7740\u3051\u307e\u305b\u3093\u3067\u3057\u305f\u3068\u3044\u3063\u305fIP\u6307\u5b9a\u3092\u30df\u30b9\u3063\u305f\u3088\u3046\u306a<br>\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rsync: failed to connect to 192.168.x.x (192.168.x.x): No route to host (113) rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.1.2]<\/code><\/pre>\n\n\n\n<p>\u3082\u3061\u308d\u3093ping\u3068\u304bssh\u306f\u901a\u308b\u306e\u3067\u3001IP\u6307\u5b9a\u306f\u6b63\u3057\u3044\u3002<br>\u3069\u3046\u3057\u305f\u3082\u3093\u304b\u2026\u3068\u691c\u7d22\u3057\u3066\u3044\u308b\u3068\u3001<br>\u3069\u3046\u3084\u3089\u30dd\u30fc\u30c8\u304c\u89e3\u653e\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u3082<br>No route to host\u3068\u30a8\u30e9\u30fc\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u3082\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p>\uff08\u53c2\u8003\uff1a<a href=\"https:\/\/blog.hidekiy.com\/2012\/09\/linux-ping-no-route-to-host.html\">ping \u306f\u901a\u308b\u306e\u306b No route to host \u3068\u8a00\u308f\u308c\u308b<\/a>\uff09<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001rsync\u3067\u4f7f\u7528\u3055\u308c\u308b873\u756a\u30dd\u30fc\u30c8\u3092\u89e3\u653e\u3057\u3066\u304a\u3044\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables -I INPUT 3 -p tcp -m tcp --dport 873 -j ACCEPT<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3067\u3072\u3068\u307e\u305a\u89e3\u6d88\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3068\u3044\u3046\u3068\u3001\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u898b\u308b\u9650\u308a<br>\u305d\u306e\u5834\u3067\u8a8d\u8a3c\u3059\u308b\u3068\u304d\u306fssh\u304c\u4f7f\u308f\u308c\u3066\u3001<br>rsync\u540c\u58eb\u3067\u306e\u8a8d\u8a3c\u3060\u3068rsync\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u4f7f\u308f\u308c\u308b\u306e\u3067<br>TCP:873\u756a\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u306a\u3044\u3068\u30c0\u30e1\u3089\u3057\u3044\u3002\u306f\u3048\uff5e<\/p>\n\n\n\n<p><a href=\"http:\/\/www.maruko2.com\/mw\/rsync_%E3%81%A7%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%AE%E5%90%8C%E6%9C%9F%EF%BC%88%E3%83%90%E3%83%83%E3%82%AF%E3%82%A2%E3%83%83%E3%83%97%EF%BC%89\">rsync\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540c\u671f\uff08\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff09<\/a><\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u6587\u304c\u6b63\u3057\u3044\u3068\u306f\u9650\u3089\u306a\u3044\u2026\u3063\u3066\u3044\u3046\u306e\u3092\u518d\u8a8d\u8b58\u3057\u305f\u306a\u3069\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div class=\"amazlet-box\" style=\"margin-bottom:0px;\"><div class=\"amazlet-image\" style=\"float:left;margin:0px 12px 1px 0px;\"><a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/B01LATWL5G\/mystia44-22\/ref=nosim\/\" name=\"amazletlink\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/images-fe.ssl-images-amazon.com\/images\/I\/41gkiKlgIpL._SL160_.jpg\" alt=\"Anker PowerCore Fusion 5000 (5000mAh \u30e2\u30d0\u30a4\u30eb\u30d0\u30c3\u30c6\u30ea\u30fc\u642d\u8f09 USB\u6025\u901f\u5145\u96fb\u5668) \u3010PSE\u8a8d\u8a3c\u6e08\/PowerIQ\u642d\u8f09\/\u6298\u308a\u305f\u305f\u307f\u5f0f\u30d7\u30e9\u30b0\u642d\u8f09\u3011 iPhone\u3001iPad\u3001Android\u5404\u7a2e\u5bfe\u5fdc (\u30d6\u30e9\u30c3\u30af)\" style=\"border: none;\" \/><\/a><\/div><div class=\"amazlet-info\" style=\"line-height:120%; margin-bottom: 10px\"><div class=\"amazlet-name\" style=\"margin-bottom:10px;line-height:120%\"><a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/B01LATWL5G\/mystia44-22\/ref=nosim\/\" name=\"amazletlink\" target=\"_blank\" rel=\"noopener noreferrer\">Anker PowerCore Fusion 5000 (5000mAh \u30e2\u30d0\u30a4\u30eb\u30d0\u30c3\u30c6\u30ea\u30fc\u642d\u8f09 USB\u6025\u901f\u5145\u96fb\u5668) \u3010PSE\u8a8d\u8a3c\u6e08\/PowerIQ\u642d\u8f09\/\u6298\u308a\u305f\u305f\u307f\u5f0f\u30d7\u30e9\u30b0\u642d\u8f09\u3011 iPhone\u3001iPad\u3001Android\u5404\u7a2e\u5bfe\u5fdc (\u30d6\u30e9\u30c3\u30af)<\/a><div class=\"amazlet-powered-date\" style=\"font-size:80%;margin-top:5px;line-height:120%\">posted with <a href=\"http:\/\/www.amazlet.com\/\" title=\"amazlet\" target=\"_blank\" rel=\"noopener noreferrer\">amazlet<\/a> at 19.03.27<\/div><\/div><div class=\"amazlet-detail\">Anker <br \/>\u58f2\u308a\u4e0a\u3052\u30e9\u30f3\u30ad\u30f3\u30b0: 26<br \/><\/div><div class=\"amazlet-sub-info\" style=\"float: left;\"><div class=\"amazlet-link\" style=\"margin-top: 5px\"><a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/B01LATWL5G\/mystia44-22\/ref=nosim\/\" name=\"amazletlink\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon.co.jp\u3067\u8a73\u7d30\u3092\u898b\u308b<\/a><\/div><\/div><\/div><div class=\"amazlet-footer\" style=\"clear: left\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu\u3067Wekan\u306e\u30db\u30c3\u30c8\u30b9\u30bf\u30f3\u30d0\u30a4\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u3044\u305f\u969b\u306b\u3001dump\u3055\u308c\u305fDB\u30c7\u30fc\u30bf\u3092rsync\u3067\u8ee2\u9001\u3057\u3001restore\u3059\u308b\u2026\u3068\u3044\u3063\u305f\u624b\u9806\u306e\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u7d44\u3093\u3067\u305f\u3093\u3067\u3059\u304c\u3001\u3069\u3046\u3082rsync\u304c\u901a\u3089\u306a\u3044\u3002\u3044\u3084\u3001\u5e38\u306b\u901a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-standard","hentry","category-program"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pbWwyc-3M","_links":{"self":[{"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mystia04.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234"}],"version-history":[{"count":1,"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/mystia04.net\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/mystia04.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mystia04.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mystia04.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}