{"id":102814,"date":"2020-05-10T04:27:02","date_gmt":"2020-05-09T20:27:02","guid":{"rendered":"http:\/\/4563.org\/?p=102814"},"modified":"2020-05-10T04:27:02","modified_gmt":"2020-05-09T20:27:02","slug":"%e8%af%b7%e6%95%99%e5%a6%82%e4%bd%95%e5%88%86%e6%9e%90-linux-%e7%b3%bb%e7%bb%9f%e6%84%8f%e5%a4%96%e9%87%8d%e5%90%af","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=102814","title":{"rendered":"\u8bf7\u6559\u5982\u4f55\u5206\u6790 Linux \u7cfb\u7edf\u610f\u5916\u91cd\u542f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u5982\u4f55\u5206\u6790 Linux \u7cfb\u7edf\u610f\u5916\u91cd\u542f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <span><i><\/i> 62<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u5355\u4f4d\u5f88\u5076\u5c14\u4f1a\u6709\u670d\u52a1\u5668\u65e0\u6545\u91cd\u542f\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e3a RHEL6\uff0c\u81ea\u5df1\u603b\u7ed3\u4e86\u4e00\u4e9b\u7ecf\u9a8c\uff0c\u60f3\u8bf7\u5927\u5bb6\u8865\u5145\u548c\u5206\u4eab\u66f4\u597d\u7684\u601d\u8def\uff0c\u8c22\u8c22\u3002<\/p>\n<p>1.\u8f93\u5165 last reboot \u770b\u91cd\u542f\u65f6\u95f4\uff0c\u4e4b\u540e\u7ffb\u67e5 \/var\/log\/messages\uff0c\u770b\u91cd\u542f\u65f6\u95f4\u4e4b\u524d\u6709\u4ec0\u4e48\u81f4\u547d\u62a5\u9519\uff1b<br \/>2.\u4f7f\u7528 sosreport\u3001xsos \u76f8\u5173\u5de5\u5177\uff0c\u67e5\u770b CPU\u3001\u5185\u5b58\u7b49\u8d44\u6e90\u662f\u5426\u4e0d\u8db3\uff0c\u6392\u67e5\u8ba1\u5212\u4efb\u52a1\u7b49\u3002      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"693922\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mikeguan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9700\u8981\u6392\u67e5\u4e0b\u786c\u4ef6\u60c5\u51b5\uff0c\u7279\u522b\u662f\u5185\u5b58 \/\u786c\u76d8\u662f\u5426\u62a5\u9519\uff0c\u6709\u6761\u4ef6\u8fd8\u662f\u53bb\u673a\u623f\u770b\u4e0b\u5177\u4f53\u60c5\u51b5\u6bd4\u8f83\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693923\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mikeguan \u55ef\u5047\u8bbe\u662f\u786c\u4ef6\u6ca1\u6709\u4efb\u4f55\u544a\u8b66\u7684\u60c5\u51b5\u4e0b\uff0c\u5355\u7eaf\u4ece\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5206\u6790\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693924\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sean10 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6293\u5185\u6838\u65e5\u5fd7\uff0c\u770b\u662f\u4e0d\u662f\u5185\u5b58\u9875\u8bbf\u95ee\u62a5\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693925\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : flowercoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u80fd\u60f3\u5230\u7684\u662f\u4e0d\u77e5\u9053\u4f60\u90a3\u670d\u52a1\u5668\u6709\u6ca1\u6709\u7ba1\u7406\u53e3\uff0c\u8fdb\u5165\u8bbe\u7f6e\u7684\u5730\u65b9\u628a\u65e5\u5fd7\u6253\u5f00\uff0c\u628a\u65e5\u5fd7\u8bb0\u5f55\u6253\u5f00\uff0c\u7b49\u7740\u95ee\u9898\u518d\u5ea6\u590d\u73b0\u54af\u3002<br \/>\u8fd8\u6709\u5c31\u662f\u770b\u770b corntab \u6709\u6ca1\u6709\u4ec0\u4e48\u81ea\u52a8\u91cd\u542f\u7684\u8bbe\u5b9a\u54af \/\u6709\u6ca1\u6709\u4eba\u8fdc\u7a0b\u64cd\u4f5c\u5173\u673a\u5462\uff1f\u8fd8\u6709\u80fd\u60f3\u5230\u7684\u5c31\u662f\u7535\u6e90\u95ee\u9898\u4e86\uff0c\u53cc\u7535\u8fd8\u662f\u5355\u7535\uff1f\u7535\u6e90\u662f\u505a\u5197\u4f59\u7684\u5417\uff1f\u6709\u6761\u4ef6\u7684\u6362\u4e2a\u7535\u6e90\u770b\u770b\u3002\u53e6\u5916\u7cfb\u7edf\u6709\u6761\u4ef6\u7528 vcenter \u7ba1\u7406\uff0c\u91cd\u8981\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u5728\u505a\u597d\u670d\u52a1\u5668\u7fa4\u7ec4\u540e\u505a HA                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693926\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a Linux \u7684 console \u6539\u6210\u4e32\u53e3\uff0c\u7136\u540e\u5916\u63a5\u4e00\u4e2a\u8bbe\u5907\u8bb0\u5f55\u4e32\u53e3\u8f93\u51fa\u5185\u5bb9\uff1f\u5047\u5982\u662f kernel panic \u5bfc\u81f4\u7684\u91cd\u542f\uff0c\u91cd\u542f\u540e\u4e5f\u8bb8\u4e0d\u4f1a\u7559\u4e0b\u4efb\u4f55\u4fe1\u606f\u3002\u8fd9\u79cd\u60c5\u51b5\u53ef\u80fd\u6ca1\u4ec0\u4e48\u597d\u529e\u6cd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693927\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Enya <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u914d kdump \u670d\u52a1\uff0c\u6293 vmcore\uff0c\u7528 crash \u5206\u6790\u3002\u8fd9\u624d\u662f\u6807\u51c6\u64cd\u4f5c\u554a\u3002<\/p>\n<p>\u641e linux \u7684\u4e3a\u4ec0\u4e48\u4e0d\u4e0a docs.redhat.com \u770b\u4e13\u4e1a\u6587\u6863\uff0c\u4e2d\u6587\u7248\u7684\u90fd\u6709\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693928\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nevin47 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00 crash \u770b\u4e34\u7ec8\u9057\u8a00\u548c vmcore\uff0c\u53ea\u8981\u80fd\u590d\u73b0\u7684\u95ee\u9898\u5206\u5206\u949f\u627e\u5230\u539f\u56e0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693929\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xsen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \uff11\uff0e\u82e5\u662f\u7cfb\u7edf\u539f\u56e0\u5bfc\u81f4\u7684\u91cd\u542f\uff08\u5305\u62ec\u4e0d\u9650\u4e8e\u5e94\u7528\u3001\u5185\u6838\u6a21\u5757\u6216\u9a71\u52a8\u7b49\uff0c\u53ca\u5185\u5b58\u6cc4\u9732\u6216\u6ea2\u51fa\uff09<br \/>\u57fa\u672c\u662f\u53ef\u4ee5\u901a\u8fc7\u7cfb\u7edf\u65e5\u5fd7\u53ef\u4ee5\u770b\u5230\u7aef\u502a\u3002\u7cfb\u7edf\u6216\u5185\u6838\u65e5\u5fd7\u4e00\u822c\u90fd\u5728 \/var\/log \u4e0b<\/p>\n<p>\uff12\uff0e\u5bf9\u4e8e\u53ef\u80fd\u7684\u5185\u6838 crash\uff0c\u5efa\u8bae\u5f00\u542f kdump<br \/>\u5176\u5b9e\u5bf9\u4e8e\u8fd9\u4e2a\uff0c#1 \u4e2d\u7684\u65e5\u5fd7\u662f\u53ef\u4ee5\u83b7\u53d6\u5230\u86db\u4e1d\u9a6c\u8ff9\u7684<\/p>\n<p>\u901a\u8fc7\u7cfb\u7edf\u7684 uptime \u53ef\u4ee5\u521d\u6b65\u786e\u5b9a\u7cfb\u7edf\u91cd\u542f\u7684\u65f6\u95f4\u70b9\uff0c\u7136\u540e\u7ed3\u5408\u7cfb\u7edf\u65e5\u5fd7\uff0c\u53ef\u4ee5\u521d\u6b65\u786e\u5b9a\u662f\u8f6f\u4ef6\u539f\u56e0\uff08\u4e0a\u8ff0\u7684#1\/2 \uff09\u5bfc\u81f4\u7684\u91cd\u542f<\/p>\n<p>\u82e5\u65e5\u5fd7\u90fd\u5f88\u6b63\u5e38\uff0c\u90a3\u57fa\u672c\u662f\u53ef\u4ee5\u786e\u5b9a\u662f\u786c\u4ef6\u7684\u539f\u56e0\uff0c\u6bd4\u5982\u7535\u6e90\u6216\u522b\u7684                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693930\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MeteorCat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             kdump+1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693931\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zydrsnuo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9664\u4e86\u770b\u65e5\u5fd7\u548c vmcore\uff0c\u8fd8\u8981\u8003\u8651\u786c\u4ef6\u7684\u95ee\u9898\u3002<br \/>\u6211\u9047\u5230\u8fc7\u4e24\u6b21\u786c\u4ef6\u95ee\u9898\uff0c\u4e00\u6b21\u662f\u673a\u67dc\u9001\u98ce\u53e3\u88ab\u906e\u4f4f\u4e86\u5bfc\u81f4\u6e29\u5ea6\u8fc7\u9ad8\uff0c\u4e00\u6b21\u662f\u5185\u5b58\u6761\u6709\u95ee\u9898\u3002<br \/>\u6e29\u5ea6\u76d1\u63a7\u53ef\u4ee5\u63d0\u524d\u6dfb\u52a0\u5230 zabbix \u4e4b\u7c7b\u7684\u76d1\u63a7\u5e73\u53f0\uff0c\u4e5f\u53ef\u4ee5\u770b IPMI\u3002<br \/>\u5185\u5b58\u68c0\u6d4b\u53ef\u4ee5\u7528 memtest \u505a\u4e2a\u53ef\u542f\u52a8\u4f18\u76d8\u3002\u4e5f\u53ef\u4ee5\u5f80 \/dev\/shm \u91cc\u5199\u6570\u636e\uff0c\u540c\u65f6\u67e5\u770b\u5185\u5b58\u9519\u8bef\u8ba1\u6570\u3002<br \/>\u67e5\u770b\u5185\u5b58\u9519\u8bef\u8ba1\u6570\uff1a grep &#8220;[0-9]&#8221; \/sys\/devices\/system\/edac\/mc\/mc*\/csrow*\/ch*ce_count \u200b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693932\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhao305149619 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Enya \u4f60\u8fd9,\u8fd9\u4e2a\u8981\u662f kernel panic \u624d\u4f1a\u6709 vmcore \u554a,\u5e76\u4e0d\u662f\u6807\u51c6\u64cd\u4f5c,\u5f88\u591a\u7cfb\u7edf hang \u4f4f\u7684\u60c5\u51b5 kdump \u4e0d\u4e00\u5b9a\u5de5\u4f5c.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693933\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhao305149619 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             IPMI \u662f\u76f4\u63a5\u5165\u53e3,\u5148\u6392\u9664 messages \u6709\u65e0\u660e\u663e\u7684\u9519\u8bef,\u751a\u81f3\u76f4\u63a5\u5230 \/var\/crash \u770b\u6709\u6ca1\u6709\u65e5\u5fd7,\u7b2c\u4e8c\u770b\u4e00\u4e0b IPMI \u662f\u5426\u662f\u786c\u4ef6\u9519\u8bef,\u6700\u540e\u67e5\u770b\u4e00\u4e0b\u662f\u4e0d\u662f watchdog \u5bfc\u81f4\u95ee\u9898\u91cd\u542f.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693934\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dorothyREN <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             rhel \u8fd8\u6298\u817e\u5565\u554a\uff0c\u76f4\u63a5 call \u6280\u672f\u652f\u6301\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693935\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lvzhiqiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u670d\u52a1\u5668\u578b\u53f7\uff1f \u5982\u679c\u5728\u4fdd\uff0c\u76f4\u63a5\u627e\u5382\u5bb6\u5e2e\u5fd9\u5206\u6790\u4e0b\uff0c\u6392\u9664\u4eba\u4e3a\u8bbe\u7f6e\uff0c\u4e00\u822c Linux \u8fd0\u884c\u90fd\u662f\u975e\u5e38\u975e\u5e38\u7a33\u5b9a\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693936\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lvzhiqiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dorothyREN rhel \u9664\u975e\u4e1a\u52a1\u975e\u5e38\u975e\u5e38\u91cd\u8981\uff0c\u4e00\u822c\u5f88\u5c11\u4e70\u6280\u672f\u652f\u6301\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693937\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dorothyREN <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lvzhiqiang #15 \u4e0d\u4e70\u6280\u672f\u652f\u6301\u4e3a\u4ec0\u4e48\u8981\u7528 rhel \u5462\uff0ccentos\uff0cubuntu\uff0csuse \u4e0d\u9999\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"693938\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lvzhiqiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dorothyREN \u6709\u4e9b\u53ea\u4e70\u4e86\u4e00\u5e74\uff0c\u540e\u7eed\u4e0d\u4e70\u7684\u3002 \u4e0d\u4e70\u7684\u8bdd\uff0c\u4f46\u662f\u7528 centos \u548c\u7528 rhel \u5176\u5b9e\u6ca1\u6709\u533a\u522b\uff0c\u4e00\u6837\u6ca1\u6709\u6280\u672f\u652f\u6301\u3002\u53ea\u662f rhel \u53d1\u884c\u7248 \uff0c\u7cfb\u7edf\u76f8\u5bf9\u66f4\u6210\u719f\u7684\u66f4\u7a33\u5b9a\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u5982\u4f55\u5206\u6790 Linux \u7cfb\u7edf\u610f\u5916&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/102814"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102814"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/102814\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102814"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}