{"id":2661,"date":"2017-08-31T15:56:17","date_gmt":"2017-08-31T07:56:17","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2661"},"modified":"2017-08-31T15:56:17","modified_gmt":"2017-08-31T07:56:17","slug":"ipmi-unable-to-establish-ipmi-v2-rmcp-session%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/ipmi-unable-to-establish-ipmi-v2-rmcp-session%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/","title":{"rendered":"IPMI \u201cUnable to establish IPMI v2 \/ RMCP+ session\u201d\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"<p>1.\u73b0\u8c61<\/p>\n<p>IPMI lan \u63a5\u53e3\u65e0\u6cd5\u8bbf\u95ee\uff0c\u5177\u4f53\u5982\u4e0b\u9762\u547d\u4ee4\u6267\u884c\u540e\u51fa\u73b0\u7684\u9519\u8bef\u63d0\u793a\uff1a<\/p>\n<p>[root@localhost ~]# \u00a0 ipmitool -I lanplus -H 10.10.77.48 -U ADMIN -P ADMIN sel list<\/p>\n<p>Error: Unable to establish IPMI v2 \/ RMCP+ session<\/p>\n<p>Get SEL Info command failed<\/p>\n<p>You have new mail in \/var\/spool\/mail\/root<\/p>\n<p>\u767b\u5f55\u523010.10.77.48\u4e0a\u53bb\u68c0\u67e5\u4e0b,\u5728\u672c\u5730\u901a\u8fc7KCS\u63a5\u53e3\u6267\u884c\u7684\u60c5\u51b5\uff0c\u53d1\u73b0\u90fd\u6210\u529f\uff1a<\/p>\n<p>[root@localhost ~]# ipmitool user list<\/p>\n<p>ID Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Callin \u00a0Link Auth \u00a0IPMI Msg \u00a0 Channel Priv Limit<\/p>\n<p>2 \u00a0ADMIN \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0true \u00a0 \u00a0false \u00a0 \u00a0 \u00a0false \u00a0 \u00a0 \u00a0Unknown (0x00)<\/p>\n<p>You have new mail in \/var\/spool\/mail\/root<\/p>\n<p>[root@localhost ~]# ipmitool user list 1<\/p>\n<p>ID Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Callin \u00a0Link Auth \u00a0IPMI Msg \u00a0 Channel Priv Limit<\/p>\n<p>2 \u00a0ADMIN \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0false \u00a0 false \u00a0 \u00a0 \u00a0true \u00a0 \u00a0 \u00a0 ADMINISTRATOR<\/p>\n<p>[root@localhost ~]# ipmitool -I lanplus -H 10.10.77.48 -U ADMIN -P ADMIN sel list<\/p>\n<p>1 | 08\/03\/2017 | 17:26:02 | Unknown #0xff | \u00a0| Asserted<\/p>\n<p>2 | 08\/03\/2017 | 17:26:38 | Power Supply #0xc8 | Power Supply AC lost | Asserted<\/p>\n<p>3 | 08\/03\/2017 | 17:30:38 | Unknown #0xff | \u00a0| Asserted<\/p>\n<p>4 | 08\/03\/2017 | 17:31:13 | Power Supply #0xc8 | Power Supply AC lost | Asserted<\/p>\n<p>5 | 08\/03\/2017 | 17:43:33 | Unknown #0xff | \u00a0| Asserted<\/p>\n<p>You have new mail in \/var\/spool\/mail\/root<\/p>\n<p>&nbsp;<\/p>\n<p>2\u89e3\u51b3\u8fc7\u7a0b<\/p>\n<p>2.1\u548c\u6b63\u786e\u914d\u7f6e\u3001\u80fd\u8bbf\u95ee\u7684\u6bd4\u8f83\u7f51\u7edc\uff1a\u90fdOK<\/p>\n<p>2.2\u68c0\u67e5\u7528\u6237\u5e76\u5220\u53bb\u4e0d\u7528\u7684\u7528\u6237<\/p>\n<p>2.3\u5f97\u5230LAN interface\u7684channel\u7f16\u53f7<\/p>\n<p>2.4\u6388\u6743\u7528\u6237\u901a\u8fc7\u8fd9\u4e2achannel\u53ef\u4ee5\u767b\u5f55<\/p>\n<p>2.5\u6d4b\u8bd5\u3002<\/p>\n<p>\u524d\u9762\u4e24\u6b65\u76f4\u63a5\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u5c31\u597d\u4e86\uff0c\u6211\u4eec\u4ece\u7b2c\u4e09\u6b65\u5f00\u59cb\u770b\u5177\u4f53\u600e\u4e48\u6267\u884c\u3002\u53ef\u4ee5\u770b\u5230&#8217;ipmitool channel info\u201d \u5728\u6b64\u79cd\u6a21\u5f0f\u4e0b\u663e\u793a\u9ed8\u8ba4\u7684KCS channel:<\/p>\n<p>[root@localhost ~]# ipmitool channel info<\/p>\n<p>Channel 0xf info:<\/p>\n<p>Channel Medium Type \u00a0 : System Interface<\/p>\n<p>Channel Protocol Type : KCS<\/p>\n<p>Session Support \u00a0 \u00a0 \u00a0 : session-less<\/p>\n<p>Active Session Count \u00a0: 0<\/p>\n<p>Protocol Vendor ID \u00a0 \u00a0: 7154<\/p>\n<p>\u4f46\u6211\u4eec\u662f\u4e0d\u7684\u662fLAN interface,\u7ee7\u7eed\u5f80\u4e0b\u9010\u4e00\u6d4b\u8bd5,\u627e\u5230Lan interface\u5bf9\u5e94\u7684channel ID\uff1a<\/p>\n<p>[root@localhost ~]# ipmitool channel info 1<\/p>\n<p>Channel 0x1 info:<\/p>\n<p>Channel Medium Type \u00a0 : 802.3 LAN<\/p>\n<p>Channel Protocol Type : IPMB-1.0<\/p>\n<p>Session Support \u00a0 \u00a0 \u00a0 : multi-session<\/p>\n<p>Active Session Count \u00a0: 0<\/p>\n<p>Protocol Vendor ID \u00a0 \u00a0: 7154<\/p>\n<p>Volatile(active) Settings<\/p>\n<p>Alerting \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 : enabled<\/p>\n<p>Per-message Auth \u00a0 \u00a0: enabled<\/p>\n<p>User Level Auth \u00a0 \u00a0 : enabled<\/p>\n<p>Access Mode \u00a0 \u00a0 \u00a0 \u00a0 : always available<\/p>\n<p>Non-Volatile Settings<\/p>\n<p>Alerting \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 : enabled<\/p>\n<p>Per-message Auth \u00a0 \u00a0: enabled<\/p>\n<p>User Level Auth \u00a0 \u00a0 : enabled<\/p>\n<p>Access Mode \u00a0 \u00a0 \u00a0 \u00a0 : always available<\/p>\n<p>\u901a\u8fc7\u4e0a\u9762\u547d\u4ee4\u53ef\u4ee5\u770b\u5230\uff0c LAN interface\u5bf9\u5e94\u7684channel ID \u4e3a1\uff0c\u56e0\u4e3a\u53ea\u6709\u5b83\u7684Medium Type \u00a0 \u662f 802.3 LAN\u3002<\/p>\n<p>2.2\u5411LAN channel \u00a0\u6dfb\u52a0\u7528\u6237\uff1a<\/p>\n<p>\u5f88\u5bb9\u6613\u72af\u9519\u7684\u5730\u65b9\u51fa\u73b0\u5728\u8fd9\u91cc\uff0c\u4ee5\u4e3a\u4e0b\u9762\u7684\u547d\u4ee4\u5217\u51fa\u7684\u9875\u662fLan channel \u770b\u5230\u7684\u7528\u6237\u3002<\/p>\n<p>[root@localhost ~]# ipmitool user list<\/p>\n<p>ID Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Callin \u00a0Link Auth \u00a0IPMI Msg \u00a0 Channel Priv Limit<\/p>\n<p>2 \u00a0ADMIN \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0true \u00a0 \u00a0false \u00a0 \u00a0 \u00a0false \u00a0 \u00a0 \u00a0Unknown (0x00)<\/p>\n<p>3 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 true \u00a0 \u00a0true \u00a0 \u00a0 \u00a0 true \u00a0 \u00a0 \u00a0 OPERATOR<\/p>\n<p>4 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 true \u00a0 \u00a0true \u00a0 \u00a0 \u00a0 true \u00a0 \u00a0 \u00a0 OPERATOR<\/p>\n<p>\u5176\u5b9e\u4e0d\u7136\uff0c\u4e0a\u9762\u9ed8\u8ba4\u770b\u5230\u662f\u88ab\u6388\u6743\u4f7f\u7528KCS channel\u7684\u7528\u6237\uff0c\u8981\u67e5\u770bLan channel\u7684\u7528\u6237\u4fe1\u606f\uff0c\u8981\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n<p>[root@localhost ~]# ipmitool user list 1<\/p>\n<p>ID Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Callin \u00a0Link Auth \u00a0IPMI Msg \u00a0 Channel Priv Limit<\/p>\n<p>2 \u00a0ADMIN \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0true \u00a0 \u00a0false \u00a0 \u00a0 \u00a0true \u00a0 \u00a0 \u00a0 ADMINISTRATOR<\/p>\n<p>\u7136\u540e\u6dfb\u52a0\u6743\u9650\uff1a<\/p>\n<p>[root@localhost ~]# ipmitool user enable 2<\/p>\n<p>[root@localhost ~]# ipmitool user priv 2 4 1<\/p>\n<p>[root@localhost ~]# ipmitool user set name ADMIN<\/p>\n<p>\u672c\u5730\u6d4b\u8bd5\u901a\u8fc7\uff0c\u901a\u8fc7LAN interface \u8fdc\u7a0b\u767b\u5f55\u4e5f\u901a\u8fc7\uff1a<\/p>\n<p>[root@localhost ~]# ipmitool user set password 2 ADMIN<\/p>\n<p>[root@localhost ~]# ipmitool user test 2 16<\/p>\n<p>Password for user 2:<\/p>\n<p>Success<\/p>\n<p>You have new mail in \/var\/spool\/mail\/root<\/p>\n<p>[root@localhost ~]# ipmitool user test 2 20<\/p>\n<p>Password for user 2:<\/p>\n<p>Set User Password command failed (user 2): Unknown (0x80)<\/p>\n<p>Failure: password incorrect<\/p>\n<p>[root@localhost ~]# ipmitool user test 2 20<\/p>\n<p>Password for user 2:<\/p>\n<p>Success<\/p>\n<p>&nbsp;<\/p>\n<p>3.\u603b\u7ed3<\/p>\n<p>\u4f7f\u7528IPMI\u547d\u4ee4\u7ba1\u7406\u7528\u6237\u3001\u901a\u9053\u3001\u6743\u9650\u7684\u65f6\u5019\uff0c\u52a1\u5fc5\u7406\u89e3\u7528\u6237\u6743\u9650\u7ba1\u7406\u662f\u57fa\u4e8e\u901a\u9053\u7684\uff0c\u540c\u4e00\u4e2a\u7528\u6237\u53ef\u4ee5\u88ab\u6388\u6743\u4f7f\u7528\u67d0\u4e2a\u901a\u9053\u800c\u88ab\u7981\u6b62\u4f7f\u7528\u5176\u4ed6\u901a\u9053\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u73b0\u8c61 IPMI lan \u63a5\u53e3\u65e0\u6cd5\u8bbf\u95ee\uff0c\u5177\u4f53\u5982\u4e0b\u9762\u547d\u4ee4\u6267\u884c\u540e\u51fa\u73b0\u7684\u9519\u8bef\u63d0\u793a\uff1a [root@localhost &#8230; <a title=\"IPMI \u201cUnable to establish IPMI v2 \/ RMCP+ session\u201d\u7684\u89e3\u51b3\u65b9\u6cd5\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/ipmi-unable-to-establish-ipmi-v2-rmcp-session%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/\" aria-label=\"\u9605\u8bfb IPMI \u201cUnable to establish IPMI v2 \/ RMCP+ session\u201d\u7684\u89e3\u51b3\u65b9\u6cd5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[39],"class_list":["post-2661","post","type-post","status-publish","format-standard","hentry","category-fuwuqi","tag-ipmi"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2661"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2661\/revisions"}],"predecessor-version":[{"id":2662,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2661\/revisions\/2662"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}