Ok. Why do you start snmpd? Also, why do I see that you start 
openhpi-subagent twice?


Saludos,

        --Renier

"Prakash, Amit" <[EMAIL PROTECTED]> wrote on 04/27/2007 04:30:46 PM:

> Here it is
> 
> [EMAIL PROTECTED] init.d]# /etc/init.d/snmpd start
> Starting snmpd: [  OK  ]
> [EMAIL PROTECTED] init.d]# /etc/init.d/snmpd status
> snmpd (pid 9201) is running...
> [EMAIL PROTECTED] init.d]# ./openhpi-subagent start
> Starting up HPI SNMP sub-agent daemon: 
> [EMAIL PROTECTED] init.d]# vi /etc/snmp/snmpd.conf
> [EMAIL PROTECTED] init.d]# ./openhpi-subagent start
> Starting up HPI SNMP sub-agent daemon: [  OK  ]
> [EMAIL PROTECTED] init.d]# ./openhpi-subagent status
> hpiSubagent is stopped
> [EMAIL PROTECTED] init.d]#
> 
> 
> From: Renier Morales [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 27, 2007 4:28 PM
> To: Prakash, Amit
> Cc: [email protected]
> Subject: RE: [Openhpi-devel] Installation Issue
> 
> 
> I'm sorry. I'm not understanding. 
> 
> Can you show me the output again?, but include all of it and include
> the commands you type in order. 
> 
> So I expect to see: 
> first command 
> output of first command 
> second command 
> output of second command 
> ....etc.... 
> 
> Saludos,
> 
>        --Renier 
> 
> "Prakash, Amit" <[EMAIL PROTECTED]> wrote on 04/27/2007 03:41:29 PM:
> 
> > No actually I am trying to start opehpi-subagent which takes around 
> > 15mins to start, During the start process when we see the status 
> > with the command        ?./openhpi-subagent start?  it shows 
> > hpisubagent is running and after the start that is [ok] when we see 
> > the status with the command ?./openhpi-subagent status? it says 
> > hpisubagent stopped. 
> > 
> > 
> > From: Renier Morales [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, April 27, 2007 12:12 PM
> > To: Prakash, Amit
> > Cc: [email protected]
> > Subject: RE: [Openhpi-devel] Installation Issue 
> > 
> > 
> > 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

Reply via email to