啟動em時報錯:OC4J Configuration issue解決辦法
啟動em時報錯:
[oracle@gl ~]$ emctl start dbconsole
OC4J Configuration issue. /data/oracle/oc4j/j2ee/OC4J_DBConsole_gl.localdomain_DB11G not found.
發生此問題的原因:因為oracle所在資料庫的ip地址發生變化引起em啟動的時候報OC4J Configuration issue錯誤。
解決辦法:重新配置dbcontrol
[oracle@gl config]$ emca -config dbcontrol db
STARTED EMCA at Dec 28, 2013 2:29:59 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: DB11G
Listener port number: 1521
Listener ORACLE_HOME [ /data/oracle ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /data/oracle
Local hostname ................ gl.localdomain
Listener ORACLE_HOME ................ /data/oracle
Listener port number ................ 1521
Database SID ................ DB11G
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 28, 2013 2:31:05 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /data/cfgtoollogs/emca/DB11G/emca_2013_12_28_14_29_58.log.
Dec 28, 2013 2:31:39 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Dec 28, 2013 2:33:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Dec 28, 2013 2:33:54 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Dec 28, 2013 2:33:54 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Dec 28, 2013 2:35:26 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Dec 28, 2013 2:35:26 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Dec 28, 2013 2:36:19 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Dec 28, 2013 2:36:19 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Dec 28, 2013 2:38:58 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Dec 28, 2013 2:38:59 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://gl.localdomain:1158/em <<<<<<<<<<<
Dec 28, 2013 2:39:26 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /data/oracle/gl.localdomain_DB11G/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 28, 2013 2:39:26 PM
[oracle@gl config]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already running.
[oracle@gl config]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
[oracle@gl config]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ......... started.
------------------------------------------------------------------
Logs are generated in directory /data/oracle/gl.localdomain_DB11G/sysman/log
重新訪問em,成功。
[oracle@gl ~]$ emctl start dbconsole
OC4J Configuration issue. /data/oracle/oc4j/j2ee/OC4J_DBConsole_gl.localdomain_DB11G not found.
發生此問題的原因:因為oracle所在資料庫的ip地址發生變化引起em啟動的時候報OC4J Configuration issue錯誤。
解決辦法:重新配置dbcontrol
[oracle@gl config]$ emca -config dbcontrol db
STARTED EMCA at Dec 28, 2013 2:29:59 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: DB11G
Listener port number: 1521
Listener ORACLE_HOME [ /data/oracle ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /data/oracle
Local hostname ................ gl.localdomain
Listener ORACLE_HOME ................ /data/oracle
Listener port number ................ 1521
Database SID ................ DB11G
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 28, 2013 2:31:05 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /data/cfgtoollogs/emca/DB11G/emca_2013_12_28_14_29_58.log.
Dec 28, 2013 2:31:39 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Dec 28, 2013 2:33:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Dec 28, 2013 2:33:54 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Dec 28, 2013 2:33:54 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Dec 28, 2013 2:35:26 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Dec 28, 2013 2:35:26 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Dec 28, 2013 2:36:19 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Dec 28, 2013 2:36:19 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Dec 28, 2013 2:38:58 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Dec 28, 2013 2:38:59 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://gl.localdomain:1158/em <<<<<<<<<<<
Dec 28, 2013 2:39:26 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /data/oracle/gl.localdomain_DB11G/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 28, 2013 2:39:26 PM
[oracle@gl config]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already running.
[oracle@gl config]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
[oracle@gl config]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://gl.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ......... started.
------------------------------------------------------------------
Logs are generated in directory /data/oracle/gl.localdomain_DB11G/sysman/log
重新訪問em,成功。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29196873/viewspace-1065225/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 時區錯誤導致oracle的EM不能啟動解決辦法Oracle
- 練習專案npm start啟動時報錯的個人解決辦法NPM
- 建庫時EM報錯的解決辦法
- VMware 啟動報錯 "Failed to lock the file"解決辦法AI
- VirtualBox-4.3.0啟動報錯及解決辦法
- 啟動mysql時報錯的解決(mysql 5.0.45 redhat as 43)MySqlRedhat
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- 執行 PHP artisan migrate 時報長度錯誤的解決辦法?PHP
- php在iis上配置時報mysql_connect錯誤解決辦法PHPMySql
- 分模組的maven專案除錯時報Source not found的解決辦法Maven除錯
- 記vscode無法啟動解決辦法VSCode
- 錯誤初始化引數導致無法啟動的解決辦法
- Asp.net 無法啟動IIS Express 解決辦法ASP.NETExpress
- [php]wmap應用程式無法啟動解決辦法PHP
- centos7 無法啟動網路(service network restart)錯誤解決辦法CentOSREST
- 電腦無法啟動怎麼辦 電腦啟動不了的原因與解決辦法
- man出錯解決辦法
- 水煮oracle24---- oracle em 啟動報錯 相關問題解決Oracle
- EM報錯:需要HOST Credentials驗證,但輸入什麼都提示錯誤 解決辦法
- Eclipse下進行SVN提交時報“svn: 過期”錯誤的解決辦法Eclipse
- emca刪除em時間過長的解決辦法
- Genymotion無法啟動虛擬裝置的解決辦法
- Oracle 10.2.0.5 EM 啟動BUG問題解決Oracle
- linux 啟動sendmail和sm-client慢的解決辦法 及報錯LinuxAIclient
- sysctl -P 報錯解決辦法
- SAP錯誤提示解決辦法
- Maven Java EE Configuration Problem 的完美解決辦法MavenJava
- asp.net開啟word文件出錯的解決辦法ASP.NET
- AngryBirds(憤怒的小鳥)無法啟動的解決辦法
- 關於dbconsole無法啟動的解決辦法
- centos7網路卡啟動不了的解決辦法CentOS
- Android 避免APP啟動閃黑屏的解決辦法AndroidAPP
- Win10系統下eM客戶端無法啟動的解決方法Win10客戶端
- Charles 用不了,Charles 開啟時報錯的解決方案
- npm 執行時報錯“因為在此係統上禁止執行指令碼”解決辦法NPM指令碼
- 安裝RACDB後執行SQL/PLUS時報錯SP2-0667的解決辦法SQL
- Failed to upgrade Oracle Cluster Registry configuration的解決辦法AIOracle