{"id":369,"date":"2016-02-03T22:04:26","date_gmt":"2016-02-03T13:04:26","guid":{"rendered":"http:\/\/dukehide.dip.jp\/wordpress\/com\/?p=369"},"modified":"2018-02-13T00:18:21","modified_gmt":"2018-02-12T15:18:21","slug":"bind-error-and-service-script-modify","status":"publish","type":"post","link":"https:\/\/dukehide.com\/pc\/bind-error-and-service-script-modify\/","title":{"rendered":"BIND\u30a8\u30e9\u30fc\u3068named-chroot.service\u30b9\u30af\u30ea\u30d7\u30c8\u4fee\u6b63"},"content":{"rendered":"<p>3\u30f6\u6708\u3076\u308a\u306b\u81ea\u5b85\u306b\u623b\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u305f\u3089\u2026\u96fb\u6e90\u304c\u843d\u3061\u3066\u3044\u307e\u3057\u305f\u2026 orz\u3000\u505c\u96fb\u3067\u3082\u3042\u3063\u305f\u306e\u304b\u306a\uff1f<br \/>\n\u3000\u226b\u8a18\u4e8b\u300e<a href=\"https:\/\/dukehide.com\/blog-pc\/server-down\/\" target=\"_blank\">\u30b5\u30fc\u30d0\u30fc\u5b8c\u5168\u30c0\u30a6\u30f3\u72b6\u614b<\/a>\u300f<\/p>\n<p>\u65e9\u901f\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u308b\u3068\u2026\u4f55\u304b\u304a\u304b\u3057\u3044\uff1f systemctl status\u3067\u5404\u30b5\u30fc\u30d3\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u308b\u3068\u3001BIND\u306e\u8d77\u52d5\u3067\u30a8\u30e9\u30fc\u767a\u751f\u3002<\/p>\n<div class=\"terminal\">\n# systemctl status named-chroot<br \/>\n\u25cf named-chroot.service - Berkeley Internet Name Domain (DNS)<br \/>\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/named-chroot.service; enabled; vendor preset: disabled)<br \/>\n   Active: failed (Result: exit-code) since \u6c34 2016-02-03 20:35:28 JST; 14h ago<br \/>\n Main PID: 883 (code=exited, status=0\/SUCCESS)<br \/>\n<br \/>\n 2\u6708 3 20:35:28 pc-linux systemd[1]: Starting Berkeley Internet Name Domain (DNS)...<br \/>\n 2\u6708 3 20:35:28 pc-linux bash[28000]: \/etc\/named.conf:70: open: \/etc\/named.dukeh...nd<br \/>\n 2\u6708 3 20:35:28 pc-linux systemd[1]: named-chroot.service: control process exite...=1<br \/>\n 2\u6708 3 20:35:28 pc-linux systemd[1]: Failed to start Berkeley Internet Name Doma...).<br \/>\n 2\u6708 3 20:35:28 pc-linux systemd[1]: Unit named-chroot.service entered failed state.<br \/>\n 2\u6708 3 20:35:28 pc-linux systemd[1]: named-chroot.service failed.<br \/>\n 2\u6708 3 18:35:29 pc-linux systemd[1]: Unit named-chroot.service cannot be reloade...e.<br \/>\n 2\u6708 3 18:35:29 pc-linux systemd[1]: Unit named-chroot.service cannot be reloade...e.<br \/>\nHint: Some lines were ellipsized, use -l to show in full.\n<\/div>\n<p><\/p>\n<p>\u3057\u304b\u3082\u5384\u4ecb\u306a\u306e\u304c\u3001\u3053\u306eBIND\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3068\u30eb\u30fc\u30bf\u30fc\u306b\u3082\u5f71\u97ff\u3092\u53ca\u307c\u3057\u3001\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u4e0d\u53ef\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u3046\u306a\u308b\u3068\u30eb\u30fc\u30bf\u30fc\u3092\u518d\u8d77\u52d5\u3057\u306a\u3044\u3068\u3069\u3046\u306b\u3082\u306a\u3089\u306a\u3044\u306e\u3067\u3001\u4fee\u6b63\u3059\u308b\u307e\u3067BIND\u306f\u505c\u6b62\u3002<\/p>\n<p>\u8272\u3005\u3068\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306e\u30a8\u30e9\u30fc\u306f\u304b\u306a\u308a\u624b\u9593\u53d6\u308a\u307e\u3057\u305f\u3002\u3069\u3046\u3084\u3089\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4fee\u6b63\u3059\u308b\u3057\u304b\u65b9\u6cd5\u304c\u306a\u3055\u305d\u3046\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=1278082\" target=\"_blank\">https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=1278082<\/a><\/p>\n<div class=\"terminal\">\n# yum -y update<br \/>\n<br \/>\n# vi \/usr\/lib\/systemd\/system\/named-chroot.service<br \/>\n#ExecStartPre=\/bin\/bash -c 'if [ ! \"$DISABLE_ZONE_CHECKING\" == \"yes\" ]; then \/usr\/sbin\/named-checkconf -z \/etc\/named.conf; else echo \"Checking of zone files is disabled\"; fi'\u3000\u2190\u3000\u884c\u982d\u306b#\u3092\u8ffd\u52a0\u3057\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<br \/>\nExecStartPre=\/bin\/bash -c 'if [ ! \"$DISABLE_ZONE_CHECKING\" == \"yes\" ]; then \/usr\/sbin\/named-checkconf -t \/var\/named\/chroot -z \/etc\/named.conf; else echo \"Checking of zone files is disabled\";\u3000\u2190\u3000\u8ffd\u52a0<br \/>\n<br \/>\n# systemctl daemon-reload<br \/>\n# systemctl restart named-chroot<br \/>\n# systemctl status named-chroot<br \/>\n\u25cf named-chroot.service - Berkeley Internet Name Domain (DNS)<br \/>\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/named-chroot.service; enabled; vendor preset: disabled)<br \/>\n   Active: active (running) since \u6c34 2016-02-03 20:51:13 JST; 6s ago<br \/>\n  Process: 5144 ExecStart=\/usr\/sbin\/named -u named -t \/var\/named\/chroot $OPTIONS (code=exited, status=0\/SUCCESS)<br \/>\n Main PID: 5145 (named)<br \/>\n   CGroup: \/system.slice\/named-chroot.service<br \/>\n           \u2514\u25005145 \/usr\/sbin\/named -u named -t \/var\/named\/chroot -4<br \/>\n<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone 0.168.192.in-addr.arpa\/IN\/internal: ...01<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0... 0<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone dukehide.dip.jp\/IN\/internal: loaded s...01<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone localhost\/IN\/internal: loaded serial 0<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone localhost.localdomain\/IN\/internal: lo... 0<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: zone dukehide.mydns.jp\/IN\/internal: loaded...01<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: all zones loaded<br \/>\n 2\u6708 3 20:51:13 pc-linux named[5145]: running<br \/>\n 2\u6708 3 20:51:13 pc-linux systemd[1]: Started Berkeley Internet Name Domain (DNS).<br \/>\nHint: Some lines were ellipsized, use -l to show in full.\n<\/div>\n<p><\/p>\n<p>named-chroot.service\u3092\u66f8\u304d\u63db\u3048\u3066\u3069\u3046\u306b\u304bOK\u3002\u3044\u3084\u306f\u3084\u30cd\u30c3\u30c8\u306e\u60c5\u5831\u3067\u52a9\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6839\u672c\u7684\u306a\u4fee\u6b63\u306f\u3044\u3064\u306b\u306a\u308b\u306e\u3084\u3089\u2026\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>3\u30f6\u6708\u3076\u308a\u306b\u81ea\u5b85\u306b\u623b\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u305f\u3089\u2026\u96fb\u6e90\u304c\u843d\u3061\u3066\u3044\u307e\u3057\u305f\u2026 orz\u3000\u505c\u96fb\u3067\u3082\u3042\u3063\u305f\u306e\u304b\u306a\uff1f \u3000\u226b\u8a18\u4e8b\u300e\u30b5\u30fc\u30d0\u30fc\u5b8c\u5168\u30c0\u30a6\u30f3\u72b6\u614b\u300f \u65e9\u901f\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u308b\u3068\u2026\u4f55\u304b\u304a\u304b\u3057\u3044\uff1f systemct [&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,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"vkexunit_cta_each_option":"","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":[112,3],"tags":[103,28],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9iVw6-5X","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/369"}],"collection":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/comments?post=369"}],"version-history":[{"count":0,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/369\/revisions"}],"wp:attachment":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/media?parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/categories?post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/tags?post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}