I was able to resolve this issue by looking at the source code of the openHPI 
client.... thanks to open source !!
 
 host = getenv("OPENHPI_DAEMON_HOST");
        if (host == NULL) {
                host = "localhost";
        }
 
The problem was a configuration issue.
Apparently, the OpenHPI client utilities require the env variable 
OPENHPI_DAEMON_HOST to be set.  
If that env var is not set then it tries to use "localhost" but localhost was 
not resolving to anything on this Linux server.
 
So the OpenHPI client is now able to access the OpenHPI server using the 
ipmidirect plugin.
 
Thanks also to Renier M. for a quick response earlier today.
 
Hugh
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of McCrory, Hugh
Sent: Tuesday, April 10, 2007 11:39 AM
To: [email protected]
Subject: [Openhpi-devel] Problem in getting OpenHPI client utilities toconnect 
to OpenHPI on an IPMI 2.0 platform


Hi OpenHPI Devel,
    Am unable to get the OpenHPI utilities ( e.g hpi_shell, hpiinv ...etc ) to 
connect to the running OpenHPI daemon running with either the simulator plugin 
or the Intel ipmidirect plugin ..... the client utilities fail with the 
following error message ....

CreateConnx: Could not open client socket
Possibly, the OpenHPI daemon has not been started.
saHpiSessionOpen: Could not create client connection
saHpiSessionOpen error NO_RESPONSE

The openHPI server appears to run fine on this IPMI 2.0 platform ( I've 
verified this by switching on openHPI logging amd am seeing the rsp and cmd 
sequnces)  ....but the problem is connecting to it using the client utilties 
....even though the server does start listening on the default port 4743
 
The version of OpenHPI I'm using is 2.8.1 (I'va also tried 2.8.0) and it has 
been built on the IPMI 1.5 platform running the same OS version (Redhat ES 4.0 
Update 3) as is running on the IPMI 2.0 platform.
 

Note, I have been able to get these OpenHPI client utilities (same openHPI 
version, 2.8.1 ) to work fine on a IPMI 1.5 compliant platform. 
 
Any idea why the client utilities are not able to connect to the OpenHPI server 
?
 
Thanks,
Hugh
 
 




Hugh McCrory
Software Engineer
[EMAIL PROTECTED] 


t +1 978 614 8317 
f +1 978 614 8101 
7 Technology Park Drive 
Westford, MA 
01886 USA 
www.sonusnet.com <http://www.sonusnet.com/>     
Deliver the Future First with Sonus Networks.
Disclaimer: Content provided is for information purposes only and is subject to 
change without notice. Sonus has no obligation or commitment to develop or 
deliver any future release, upgrade, feature, enhancement or function described 
in this email or any attachment or presentation except as specifically set 
forth in a written agreement. 

 

Attachment: sonuslogo.gif
Description: sonuslogo.gif

-------------------------------------------------------------------------
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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to