ipmitool给出"不支持身份验证类型"

Rit*_*ati 7 ipmitool

我正在从ubuntu 12.04执行下面的命令并得到错误

ipmitool -H 192.168.0.254 -U root -P root用户列表
身份验证类型NONE不支持
身份验证类型NONE不支持
错误:无法建立LAN会话
Get User Access命令失败(通道14,用户1)

我已启用详细选项并具有以下输出

ipmitool -H 192.168.0.254 -U root -P root user list -vvv
ipmi_lan_send_cmd:opened=[0], open=[134852928]
IPMI LAN host 192.168.0.254 port 623
Sending IPMI/RMCP presence ping packet
send_packet (12 bytes)
06 00 ff 06 00 00 11 be 80 00 00 00
recv_packet (27 bytes)
06 00 ff 06 00 00 11 be 40 00 10 00 00 11 be 00
00 00 00 81 00 00 00 00 00 00 00
Received IPMI/RMCP response packet: 
IPMI NOT Supported
ASF Version unknown
RMCP Version 1.0
RMCP Sequence 255
IANA Enterprise 1162752

ipmi_lan_send_cmd:opened=[1], open=[134852928]
>> IPMI Request Session Header
>>   Authtype   : NONE
>>   Sequence   : 0x00000000
>>   Session ID : 0x00000000
>> IPMI Request Message Header
>>   Rs Addr    : 20
>>   NetFn      : 06
>>   Rs LUN     : 0
>>   Rq Addr    : 81
>>   Rq Seq     : 00
>>   Rq Lun     : 0
>>   Command    : 38
send_packet (23 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18
c8 81 00 38 0e 04 35
recv_packet (30 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
63 20 00 38 00 01 80 18 02 a2 02 00 00 69
ipmi message header (30 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 00 38 00 01 80 18 02 a2 02 00 00 69
<< IPMI Response Session Header
<<   Authtype   : NONE
<<   Sequence   : 0x00000000
<<   Session ID : 0x00000000
<< IPMI Response Message Header
<<   Rq Addr    : 81
<<   NetFn      : 07
<<   Rq LUN     : 0
<<   Rs Addr    : 20
<<   Rq Seq     : 00
<<   Rs Lun     : 0
<<   Command    : 38
<<   Compl Code : 0x00
get_auth_capabilities (8 bytes)
 01 80 18 02 a2 02 00 00
Channel 01 Authentication Capabilities:
  Privilege Level : ADMINISTRATOR
  Auth Types      : 
  Per-msg auth    : disabled
  User level auth : disabled
  Non-null users  : disabled
  Null users      : disabled
  Anonymous login : disabled

Authentication type NONE not supported
ipmi_lan_send_cmd:opened=[1], open=[134852928]
>> IPMI Request Session Header
>>   Authtype   : NONE
>>   Sequence   : 0x00000000
>>   Session ID : 0x00000000
>> IPMI Request Message Header
>>   Rs Addr    : 20
>>   NetFn      : 06
>>   Rs LUN     : 0
>>   Rq Addr    : 81
>>   Rq Seq     : 01
>>   Rq Lun     : 0
>>   Command    : 38
send_packet (23 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18
 c8 81 04 38 0e 04 31
recv_packet (30 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 04 38 00 01 80 18 02 a2 02 00 00 65
ipmi message header (30 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 04 38 00 01 80 18 02 a2 02 00 00 65
<< IPMI Response Session Header
<<   Authtype   : NONE
<<   Sequence   : 0x00000000
<<   Session ID : 0x00000000
<< IPMI Response Message Header
<<   Rq Addr    : 81
<<   NetFn      : 07
<<   Rq LUN     : 0
<<   Rs Addr    : 20
<<   Rq Seq     : 01
<<   Rs Lun     : 0
<<   Command    : 38
<<   Compl Code : 0x00
get_auth_capabilities (8 bytes)
 01 80 18 02 a2 02 00 00
Channel 01 Authentication Capabilities:
  Privilege Level : ADMINISTRATOR
  Auth Types      : 
  Per-msg auth    : disabled
  User level auth : disabled
  Non-null users  : disabled
  Null users      : disabled
  Anonymous login : disabled

Authentication type NONE not supported
Error: Unable to establish LAN session
Failed to open LAN interface
Get User Access command failed (channel 14, user 1)
Run Code Online (Sandbox Code Playgroud)

谁能告诉我如何解决这个问题?

Yan*_*Gao 7

请使用-I lanplus,例如:

ipmitool -I lanplus -H 192.168.0.254 -U root -P root user list
Run Code Online (Sandbox Code Playgroud)

  • 在我的情况下添加`-I lanplus`没有帮助,它在开放会话响应消息中给出了'错误:无效角色错误:无法建立IPMI v2/RMCP +会话 (2认同)