{"id":3462,"date":"2024-02-26T13:37:07","date_gmt":"2024-02-26T04:37:07","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3462"},"modified":"2024-02-28T12:15:23","modified_gmt":"2024-02-28T03:15:23","slug":"docker%ef%bc%88rcll-refbox%e9%96%a2%e4%bf%82%ef%bc%89%e3%81%a7%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3462","title":{"rendered":"Docker\uff08rcll-refbox\u95a2\u4fc2\uff09\u3067\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<h4>\u25a0refbox-frontend exited with code 1<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nrefbox-frontend | (98)Address already in use: AH00072: make_sock: could not bind to address &#x5B;::]:80\r\nrefbox-frontend | (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80\r\n<\/pre>\n<p>rcll-refbox-frontend \u304c\uff0c\u5f93\u6765\u306e8080\u756a\u30dd\u30fc\u30c8\u3067\u306f\u306a\u304f80\u756a\u30dd\u30fc\u30c8\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\uff0e<br \/>\nDocker \u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u5143\u3005\u306e\u30de\u30b7\u30f3\u3067\u3082web\u30b5\u30fc\u30d0\u3092\u52d5\u304b\u3057\u3066\u3044\u305f\u3089\uff0c\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u6a21\u69d8\uff0e<\/p>\n<h4>refbox exited with code 139<\/h4>\n<p><mark><a href=\"https:\/\/komodor.com\/learn\/exit-codes-in-containers-and-kubernetes-the-complete-guide\">Exit Codes In Containers &#038; Kubernetes \u2013 The Complete Guide<\/a><\/mark>\u306eExit Code 139: Segmentation Fault (SIGSEGV)\u3092\u53c2\u7167\uff0e<br \/>\nSegmentation fault\u306b\u3088\u3063\u3066\uff0cSIGSEGV\u304c\u98db\u3093\u3067\u304d\u3066\u3044\u308b\u6a21\u69d8\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nrefbox           | terminate called after throwing an instance of 'mongocxx::v_noabi::bulk_write_exception'\r\nrefbox           |   what():  No suitable servers found (`serverSelectionTryOnce` set): &#x5B;connection refused calling hello on 'localhost:27017']: generic server error\r\nrefbox exited with code 139\r\n<\/pre>\n<p>refbox \u304b\u3089mongoDB\u3092\u547c\u3073\u51fa\u3059\u3068\u3053\u308d\u3067\uff0c\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u306a\u3044\u306e\u304b\u306a\u3041\uff0e<br \/>\n\u2192\u3000config\/refbox\/mongodb.yaml \u306e enable\u3092true\u304b\u3089false\u306b\u3057\u3066\u307f\u305f\u3089\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u306f\u6d88\u3048\u305f\u3051\u3069\uff0c139\u306e\u30a8\u30e9\u30fc\u306f\u5909\u308f\u3089\u305a\u2026\uff0e<br \/>\n\u2191 false\u306b\u3057\u3061\u3083\u3046\u3068\u30ed\u30b0\u304c\u53d6\u308c\u306a\u304f\u306a\u308a\u307e\u3059\uff0etrue \u306b\u3057\u305f\u307e\u307e\uff0c\u5225\u7aef\u672b\u304b\u3089docker exec -it refbox \/bin\/bash \u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\uff0ckill 1\u3067refbox \u3092\u843d\u3068\u3057\u307e\u3057\u3087\u3046\uff0e\u305d\u3046\u3059\u308b\u3068\uff0c\u518d\u8d77\u52d5\u3057\u3066mongo-db\u306b\u518d\u63a5\u7d9a\u3057\u3066\u304f\u308c\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nrefbox      | 06:40:17.883343 WebviewServer: Initializing thread\r\nrefbox      | 06:40:17.886749 WebviewServer: Listening for HTTP connections on port 8088 (IPv4,IPv6)\r\nrefbox exited with code 139\r\n<\/pre>\n<p>\u843d\u3061\u308b\u306e\u306f\uff0c\u3053\u306e\u8fba\uff0e<br \/>\n\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u4fc2\u304b\u306a\u3041\u2026\uff0e<br \/>\ncomm.yaml \u304c\u539f\u56e0\u3067\u3057\u305f\uff0e<br \/>\nDocker \u5185\u306erefbox \u3068git \u306erefbox \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5408\u3063\u3066\u3044\u306a\u3044\u3063\u307d\u3044\uff0e<br \/>\ncomm.yaml \u306e\u6700\u521d\u306e\u65b9\u306eprotobuf-dirs \u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3057\u305f\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nprotobuf-dirs: &#x5B;&quot;@SHAREDIR@\/msgs\/rcll-protobuf-msgs&quot;]\r\n<\/pre>\n<p>\u305d\u3057\u3066\uff0c\u6700\u5f8c\u306b\u4ee5\u4e0b\u306econtrol-via-broadcast \u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\n    # Turn this on if messages to instruct the refbox\r\n    # (SetTeamName, SetGameState, SetGamePhase)\r\n    # are also accepted from broadcast clients (e.g., the robots)\r\n    control-via-broadcast: false\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0refbox-frontend exited with code 1 refb &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3462\"> <span class=\"screen-reader-text\">Docker\uff08rcll-refbox\u95a2\u4fc2\uff09\u3067\u306e\u30a8\u30e9\u30fc<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,2,26,9,24],"tags":[],"class_list":["post-3462","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-robocup","category-robotino-2","category-robotino-3","category-robotino-4"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3462"}],"version-history":[{"count":7,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3462\/revisions"}],"predecessor-version":[{"id":3472,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3462\/revisions\/3472"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}