{"id":574,"date":"2017-05-20T14:12:17","date_gmt":"2017-05-20T05:12:17","guid":{"rendered":"https:\/\/onaraboo.com\/?p=574"},"modified":"2017-05-20T14:12:17","modified_gmt":"2017-05-20T05:12:17","slug":"linux-centos6-8-apache%e3%81%8c%e8%b5%b7%e5%8b%95%e3%81%9b%e3%81%ac%ef%bc%9f%ef%bc%81","status":"publish","type":"post","link":"https:\/\/onaraboo.com\/?p=574","title":{"rendered":"Linux CentOS6.8 Apache\u304c\u8d77\u52d5\u305b\u306c\uff1f\uff01"},"content":{"rendered":"<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/onaraboo.com\/?p=574\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/onaraboo.com\/?p=574\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"Linux CentOS6.8 Apache\u304c\u8d77\u52d5\u305b\u306c\uff1f\uff01\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img loading=\"lazy\" decoding=\"async\" src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_line\"><a href='http:\/\/line.me\/R\/msg\/text\/?Linux%20CentOS6.8%20Apache%E3%81%8C%E8%B5%B7%E5%8B%95%E3%81%9B%E3%81%AC%EF%BC%9F%EF%BC%81%0D%0Ahttps%3A%2F%2Fonaraboo.com%2F%3Fp%3D574' title='LINE\u3067\u9001\u308b' rel=nofollow class='wp_social_bookmarking_light_a' ><img src='https:\/\/onaraboo.com\/wordpress\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/line20x20.png' alt='LINE\u3067\u9001\u308b' title='LINE\u3067\u9001\u308b' width='20' height='20' class='wp_social_bookmarking_light_img' \/><\/a><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/onaraboo.com\/?p=574\" data-text=\"Linux CentOS6.8 Apache\u304c\u8d77\u52d5\u305b\u306c\uff1f\uff01\" data-lang=\"ja\">Tweet<\/a><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n<h2><strong><span style=\"color: #ff0000;\">\u30b3\u30c8\u306e\u8d77\u3053\u308a\u306f\u7a81\u7136\u306b\u2026<\/span><\/strong><\/h2>\n<p>\u30d6\u30ed\u30b0\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u60aa\u3044\u306e\u3067\u6700\u8fd1\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u518d\u8d77\u52d5\u3067\u3082\u3057\u3066\u307f\u308b\u3002\uff08\u2190Windows\u9ece\u660e\u4e2d\u671f\u306e\u304a\u7d04\u675f\uff09<br \/>\n\u5229\u7528\u74b0\u5883\u306f\u300c\u3055\u304f\u3089\u306eVPS\u300d\u306a\u306e\u3067\u300cCentOS6.8\u300d\u306a\u306e\u3067\u3001\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# shutdown now\r\n<\/pre>\n<p>\u30fb\u30fb\u30fb\u30fb\u306a\u304b\u306a\u304b\u843d\u3061\u306a\u3044\u306a\u2026\u3002<\/p>\n<p>\uff15\u5206\u7d4c\u904e\u3002\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u30fb\u306a\u304b\u306a\u304b\u843d\u3061\u306a\u3044\u306a\u2026\u3002<br \/>\n\u3084\u3063\u3061\u3083\u3048\uff01<br \/>\n\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u753b\u9762\u304b\u3089<\/p>\n<p><a href=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2017\/05\/20170520_01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-575\" src=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2017\/05\/20170520_01-300x68.jpg\" alt=\"\" width=\"613\" height=\"139\" srcset=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2017\/05\/20170520_01-300x68.jpg 300w, https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2017\/05\/20170520_01.jpg 747w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/a><\/p>\n<p>\u843d\u3061\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u3001\u8d77\u52d5\uff01<br \/>\n\uff15\u5206\u304f\u3089\u3044\u653e\u7f6e\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u30b3\u30f3\u30bd\u30fc\u30eb\u753b\u9762\u3092\u958b\u3044\u3066\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# \/etc\/rc.d\/init.d\/httpd restart\r\nhttpd \u3092\u505c\u6b62                                               [  OK  ]\r\nhttpd \u3092\u8d77\u52d5\u4e2d: (98)Address already in use: make_sock: could not bind to address [::]:80\r\n(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80\r\nno listening sockets available, shutting down\r\nUnable to open logs\r\n                                                           [\u5931\u6557]\r\n<\/pre>\n<p>\u3093\uff1f[\u5931\u6557]\uff1f<br \/>\n\u30b0\u30b0\u3063\u3066\u307f\u308b\u3068\u3001\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30dd\u30fc\u30c8\u3092\u5360\u6709\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3002\u8ab0\u3060\uff01\uff1f<\/p>\n<h2><span style=\"color: #ff6600;\"><strong>\u81ea\u4f5c\u81ea\u6f14\u304b\u3088\uff1f\uff01<\/strong><\/span><\/h2>\n<p>\u3055\u3089\u306b\u8abf\u3079\u308b\u3068<br \/>\nhttpd\u304c\u7570\u5e38\u7d42\u4e86\u3057\u3066\u53e4\u3044httpd\u30d7\u30ed\u30bb\u30b9\u304c\u6b8b\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u539f\u56e0\u3002<br \/>\n\u3068\u306e\u6587\u8a00\u3092\u767a\u898b\u3002<br \/>\n\u3067\u306f\u30b3\u30a4\u30c4\u3092\u306a\u3093\u3068\u304b\u3057\u307e\u3059\u3002<br \/>\n\u59cb\u3081\u306bApache\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002lsof\u30b3\u30de\u30f3\u30c9<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# lsof -i | grep http\r\nhttpd    1581   apache    4u  IPv6  90360      0t0  TCP *:http (LISTEN)\r\nhttpd    1581   apache    4u  IPv6  90360      0t0  TCP *:http (LISTEN)\r\n<\/pre>\n<p>1581\u306e\u30d7\u30ed\u30bb\u30b9\uff29\uff24\u3092\u6301\u3064\u3082\u306e\u304c\u3044\u308b\u3002\u3053\u308c\u304c\u5360\u6709\u306e\u5143\u51f6\u3002kill\u3067\u30ad\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# kill -9 1581\r\n<\/pre>\n<p>\u3053\u308c\u3067\u6d88\u3048\u307e\u3059\u3002<br \/>\n\u518d\u5ea6\u8d77\u52d5\u3055\u305b\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# \/etc\/rc.d\/init.d\/httpd restart\r\nStopping httpd:                                            [  OK  ]\r\nStarting httpd: Apache\/2.2.15 mod_ssl\/2.2.15 (Pass Phrase Dialog)\r\nSome of your private key files are encrypted for security reasons.\r\nIn order to read them you have to provide the pass phrases.\r\n\r\nServer onaraboo.com:443 (RSA)\r\nEnter pass phrase:\r\n\r\nOK: Pass Phrase Dialog successful.\r\n                                                           [  OK  ]\r\n<\/pre>\n<p>\u9014\u4e2d\u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306fhttps\u5bfe\u5fdc\u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067\u8d77\u52d5\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\u8272\u3005\u306a\u539f\u56e0\u3067\u6025\u306b\u52d5\u304b\u306a\u304f\u306a\u308b\u3053\u3068\u306f\u3088\u304f\u3042\u308b\u3053\u3068\u3002<br \/>\n\u7d30\u304b\u3044\u5185\u5bb9\u3067\u3082\u30e1\u30e2\u304c\u3042\u308c\u3070\u3069\u3053\u304b\u3067\u52a9\u304b\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30c8\u306e\u8d77\u3053\u308a\u306f\u7a81\u7136\u306b\u2026 \u30d6\u30ed\u30b0\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u60aa\u3044\u306e\u3067\u6700\u8fd1\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u518d\u8d77\u52d5\u3067\u3082\u3057\u3066\u307f\u308b\u3002\uff08\u2190Windows\u9ece\u660e\u4e2d\u671f\u306e\u304a\u7d04\u675f\uff09 \u5229\u7528\u74b0\u5883\u306f\u300c\u3055\u304f\u3089\u306eVPS\u300d\u306a\u306e\u3067\u300cCentOS6.8\u300d\u306a\u306e\u3067\u3001\u7ba1\u7406\u30b3\u30f3&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/onaraboo.com\/?p=574\">Read more<span class=\"screen-reader-text\">Linux CentOS6.8 Apache\u304c\u8d77\u52d5\u305b\u306c\uff1f\uff01<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,14],"tags":[],"class_list":["post-574","post","type-post","status-publish","format-standard","hentry","category-linux","category-14","entry"],"_links":{"self":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts\/574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=574"}],"version-history":[{"count":0,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions"}],"wp:attachment":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}