From: Anton P. <ant...@pi...> - 2011-01-14 19:40:33
|
Hello. Are root@2003 and root@CAPC2003 the same system? Anton Pak On Fri, 14 Jan 2011 09:14:46 +0300, 华兵徐 <hb...@gm...> wrote: > Hi, Everyone > > I have crossed compiled the openhpi and installed to one machine. > when I > start the openhpid, the log show as follows. > > root@2003:# /etc/init.d/openhpid restart -c /etc/openhpi/openhpi.conf > Stopping openhpid: ... success > Starting openhpid: threaded.c:153:oh_threaded_init: Attempting to init > event > threaded.c:158:oh_threaded_init: Already supporting threads > event.c:47:oh_event_init: Setting up event processing queue > event.c:50:oh_event_init: Set up processing queue > ... success > config.c:540:oh_load_config: Done processing conf file. > Number of parse errors:0 > init.c:76:oh_init: Initialized UID. > init.c:80:oh_init: Initialized handler table > init.c:84:oh_init: Initialized domain table > init.c:88:oh_init: Initialized session table > ipmi.cpp:293:IpmiOpen: IpmiOpen > root@2003:# config.c:573:oh_process_config: Loaded handler for plugin > libipmidirect > threaded.c:169:oh_threaded_start: Starting discovery thread > threaded.c:176:oh_threaded_start: Starting event threads > init.c:128:oh_init: OpenHPI has been initialized > threaded.c:73:oh_discovery_thread_loop: Doing threaded discovery on all > handlers > ipmi.cpp:2265:IfDiscoverResources: ipmidirect discover_resources > threaded.c:103:oh_evtpop_thread_loop: Thread processing events > threaded.c:129:oh_evtget_thread_loop: Thread Harvesting events > event.c:128:oh_harvest_events: harvesting for 1 > openhpid.cpp:287:main: /usr/sbin/openhpid started. > > openhpid.cpp:288:main: OPENHPI_CONF = /etc/openhpi/openhpi.conf > > openhpid.cpp:289:main: OPENHPI_DAEMON_PORT = 14743 > > > > But when I use the utility to show the events or other , No response. > > root@CAPC2003:# /usr/bin/hpievents > /usr/bin/hpievents (rev 6620) - This program came with OpenHPI 2.14.1 > SAF HPI Version B.03.01 > > ************** timeout:[0] **************** > saHpiSessionOpen: NO_RESPONSE > root@CAPC2003:# > > > This is my configure files > > ............. > ## Section for ipmidirect plugin using RMCP: > handler libipmidirect { > entity_root = "{SYSTEM_CHASSIS,2}" > name = "lan" # RMCP > addr = "192.168.24.11" # Host name or IP address > port = "623" # RMCP port > auth_type = "none" # none, md2, md5 or straight > auth_level = "admin" # operator or admin > username = "openhpi" > password = "openhpi" > logflags = "" # logging off > # # logflags = "file stdout" > # # infos goes to logfile and stdout > # # the logfile are log00.log, log01.log ... > logfile = "log" > # # if #logfile_max reached replace the oldest one > logfile_max = "10" > } > > > Can anyone give me some suggestions or guide ? > > Thanks. |