You are starting both /usr/sbin/hpisubagent and
/etc/init.d/openhpi-subagent ?
--Renier
"Prakash, Amit" <[EMAIL PROTECTED]> wrote on 04/26/2007 01:51:48 PM:
> Hi,
> We are installing snmp-subagent on a server that?s Mullins (Intel name)
box.
>
> We made changes in the snmpd.conf file, and tried starting
> hpisubagent(in the directory bin) and the openhpi-subagent( in the
> directory etc/init.d).
>
> When we put the command ?./openhpi-subagent start? it takes around
> 15mins(and the beginning statement we get is ?we are here Starting
> up HPI SNMP sub-agent daemon:?) .
>
> Where as starting hpisubagent goes in an infinite loop, and get the
> output as below.
>
> Please let me know if you need any other info.
>
> Thanks
> -Amit
>
>
> hpiSubagent: populate_saHpiSensorEventLogTable, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 3
> hpiSubagent: build_full_oid() called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 4
> hpiSubagent: saHpiSensorEventLogTable_extract_index, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 5
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 4
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 3
> populate_saHpiResourceEventLogTable: oh_decode_sensorreading,
> TriggerReading error!populate_saHpiResourceEventLogTable:
> oh_decode_sensorreading TriggerReading error!hpiSubagent: Released
> the lock, 0x9287ff8 - lockcount 2
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 3
> hpiSubagent: saHpiEventLogTable_extract_index, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 4
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 3
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 2
> Entry ID [7924]
> EventType [7]
> rv [0]
> SAHPI_ET_OEM: rv [0]
>
> hpiSubagent: populate_saHpiOemEventLogTable, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 3
> hpiSubagent: build_full_oid() called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 4
> hpiSubagent: saHpiOemEventLogTable_extract_index, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 5
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 4
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 3
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 2
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 3
> hpiSubagent: saHpiEventLogTable_extract_index, called
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 4
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 3
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 2
> Entry ID [7944]
> EventType [2]
> rv [0]
> SAHPI_ET_SENSOR: rv [0]
> Sensor Type: [SYSTEM_ACPI_POWER_STATE]
>
> Another repeated part of the table is
>
> EVENT LOG TABLES
> hpiSubagent: event_log_clear, called
> event_log_clear: done
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 2
> Entry ID [0]
> EventType [0]
> rv [-1011]
> hpiSubagent: Domain Event Log Empty
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 1
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 0
> hpiSubagent: Running in nonthreaded mode. Configuring polling mechanism
> hpiSubagent: init_alarm: Entry
> hpiSubagent: Polling events every 5 seconds
> hpiSubagent: Got the lock because no one had it. 0x9287ff8 - lockcount 1
> hpiSubagent: Released the lock, 0x9287ff8 - lockcount 0
> hpiSubagent: init_alarm: Exit
>
> hpiSubagent: do_alarm: Entry
> hpiSubagent: event_log_info_update called
> hpiSubagent: SA_ERR_HPI_CAPABILITY: event_log_info_update Failed: rv =
-1020
> hpiSubagent: SA_ERR_HPI_CAPABILITY: event_log_info_update Failed: rv =
-1020
> hpiSubagent: SA_ERR_HPI_CAPABILITY: event_log_info_update Failed: rv =
-1020
> hpiSubagent: SA_ERR_HPI_CAPABILITY: event_log_info_update Failed: rv =
-1020
> hpiSubagent: do_alarm: Exit
>
>
>
> From: Renier Morales [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 26, 2007 12:35 PM
> To: Prakash, Amit
> Subject: Re: [Openhpi-devel] Installation Issue
>
>
> "Prakash, Amit" <[EMAIL PROTECTED]> wrote on 04/25/2007 05:13:50 PM:
>
> > Hi,
> > Here we are trying to install openhpi-subagent and when we start it
> > takes around 15 mins to start. I would like to know whether it will
> > create any problem. Or, does it take so long to start.
> > Waiting for your reply.
> > Thnaks
> > -Amit.
>
>
> What do you mean it takes 15 mins to start? What exactly are you
experiencing?
> What system are you using? What OpenHPI plugin?
>
> --Renier-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel