Re: [Ipmitool-devel] Error: Unable to establish LAN session
Thanks a lot for all your support. The issue is resolved after the BMC reboot. Kishore On 3/6/07, Jarrod B Johnson [EMAIL PROTECTED] wrote: In this case, it may be his only way in, if the v20z is the same Newisys box I worked with a while back (I think it is), his assessment that the Service processor is not accessible in-band may be accurate. Their IPMI support wasn't that great either at the time, but you could ssh into it and do things that way.. In any event, the BMC was so separate it could not reasonably know an in-band management attempt was being done. It has been a long time and things may have changed since then, but the SP implementation of those boxes at the time had crappy, token IPMI support and were really intended to be used via ssh and the web interface (the service processor ran linux on a embedded power chip, it's SOL support was even a conserver install in the BMC flash to give you an idea of how different the service processor was from the more general stuff). I seem to recall IPMI could even be disabled (it was a linux proxy kinda thing to translate basic IPMI command set to native commands), if so that could be your deal. You should ask Sun about how to deal with the v20z. The question then is, does it work from another box aside from the one being managed? If not then this discussion can be moot. On Mon, 2007-03-05 at 05:30 -0800, Cress, Andrew R wrote: Using the IPMI LAN interface from the local OS is never supported, regardless of what hardware you have. Andy __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of venkata kishore Sent: Monday, March 05, 2007 5:45 AM To: venkata kishore; ipmitool-devel@lists.sourceforge.net Subject: Re: [Ipmitool-devel] Error: Unable to establish LAN session Dmitry, Thanks for the explanation. In our case we use Sun's v20z boxes which has the service processors out side the actual hardware and the processor, we have separate network card for the service processor. Will this case you mentioned applies here also? Thanks, Kishore On 3/5/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [05.03.2007 12:59]: Hi Dmitry, Thanks a lot for the reply. My case falls into the first case where I am trying to connect to the local machine's BMC with Out-of-band IPMI interface. Is this not allowed? For out-of-band interface packets sent to the BMC (UDP port 623) are intercepted on entrance by the network card and routed to the BMC in hardware. They didn't reach operating system. So for out-of-band communication to work You need to send packets from _outside_ of the machine. Try to use in-band interface, e.g ipmitool -I open. Thanks, Kishore On 3/2/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [02.03.2007 11:51]: Hi, I am using ipmitool version 1.8.8. I am getting the following error message when I am trying to execute the command ipmitool -l lan -H IP -P password chassis power status Error: Unable to establish LAN session ipmi_lan_send_cmd failed to open intf Unable to get Chassis Power Status Here is the output of the strace [...] recvfrom(3, 0x60f9e1, 1024, 0, 0, 0)= -1 ECONNREFUSED (Connection ECONNREFUSED means ICMP unreachable was received from target system. Most probable reasons are: 1. You are trying to communicate with the local machine's BMC trough out-of-band (lan) IPMI interface. This will not work by design. 2. You did not configured out-of-band communication on the target machine's BMC. You will need to do this using in-band interface (e.g ipmitool -I open). 3. Firewall between source and target prevents communications. wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page
Re: [Ipmitool-devel] Error: Unable to establish LAN session
Using the IPMI LAN interface from the local OS is never supported, regardless of what hardware you have. Andy From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of venkata kishore Sent: Monday, March 05, 2007 5:45 AM To: venkata kishore; ipmitool-devel@lists.sourceforge.net Subject: Re: [Ipmitool-devel] Error: Unable to establish LAN session Dmitry, Thanks for the explanation. In our case we use Sun's v20z boxes which has the service processors out side the actual hardware and the processor, we have separate network card for the service processor. Will this case you mentioned applies here also? Thanks, Kishore On 3/5/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [05.03.2007 12:59]: Hi Dmitry, Thanks a lot for the reply. My case falls into the first case where I am trying to connect to the local machine's BMC with Out-of-band IPMI interface. Is this not allowed? For out-of-band interface packets sent to the BMC (UDP port 623) are intercepted on entrance by the network card and routed to the BMC in hardware. They didn't reach operating system. So for out-of-band communication to work You need to send packets from _outside_ of the machine. Try to use in-band interface, e.g ipmitool -I open. Thanks, Kishore On 3/2/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [02.03.2007 11:51]: Hi, I am using ipmitool version 1.8.8. I am getting the following error message when I am trying to execute the command ipmitool -l lan -H IP -P password chassis power status Error: Unable to establish LAN session ipmi_lan_send_cmd failed to open intf Unable to get Chassis Power Status Here is the output of the strace [...] recvfrom(3, 0x60f9e1, 1024, 0, 0, 0)= -1 ECONNREFUSED (Connection ECONNREFUSED means ICMP unreachable was received from target system. Most probable reasons are: 1. You are trying to communicate with the local machine's BMC trough out-of-band (lan) IPMI interface. This will not work by design. 2. You did not configured out-of-band communication on the target machine's BMC. You will need to do this using in-band interface (e.g ipmitool -I open). 3. Firewall between source and target prevents communications. wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Re: [Ipmitool-devel] Error: Unable to establish LAN session
In this case, it may be his only way in, if the v20z is the same Newisys box I worked with a while back (I think it is), his assessment that the Service processor is not accessible in-band may be accurate. Their IPMI support wasn't that great either at the time, but you could ssh into it and do things that way.. In any event, the BMC was so separate it could not reasonably know an in-band management attempt was being done. It has been a long time and things may have changed since then, but the SP implementation of those boxes at the time had crappy, token IPMI support and were really intended to be used via ssh and the web interface (the service processor ran linux on a embedded power chip, it's SOL support was even a conserver install in the BMC flash to give you an idea of how different the service processor was from the more general stuff). I seem to recall IPMI could even be disabled (it was a linux proxy kinda thing to translate basic IPMI command set to native commands), if so that could be your deal. You should ask Sun about how to deal with the v20z. The question then is, does it work from another box aside from the one being managed? If not then this discussion can be moot. On Mon, 2007-03-05 at 05:30 -0800, Cress, Andrew R wrote: Using the IPMI LAN interface from the local OS is never supported, regardless of what hardware you have. Andy __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of venkata kishore Sent: Monday, March 05, 2007 5:45 AM To: venkata kishore; ipmitool-devel@lists.sourceforge.net Subject: Re: [Ipmitool-devel] Error: Unable to establish LAN session Dmitry, Thanks for the explanation. In our case we use Sun's v20z boxes which has the service processors out side the actual hardware and the processor, we have separate network card for the service processor. Will this case you mentioned applies here also? Thanks, Kishore On 3/5/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [05.03.2007 12:59]: Hi Dmitry, Thanks a lot for the reply. My case falls into the first case where I am trying to connect to the local machine's BMC with Out-of-band IPMI interface. Is this not allowed? For out-of-band interface packets sent to the BMC (UDP port 623) are intercepted on entrance by the network card and routed to the BMC in hardware. They didn't reach operating system. So for out-of-band communication to work You need to send packets from _outside_ of the machine. Try to use in-band interface, e.g ipmitool -I open. Thanks, Kishore On 3/2/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [02.03.2007 11:51]: Hi, I am using ipmitool version 1.8.8. I am getting the following error message when I am trying to execute the command ipmitool -l lan -H IP -P password chassis power status Error: Unable to establish LAN session ipmi_lan_send_cmd failed to open intf Unable to get Chassis Power Status Here is the output of the strace [...] recvfrom(3, 0x60f9e1, 1024, 0, 0, 0)= -1 ECONNREFUSED (Connection ECONNREFUSED means ICMP unreachable was received from target system. Most probable reasons are: 1. You are trying to communicate with the local machine's BMC trough out-of-band (lan) IPMI interface. This will not work by design. 2. You did not configured out-of-band communication on the target machine's BMC. You will need to do this using in-band interface (e.g ipmitool -I open). 3. Firewall between source and target prevents communications. wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
Re: [Ipmitool-devel] Error: Unable to establish LAN session
* venkata kishore [EMAIL PROTECTED] [05.03.2007 12:59]: Hi Dmitry, Thanks a lot for the reply. My case falls into the first case where I am trying to connect to the local machine's BMC with Out-of-band IPMI interface. Is this not allowed? For out-of-band interface packets sent to the BMC (UDP port 623) are intercepted on entrance by the network card and routed to the BMC in hardware. They didn't reach operating system. So for out-of-band communication to work You need to send packets from _outside_ of the machine. Try to use in-band interface, e.g ipmitool -I open. Thanks, Kishore On 3/2/07, Dmitry Frolov [EMAIL PROTECTED] wrote: * venkata kishore [EMAIL PROTECTED] [02.03.2007 11:51]: Hi, I am using ipmitool version 1.8.8. I am getting the following error message when I am trying to execute the command ipmitool -l lan -H IP -P password chassis power status Error: Unable to establish LAN session ipmi_lan_send_cmd failed to open intf Unable to get Chassis Power Status Here is the output of the strace [...] recvfrom(3, 0x60f9e1, 1024, 0, 0, 0)= -1 ECONNREFUSED (Connection ECONNREFUSED means ICMP unreachable was received from target system. Most probable reasons are: 1. You are trying to communicate with the local machine's BMC trough out-of-band (lan) IPMI interface. This will not work by design. 2. You did not configured out-of-band communication on the target machine's BMC. You will need to do this using in-band interface (e.g ipmitool -I open). 3. Firewall between source and target prevents communications. wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel wbrw, dmitry. -- Dmitry Frolov [EMAIL PROTECTED] RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Re: [Ipmitool-devel] Error: Unable to establish LAN session
Any comments/suggestions on this problem? Thanks, Kishore On 2/28/07, venkata kishore [EMAIL PROTECTED] wrote: Hi, I am using ipmitool version 1.8.8. I am getting the following error message when I am trying to execute the command ipmitool -l lan -H IP -P password chassis power status Error: Unable to establish LAN session ipmi_lan_send_cmd failed to open intf Unable to get Chassis Power Status Here is the output of the strace strace ipmitool -l lan -H 10.16.19.21 -P handl3bar chassis power status execve(/usr/bin/ipmitool, [ipmitool, -l, lan, -H, 10.16.19.21, -P, handl3bar, chassis, power, status], [/* 24 vars */]) = 0 uname({sys=Linux, node=pts-linux-lab020, ...}) = 0 brk(0) = 0x611000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566c000 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=106852, ...}) = 0 mmap(NULL, 106852, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000 close(3)= 0 open(/lib64/tls/libm.so.6, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0@@\0\0\0..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=666384, ...}) = 0 mmap(NULL, 1602568, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95688000 mprotect(0x2a9570f000, 1049608, PROT_NONE) = 0 mmap(0x2a9580f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x87000) = 0x2a9580f000 close(3)= 0 open(/usr/lib64/libreadline.so.4, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300)\1\0..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=226976, ...}) = 0 mmap(NULL, 1277648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a9581 mprotect(0x2a9584, 1081040, PROT_NONE) = 0 mmap(0x2a9593f000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2f000) = 0x2a9593f000 mmap(0x2a95947000, 3792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95947000 close(3)= 0 open(/usr/lib64/libncurses.so.5, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200\373..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=997490, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95948000 mmap(NULL, 1412888, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95949000 mprotect(0x2a95994000, 1105688, PROT_NONE) = 0 mmap(0x2a95a93000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4a000) = 0x2a95a93000 close(3)= 0 open(/lib64/libcrypto.so.4, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200\305..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=1236736, ...}) = 0 mmap(NULL, 2299672, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95aa2000 mprotect(0x2a95bb2000, 1185560, PROT_NONE) = 0 mmap(0x2a95cb2000, 122880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x2a95cb2000 mmap(0x2a95cd, 14104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95cd close(3)= 0 open(/lib64/tls/libc.so.6, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=1669064, ...}) = 0 mmap(NULL, 2375528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95cd4000 mprotect(0x2a95e0f000, 1085288, PROT_NONE) = 0 mmap(0x2a95f0f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x13b000) = 0x2a95f0f000 mmap(0x2a95f14000, 16232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95f14000 close(3)= 0 open(/usr/lib64/libgpm.so.1, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200#\0\0..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=23872, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95f18000 mmap(NULL, 1071504, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95f19000 mprotect(0x2a95f1e000, 1051024, PROT_NONE) = 0 mmap(0x2a9601e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x2a9601e000 close(3)= 0 open(/usr/kerberos/lib64/libgssapi_krb5.so.2, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=91304, ...}) = 0 mmap(NULL, 1138128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a9601f000 mprotect(0x2a96034000, 1052112, PROT_NONE) = 0 mmap(0x2a96134000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x2a96134000 close(3)= 0 open(/usr/kerberos/lib64/libkrb5.so.3, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0[EMAIL PROTECTED]..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=429568, ...}) = 0 mmap(NULL, 1477096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a96135000