{"id":11311,"date":"2023-05-09T06:49:47","date_gmt":"2023-05-08T21:49:47","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=11311"},"modified":"2023-05-09T06:51:35","modified_gmt":"2023-05-08T21:51:35","slug":"rhel-8%e3%81%a7%e5%a4%a7%e9%87%8f%e3%81%ab%e5%87%ba%e5%8a%9b%e3%81%95%e3%82%8c%e3%82%8b%e3%83%ad%e3%82%b0%e3%82%92%e3%83%ad%e3%82%b9%e3%83%88%e3%81%aa%e3%81%8f%e8%a8%98%e9%8c%b2%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/11311","title":{"rendered":"RHEL 8\u3067\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u3092\u30ed\u30b9\u30c8\u306a\u304f\u8a18\u9332\u3059\u308b\uff01"},"content":{"rendered":"<p>RHEL 8\u3067\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u3092\u30ed\u30b9\u30c8\u306a\u304f\u8a18\u9332\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u306f\u3059\u3079\u3066\u306f\u8a18\u9332\u3055\u308c\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\uff01<\/h2>\n<p>RHEL 8\u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u30c0\u30a6\u30f3\u3092\u9632\u3050\u305f\u3081\u3001\u30ed\u30b0\u51fa\u529b\u306b\u5236\u9650\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>journald\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\uff01<\/h2>\n<p>journald.conf\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n#  cat \/etc\/systemd\/journald.conf\r\n#  This file is part of systemd.\r\n#\r\n#  systemd is free software; you can redistribute it and\/or modify it\r\n#  under the terms of the GNU Lesser General Public License as published by\r\n#  the Free Software Foundation; either version 2.1 of the License, or\r\n#  (at your option) any later version.\r\n#\r\n# Entries in this file show the compile time defaults.\r\n# You can change settings by editing this file.\r\n# Defaults can be restored by simply deleting this file.\r\n#\r\n# See journald.conf(5) for details.\r\n\r\n&#x5B;Journal]\r\n#Storage=auto\r\n#Compress=yes\r\n#Seal=yes\r\n#SplitMode=uid\r\n#SyncIntervalSec=5m\r\n#RateLimitIntervalSec=30s\r\n#RateLimitBurst=10000\r\n#SystemMaxUse=\r\n#SystemKeepFree=\r\n#SystemMaxFileSize=\r\n#SystemMaxFiles=100\r\n#RuntimeMaxUse=\r\n#RuntimeKeepFree=\r\n#RuntimeMaxFileSize=\r\n#RuntimeMaxFiles=100\r\n#MaxRetentionSec=\r\n#MaxFileSec=1month\r\n#ForwardToSyslog=no\r\n#ForwardToKMsg=no\r\n#ForwardToConsole=no\r\n#ForwardToWall=yes\r\n#TTYPath=\/dev\/console\r\n#MaxLevelStore=debug\r\n#MaxLevelSyslog=debug\r\n#MaxLevelKMsg=notice\r\n#MaxLevelConsole=info\r\n#MaxLevelWall=emerg\r\n#LineMax=48K\r\n<\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5024\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u3067\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u5024\u3067\u3059\u3002\u30ed\u30b0\u51fa\u529b\u3092\u3059\u3079\u3066\u8a18\u9332\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nRateLimitIntervalSec=0\r\nRateLimitBurst=0\r\n<\/pre>\n<p>jounarld\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# systemctl restart systemd-journald.service\r\n<\/pre>\n<h2>rsyslogd\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\uff01<\/h2>\n<p>rsyslogd.conf\u306b\u8a2d\u5b9a\u306b\u4ee5\u4e0b\u306e2\u884c\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# cat \/etc\/rsyslog.conf\r\n...\r\n$imjournalRatelimitInterval 0\r\n$imjournalRatelimitBurst    0\r\n<\/pre>\n<p>rsyslogd\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# systemctl restart rsyslog.service\r\n<\/pre>\n<h2>\u30ed\u30b0\u304c\u3059\u3079\u3066\u8a18\u9332\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30a7\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3001\u30ed\u30b0\u304c\u3059\u3079\u3066\u8a18\u9332\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#!\/bin\/bash\r\n\r\nMAX_NUM=30000\r\n\r\ni=1\r\nwhile &#x5B; $i -le ${MAX_NUM} ]\r\ndo\r\n  logger -ip local0.crit -t logtest &quot;Critical error 01 occured! &#x5B;$i]&quot;\r\n  i=`expr $i + 1`\r\ndone\r\n<\/pre>\n<p>\u30ed\u30b0\u51fa\u529b\u306e\u4ef6\u6570\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,3]; title: ; notranslate\" title=\"\">\r\n# journalctl -x | grep &quot;Critical error 01 occured!&quot; | wc -l\r\n30000\r\n# grep &quot;Critical error 01 occured!&quot; \/var\/log\/messages | wc -l\r\n30000\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>RHEL 8\u3067\u306f\u3001\u30ed\u30b0\u51fa\u529b\u306b\u5236\u9650\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002\u30ed\u30b9\u30c8\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001jounrald\u3068rsyslogd\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.redhat.com\/en\/technologies\/linux-platforms\/enterprise-linux\" target=\"_blank\" rel=\"noopener\">Red Hat Enterprise Linux<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/4965\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_rhel_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H8WqP7\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41Hsgz5kRSL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RHEL 8\u3067\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u3092\u30ed\u30b9\u30c8\u306a\u304f\u8a18\u9332\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5291,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239],"tags":[],"class_list":["post-11311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel-8"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/11311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=11311"}],"version-history":[{"count":3,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/11311\/revisions"}],"predecessor-version":[{"id":11314,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/11311\/revisions\/11314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5291"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=11311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=11311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=11311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}