{"id":8118,"date":"2023-10-20T05:33:47","date_gmt":"2023-10-19T20:33:47","guid":{"rendered":"https:\/\/jg7sfr.mydns.jp\/?p=8118"},"modified":"2023-10-24T10:32:28","modified_gmt":"2023-10-24T01:32:28","slug":"apache%e3%81%ae%e3%83%ad%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%86%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3","status":"publish","type":"post","link":"https:\/\/jg7sfr.mydns.jp\/?p=8118","title":{"rendered":"apache\u306e\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">newsyslog\u3067\u73fe\u5728\u5b9f\u65bd\u4e2d\u3002\u76f8\u5909\u308f\u3089\u305a\u6642\u3005\u30b5\u30fc\u30d3\u30b9\u304c\u30c0\u30a6\u30f3\u3059\u308b\u3002<br><br>\uff03vi \/etc\/newsyslog.conf.d\/apache.conf<br><br># logfilename [owner:group] mode count size when flags [\/pid_file] [sig_num]<br>\/var\/log\/httpd\/*.log root:wheel 644 7 * $D05 BGX \/var\/run\/httpd.pid 1<br><br>sig_num \u304c1\u3067\u308230\u3067\u3082\u30b5\u30fc\u30d3\u30b9\u306f\u30c0\u30a6\u30f3\u3057\u305f\u3002<br>1\u306f\u30b7\u30b0\u30ca\u30eb:HUP\u3067\u6025\u306a\u518d\u8d77\u52d5<br>30\u306f\u30b7\u30b0\u30ca\u30eb:USR1\u3067\u7de9\u3084\u304b\u306a\u518d\u8d77\u52d5<br><br>apache\u306f\u63b4\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u3092\u63e1\u308a\u3063\u3071\u306a\u3057\u306b\u306a\u308b\u306e\u3067\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u306e\u4e8b\u3002\u3069\u3053\u304b\u306e\u30b5\u30a4\u30c8\u3067\u898b\u3064\u3051\u305f\u8a18\u4e8b\u306b\u3088\u308b\u3068\u3002<br><br>\u518d\u8d77\u52d5\u6642\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8aa4\u308a\u304c\u3042\u308b\u3068\u3001 \u89aa\u30d7\u30ed\u30bb\u30b9\u306f\u518d\u8d77\u52d5\u305b\u305a\u306b\u30a8\u30e9\u30fc\u3068\u3068\u3082\u306b\u7d42\u4e86\u3057\u307e\u3059\u3002 \u3053\u308c\u3092\u907f\u3051\u308b\u306b\u306f\u6b21\u306e\u65b9\u6cd5\u3092\u3054\u89a7\u4e0b\u3055\u3044\u3001\u3068apache\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u66f8\u304b\u308c\u3066\u3044\u305f\u3002<br>\u3064\u307e\u308a\u3001\u3053\u308c\u304c\u539f\u56e0\u306a\u306e\u304b\uff1f<br><br>newsyslogd\u306e\u8d77\u52d5\u6642\u9593\u306b\/var\/log\/messages\u306b\u306f\u4ee5\u4e0b\u306ewarning<br>Oct 20 05:00:00 kernel: pid 2058 (httpd), jid 0, uid 0: exited on signal 11 (core dumped)<br>\u305d\u3057\u3066<br>#gdb \/usr\/local\/sbin\/httpd -c \/httpd.core\u3067\u306f\u3044\u3064\u3082\u901a\u308a<br>warning: Could not load shared library symbols for [vdso].<br><br>\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3092\u898b\u3064\u3051\u305f\u3051\u308c\u3069\u3082\u30fb\u30fb\u30fb<br><a href=\"https:\/\/gnu.googlesource.com\/binutils-gdb\/+\/c1dae0a6a0ab03a778221a0f88048395d1d0796c\">c1dae0a6a0ab03a778221a0f88048395d1d0796c &#8211; binutils-gdb &#8211; Git at Google (googlesource.com)<\/a><br><br>\u672c\u65e53\u56de\u76ee\u306e\u30c6\u30b9\u30c8AM7:00\u306bnewsyslog\u5b9f\u884c<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/var\/log\/httpd\/access.log root:wheel 644 7 * $D07 BJ<br>\/var\/log\/httpd\/ssl_access.log root:wheel 644 7 * $D07 BJ<br>\/var\/log\/httpd\/ssl_error.log root:wheel 644 7 * $D07 BJ<br> [\/pid_file] [sig_num]\u3053\u306e\u4e8c\u3064\u3092\u6307\u5b9a\u3057\u306a\u3044\u8a2d\u5b9a\u3067$D07(7:00)\u5b9f\u884c\u3057\u3001apache24\u30b5\u30fc\u30d3\u30b9\u306f\u505c\u6b62\u305b\u305a\u3002\u305f\u307e\u305f\u307e\u304b\uff1f\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3057\u3066\u5727\u7e2e\u3092\u3057\u3066\u3044\u308b\u3051\u308c\u3069\u3082\u3001\u30a2\u30af\u30bb\u30b9\u6570\u304c\u5c11\u306a\u3044\u304b\u3089\u5727\u7e2e\u306e\u5fc5\u8981\u3042\u308b\uff1f\u3068\u7591\u554f\u3092\u62b1\u304f\u3002<br> [\/pid_file] [sig_num]\u3053\u306e\u4e8c\u3064\u3092\u6307\u5b9a\u3057\u306a\u3044\u8a2d\u5b9a\u3067$D08(8:00)\u5b9f\u884c\u3057\u3001apache24\u30b5\u30fc\u30d3\u30b9\u306f\u505c\u6b62\u305b\u305a\u3002<br>\u3044\u3044\u611f\u3058\u3002<br><br>10\/22 5:00\u3002\u554f\u984c\u306a\u304fapache\u306f\u7a3c\u50cd\u4e2d\u3002core dumped\u306f\u7121\u3057\u3002<br>10\/23 \u554f\u984c\u306a\u3057\u3002\u89e3\u6c7a\u3057\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<br>\u305d\u308c\u306f\u305d\u3046\u3068\u77ed\u3044\u9593\u9694\u3067\u5727\u7e2e\u3055\u308c\u308b\u306e\u3067\u898b\u308b\u306e\u304c\u9762\u5012\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<br>10\/24 apache24\u30b5\u30fc\u30d3\u30b9\u306e\u30c0\u30a6\u30f3\u7121\u3057<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>newsyslog\u3067\u73fe\u5728\u5b9f\u65bd\u4e2d\u3002\u76f8\u5909\u308f\u3089\u305a\u6642\u3005\u30b5\u30fc\u30d3\u30b9\u304c\u30c0\u30a6\u30f3\u3059\u308b\u3002 \uff03vi \/etc\/newsyslog.conf.d\/apache.conf # logfilename [owner:group] mode coun&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[4],"tags":[617,677,707,708,706,705],"class_list":["post-8118","post","type-post","status-publish","format-image","hentry","category-bsd","tag-gdb","tag-newsyslog","tag-sig_num","tag-vdso","tag-706","tag-705","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/8118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8118"}],"version-history":[{"count":9,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/8118\/revisions"}],"predecessor-version":[{"id":8144,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/8118\/revisions\/8144"}],"wp:attachment":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}