OMS Startup Fails during Repository Connection Attempt due to_310772.1
OMS Startup Fails during Repository Connection Attempt due to Database Connectivity Problems and Console Access Fails with '503 Service Unavailable' (Doc ID 310772.1)
In this Document
Symptoms |
Cause |
Solution |
References |
Applies to:
Enterprise Manager Base Platform - Version 10.1.0.4 to 10.2.0.5 [Release 10.1 to 10.2]
Information in this document applies to any platform.
***Checked for relevance on 05-Oct-2011***
Checked for relevance on 16-Jul-2013
Symptoms
Starting the OMS using 'opmnctl startall' completes successfully and the output of 'opmnctl status' shows:
opmnctl: starting opmn and all managed processes...
$ opmnctl status
Processes in Instance: EnterpriseManager0.hostname.domain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
HTTP_Server | HTTP_Server | 12125 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 12126 | Alive
OC4J | OC4J_EM | 12127 | Alive
OC4J | OC4J_EMPROV | 12128 | Alive
OC4J | OCMRepeater | 12129 | Alive
WebCache | WebCache | 12138 | Alive
WebCache | WebCacheAdmin | 12131 | Alive
DSA | DSA | N/A | Down
But trying to access the Grid Console URL from the browser fails with the error:
Servlet error: Service is not initialized correctly. Verify that the repository
connection information provided is correct.
The 'emctl status oms' command returns:
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is not functioning because of the following reason:
Connection to the repository failed. Verify that the repository connection information provided is correct.
The
java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))(CONNECT_DATA=(SID=emrep)))
OR
jdbc.ConnectionCache _getConnection.352 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
Cause
This issue could be caused by the following :
- The value of oracle.sysman.eml.mntr.emdRepConnectDescriptor in
- The value of oracle.sysman.eml.mntr.emdRepConnectDescriptor in
Without a correct descriptor in this file, the OMS cannot find a repository and will fail to start.
- The value of oracle.sysman.eml.mntr.emdRepConnectDescriptor in
Solution
To implement the solution, please execute the following steps:
1. Stop the opmn components:
opmnctl stopall
2. Take a backup of the the existing
3. Edit the following line in the emoms.properties file:
4. Review the syntax above carefully. Each paranthesis and value is required.
5. Test to see if the above connect descriptor works:
a) Edit the connect descriptor and remove the escape characters '\':
b) Test the connection string as follows:
./sqlplus sysman/
If the connection is successful then move to step 6 else re-check:
- hostname, port, SID/Service_name is correct
- there is a listener running on hostname/port specificed in the connect descriptor
- the listener on the specified port has a valid service for this repository database and the connections are not 'blocked'.
- the database is actually in status Open
6. Save the changes to the emoms.properties file.
7. Stop and re-start the OMS:
opmnctl startall
Try connecting to the Grid Console URL from the browser
References
NOTE:285087.1 - How to Move a Grid Control Repository to a 10.1.0.3 Database
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1159366/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC Instance Crashes During Startup Due To Error 495Error
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- GC Agent Startup Fails on AIX due to Invalid Timezone Setting at OS_825933.1GCAI
- Agent to OMS Communi Fails if Agent's REPOSITORY_URL Para has Incorrect_737373.1AI
- XDMCP connection failsAI
- Agent Upload to OMS Fails if OMS Locked in Secure,Agent isn't Secured_422922.1AI
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- QT during startup program with code 0xc0000135(139)QT
- After failed upgrade, startup fails on ORA-00704 [ID 1345417.1]AI
- Fails to Start: PMON (ospid: nnnn): terminating the instance due to error 481AIError
- Agent Install Fails with Error 'OUI-25031' Due to Environment Settings_380507.1AIErrorUI
- 11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)AI
- OGG Connection test fails with: weblogic.transaction.internal.TimedOutException:AIWebException
- Oracle 12CR2 Oracle Restart - ASM Startup fails with PRCR-1079OracleRESTASMAI
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- Mysql mysql lost connection to server during query 問題解決方法MySqlServer
- mysql5.5_2013 Lost connection to Mysql server during queryMySqlServer
- Agent to OMS Communi Fails if Agent is 'Blocked' in 10.2.0.5 Grid Cons_799618.1AIBloC996
- OMS to Agent Comm Fails if IP Address of the Grid Ag Machine is Changed-605009.1AIMac
- [Tomcat]嚴重: Context [/xxxx] startup failed due to previous errorsTomcatContextAIError
- Database Startup Fails with ORA-01113, ORA-01110DatabaseAI
- OMS CA:10.2.0.1.0 GC Install Fails with "Error processing emkey-353131.1GCAIError
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- OMS
- Checklist for EM 10g GC 10.2.x to 10.2.0.5 OMS and Repository Upgrades_464674.1GC
- Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticateServerlocalhost
- Bug 12725963 - New database connection fails with ORA-12541 after vip failoverDatabaseAI
- GC 11g install fails at OMS config stage-Wrong WLS version used_1135493.1GCAI
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- "Severe:Omsca-Err:Securing Of Oms Failed" Error During 11g GC Instal_1234116.1AIErrorGC
- startup,startup mount,startup nomount之間的區別
- Database Startup Fails with ORA-01113, ORA-01110 errors (Doc ID 146039.1)DatabaseAIError
- attempt to index local ‘result‘ (a nil value)Index
- 配置OMS筆記筆記
- Will attempt to recover by breaking constraintAI
- startup mount與startup restrict mount有何區別REST
- no such repository