I found Oracle Grid Agent sent "The application server instance + oc4j down" messages.
When I check on Server,that didn't find any problem about Oracle Application.
So I check on Oracle Grid Agent:
I found below error in emagent.trc file
2008-04-09 10:48:48 Thread-92261280 ERROR http: snmehl_connect: Failed to get address for app02.host: Authoritive Answer Host not found (error = 1)
2008-04-09 10:48:48 Thread-92261280 ERROR fetchlets.dms: Cannot connect to app02.host:6003. retStatus=-32
2008-04-09 10:48:48 Thread-92261280 ERROR : (nmehl.c,2634):Memory 0x0 encountered, expect struct_id=11708
2008-04-09 10:48:48 Thread-92261280 ERROR fetchlets.dms: DMS: Discovery - No response from OPMN: 6003
I think It no NLS_LANG parameter, So set NLS_LANG parameter up. and restarted Oracle Grid Agent:
$ env | grep NLS_LANG
$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
$ emctl stop agent
$ emctl start agent
I haven't found "Memory 0x0 encountered" error message and "applicaton server instance down" alert.
Anyway I'm not sure, I resolved the problem right way. Becuase I still find below error in emagent.trc file:
2008-04-09 10:48:48 Thread-92261280 ERROR fetchlets.dms: DMS: Discovery - No response from OPMN: 6003
when I find out on metalink, I found Note:433792.1:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Cause
DMS C Fetchlet keeps an address book of all components monitored by opmn .This address book had an invalid entry for jserv component. And whenever dms fetchlet tries to connect to the jserv component an error message appears in emagent.trc
Fetchlets are parameterized data access mechanisms used by the Oracle Management Agent. Fetchlets take arguments (such as scripts, SQL statements, target properties) as input and returns formatted data which is then uploaded by the Agent to the Oracle Management Service.
Dynamic Monitoring Service fetchlet (Accesses data available from a DMS)
Solution
Apply the Patch 4948589 to the agent for the respective platforms .
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
So I downloaded patch and applied:
$ unzip p4948589_10203_LINUX.zip
$ cd 4948589
set Oracle Home to Agent Path
$ export ORACLE_HOME=AGENT_HOME
$ emctl stop agent
Patch:
$ $ORACLE_HOME/OPatch/opatch apply
$ $ORACLE_HOME/bin/emctl start agent
After patch, I haven't found "ERROR fetchlets.dms: DMS:" message.
*** Perhaps I should patch to 10.2.0.4
2008-04-28 11:03:36 Thread-113908640 ERROR fetchlets.dms: Cannot connect to //hostname:6003. retStatus=-32
2008-04-28 11:03:36 Thread-113908640 ERROR : (nmehl.c,2634):Memory 0x0 encountered, expect struct_id=11708
Somehow we found error about host name, we should check hostname before.
Perhaps it's wrong, if you change server name[check sysman/emd/targets.xml file].
Enjoy!
Tuesday, April 15, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment