{"id":1821,"date":"2020-04-16T20:56:13","date_gmt":"2020-04-16T12:56:13","guid":{"rendered":"http:\/\/www.eumz.com\/?p=1821"},"modified":"2020-04-16T20:56:13","modified_gmt":"2020-04-16T12:56:13","slug":"redhat%e5%90%af%e5%8a%a8%e6%97%b6%e6%8a%a5%e9%94%99unexpected-inconsistency%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wxcn.com\/?p=1821","title":{"rendered":"REDHAT\u542f\u52a8\u65f6\u62a5\u9519UNEXPECTED INCONSISTENCY\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"\n<p>\u73b0\u6709\u4e00\u53f0HP DL380 G8\u670d\u52a1\u5668\uff0c\u5b89\u88c5redhat7.X\u7cfb\u7edf\uff0c\u66f4\u6362\u4e3b\u677f\u540e\uff0c\u53d1\u73b0\u8fdb\u4e0d\u4e86\u7cfb\u7edf\uff0c\u62a5\u9519\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p>\/dev\/mapper\/vg_xxx-lv_usr:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY.<br>\/dev\/mapper\/vg_xxx-lv_var:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY.<br>\u2026<br>An error occurred during the file system check.<br>Dropping you to a shell;the system will reboot<br>\u2026<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u8fd9\u4e2a\u6545\u969c\uff0c\u53ea\u9700\u8981\u6309\u7167\u63d0\u793afsck\u68c0\u67e5\u4e0b\u78c1\u76d8\u76f8\u5173\u5206\u533a\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u8f93\u5165root\u5bc6\u7801\u540e\uff0cfsck -y \/dev\/mapper\/vg_xxx-lv_usr\uff0cfsck -y \/dev\/mapper\/vg_xxx-lv_var\u3002<\/p>\n\n\n\n<p>\u91cd\u542f\uff0c\u4f46\u662f\u51fa\u73b0\u53e6\u4e00\u4e2a\u62a5\u9519\uff1a<br>Starting system logger:Can\u2019t open or create \/var\/run\/syslogd.pid.<br>Can\u2019t write pid.<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u8fd9\u4e2a\u62a5\u9519\uff0c\u662f\u56e0\u4e3aroot\u7528\u6237\u6ca1\u6709\u5ba1\u8ba1\u65e5\u5fd7\u6587\u4ef6\u7684\u6743\u9650\uff0c\u5bfc\u81f4system logger\u542f\u52a8\u5931\u8d25\uff0c\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\uff1a<br>#chown root.root \/var\/log\/audit\/audit.log<br>#chmod 600 \/var\/log\/audit\/audit.log<\/p>\n\n\n\n<p>\u91cd\u542f\uff0c\u6210\u529f\u8fdb\u5165\u7cfb\u7edf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u6709\u4e00\u53f0HP DL380 G8\u670d\u52a1\u5668\uff0c\u5b89\u88c5redhat7.X\u7cfb\u7edf\uff0c\u66f4\u6362\u4e3b\u677f\u540e\uff0c\u53d1\u73b0\u8fdb\u4e0d\u4e86\u7cfb\u7edf\uff0c\u62a5\u9519\u4fe1\u606f\u5982\u4e0b\uff1a  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[125,148,183,300],"class_list":["post-1821","post","type-post","status-publish","format-standard","hentry","category-operating-system","tag-fsck","tag-hp","tag-linux-2","tag-unexpected-inconsistensy"],"_links":{"self":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/1821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1821"}],"version-history":[{"count":0,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/1821\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}