EM 不能启动,重新设置无效

18 篇文章 0 订阅
16 篇文章 0 订阅

RAC 环境,两个节点,在一个节点进行EM 启动无效,使用命令重建不成功,问题继续解决中。



[oracle@rac1 11.2.0]$ emctl start dbconsole

OC4J Configuration issue. /opt/app/oracle/product/11.2.0/oc4j/j2ee/OC4J_DBConsole_rac1_racdb1 not found.
[oracle@rac1 11.2.0]$ cd oc4j/j2ee/
[oracle@rac1 j2ee]$ ll
total 36
-rw-r--r--  1 oracle oinstall  979 Aug  3 17:44 deploy_db_wf.ini
drwxr-xr-x 14 oracle oinstall 4096 Aug  3 17:43 home
drwxr-xr-x  3 oracle oinstall 4096 Aug  3 17:42 oc4j_applications
drwxr-x---  6 oracle oinstall 4096 Aug  3 17:42 OC4J_DBConsole
drwxr-x--- 10 oracle oinstall 4096 Aug  4 16:24 OC4J_DBConsole_rac1_racdb
drwxr-x--- 10 oracle oinstall 4096 Aug  4 10:33 OC4J_DBConsole_rac2_racdb
drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Component_Container
drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Management_Container
drwxr-xr-x  2 oracle oinstall 4096 Aug  3 17:43 utilities



[oracle@rac1 j2ee]$ emca -repos recreate

STARTED EMCA at Aug 4, 2011 6:20:29 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: RACDB1
Listener port number: 1521
Password for SYS user:  
Password for SYSMAN user:  

Do you wish to continue? [yes(Y)/no(N)]: y
Aug 4, 2011 6:20:47 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/app/oracle/cfgtoollogs/emca/emca_2011_08_04_18_20_29.log.
Aug 4, 2011 6:20:48 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Database instance unavailable.
Refer to the log file at /opt/app/oracle/cfgtoollogs/emca/emca_2011_08_04_18_20_29.log for more details.
Could not complete the configuration. Refer to the log file at /opt/app/oracle/cfgtoollogs/emca/emca_2011_08_04_18_20_29.log for more details.
[oracle@rac1 j2ee]$ cd /opt/app/oracle/cfgtoollogs/emca/
[oracle@rac1 emca]$ ll
total 88
-rw-r----- 1 oracle oinstall  7623 Aug  4 13:49 emca_2011_08_04_13_49_28.log
-rw-r--r-- 1 oracle oinstall   949 Aug  4 14:46 emca_2011_08_04_14_46_43.log
-rw-r--r-- 1 oracle oinstall   949 Aug  4 14:47 emca_2011_08_04_14_47_24.log
-rw-r--r-- 1 oracle oinstall  1784 Aug  4 16:07 emca_2011_08_04_16_07_22.log
-rw-r--r-- 1 oracle oinstall 15653 Aug  4 16:08 emca_2011_08_04_16_07_40.log
-rw-r----- 1 oracle oinstall  5031 Aug  4 16:09 emca_2011_08_04_16_09_24.log
-rw-r--r-- 1 oracle oinstall  5250 Aug  4 16:32 emca_2011_08_04_16_32_37.log
-rw-r--r-- 1 oracle oinstall 15653 Aug  4 16:56 emca_2011_08_04_16_56_25.log
-rw-r--r-- 1 oracle oinstall 15819 Aug  4 18:20 emca_2011_08_04_18_20_29.log
drwxr-x--- 2 oracle oinstall  4096 Aug  4 16:56 racdb
[oracle@rac1 emca]$ vi emca_2011_08_04_18_20_29.log
[oracle@rac1 emca]$ cd ..
[oracle@rac1 cfgtoollogs]$ cd /opt/app/orcl
-bash: cd: /opt/app/orcl: No such file or directory
[oracle@rac1 cfgtoollogs]$ cd /opt/app/oracle/product/11.2.0/oc4j/j2ee/
[oracle@rac1 j2ee]$ ll
total 36
-rw-r--r--  1 oracle oinstall  979 Aug  3 17:44 deploy_db_wf.ini
drwxr-xr-x 14 oracle oinstall 4096 Aug  3 17:43 home
drwxr-xr-x  3 oracle oinstall 4096 Aug  3 17:42 oc4j_applications
drwxr-x---  6 oracle oinstall 4096 Aug  3 17:42 OC4J_DBConsole
drwxr-x--- 10 oracle oinstall 4096 Aug  4 16:24 OC4J_DBConsole_rac1_racdb
drwxr-x--- 10 oracle oinstall 4096 Aug  4 10:33 OC4J_DBConsole_rac2_racdb

drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Component_Container
drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Management_Container
drwxr-xr-x  2 oracle oinstall 4096 Aug  3 17:43 utilities
[oracle@rac1 j2ee]$ emca -repos recreate

STARTED EMCA at Aug 4, 2011 6:23:05 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: racdb1
Listener port number: 1521
Password for SYS user:  
Password for SYSMAN user:  

Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 4, 2011 6:23:23 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/app/oracle/cfgtoollogs/emca/racdb/emca_2011_08_04_18_23_05.log.
Aug 4, 2011 6:23:43 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 4, 2011 6:29:03 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Aug 4, 2011 6:29:03 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 4, 2011 6:35:36 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 4, 2011 6:35:36 PM


[oracle@rac1 j2ee]$ emca -config dbcontrol db

STARTED EMCA at Aug 5, 2011 8:56:32 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: racdb1
Database Control is already configured for the database racdb1
You have chosen to configure Database Control for managing the database racdb1
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener ORACLE_HOME [ /opt/app/oracle/product/11.2.0 ]:
Password for SYS user:  
Password for DBSNMP user:  
Password for SYSMAN user:  
Password for SYSMAN user: Email address for notifications (optional): tang@gmail.com
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /opt/app/oracle/product/11.2.0 ]:
ASM SID [ +ASM ]: +ASM1
ASM port [ 1521 ]:
ASM username [ ASMSNMP ]:
ASM user password:  
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/app/oracle/product/11.2.0

Local hostname ................ rac1
Listener ORACLE_HOME ................ /opt/app/oracle/product/11.2.0
Listener port number ................ 1521
Database SID ................ racdb1
Email address for notifications ............... tang@gmail.com
Outgoing Mail (SMTP) server for notifications ...............
ASM ORACLE_HOME ................ /opt/app/oracle/product/11.2.0
ASM SID ................ +ASM1
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 5, 2011 8:57:20 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/app/oracle/cfgtoollogs/emca/racdb/emca_2011_08_05_08_56_31.log.
Aug 5, 2011 8:57:21 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 5541 is already in use.
Aug 5, 2011 8:57:21 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 5521 is already in use.
Aug 5, 2011 8:57:21 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 5500 is already in use.
Aug 5, 2011 8:57:21 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 5, 2011 8:58:06 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Aug 5, 2011 9:00:05 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Aug 5, 2011 9:00:30 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Aug 5, 2011 9:00:30 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Aug 5, 2011 9:04:54 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Aug 5, 2011 9:04:54 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Aug 5, 2011 9:05:40 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 5, 2011 9:05:40 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 5, 2011 9:08:48 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 5, 2011 9:08:48 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://rac1:5500/em <<<<<<<<<<<
Aug 5, 2011 9:15:23 AM 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: /opt/app/oracle/product/11.2.0/rac1_racdb/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 Aug 5, 2011 9:15:23 AM
[oracle@rac1 j2ee]$ ll
total 36
-rw-r--r--  1 oracle oinstall  979 Aug  3 17:44 deploy_db_wf.ini
drwxr-xr-x 14 oracle oinstall 4096 Aug  3 17:43 home
drwxr-xr-x  3 oracle oinstall 4096 Aug  3 17:42 oc4j_applications
drwxr-x---  6 oracle oinstall 4096 Aug  3 17:42 OC4J_DBConsole
drwxr-xr-x 10 oracle oinstall 4096 Aug  5 09:00 OC4J_DBConsole_rac1_racdb
drwxr-x--- 10 oracle oinstall 4096 Aug  4 10:33 OC4J_DBConsole_rac2_racdb
drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Component_Container
drwxr-xr-x  5 oracle oinstall 4096 Aug  3 17:42 OC4J_Workflow_Management_Container
drwxr-xr-x  2 oracle oinstall 4096 Aug  3 17:43 utilities
[oracle@rac1 j2ee]$ emctl start dbconsole
OC4J Configuration issue. /opt/app/oracle/product/11.2.0/oc4j/j2ee/OC4J_DBConsole_rac1_racdb1 not found.
[oracle@rac1 j2ee]$ export ORACLE_SID=racdb
[oracle@rac1 j2ee]$ emctl start dbconsole
OC4J Configuration issue. /opt/app/oracle/product/11.2.0/oc4j/j2ee/OC4J_DBConsole_rac1_racdb1 not found.
[oracle@rac1 j2ee]$


Java中的方法引用无效,找不到符号的问题通常是由于没有正确导入或使用所需的类或方法导致的。根据您提供的信息,报错信息1指出找不到符号方法getId(),位置在com.xxx.xxxx.className类中。而报错信息2指出您没有使用Lombok支持的编译器,因此Lombok已被禁用。 要解决这个问题,您可以按照以下步骤进行操作: 1. 首先,要解决报错信息1中的方法引用无效问题,您需要确保在com.xxx.xxxx.className类中正确导入并使用了所需的类和方法。请检查您的代码,确保已正确导入并引用了getId()方法所在的类。 2. 然后,要解决报错信息2中的Lombok问题,您需要使用Lombok支持的编译器。根据报错信息,您的处理器是com.sun.proxy.$Proxy24,而Lombok支持的编译器包括sun/apple javac 1.6和ECJ。请确保您正在使用Lombok支持的编译器,如果不是,请切换到支持的编译器。 3. 如果您确认您正在使用Lombok支持的编译器,但仍然遇到问题,您可以尝试在IDEA的设置中进行配置。打开IDEA的设置,导航到Build,Execution,Deployment -> Compiler,然后在Shared build process VM options处填写-Djps.track.ap.dependencies=false,并保存设置。然后重新启动IDEA并检查JDK版本是否与Lombok兼容。 通过以上步骤,您应该能够解决idea java: 方法引用无效找不到符号的问题。请根据具体情况进行尝试,并确保您的代码正确导入所需的类和方法,并使用Lombok支持的编译器。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [java:方法引用无效-IDEA 社区版 lombok插件报错解决](https://blog.csdn.net/qq_43781399/article/details/121954937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [会出现无法解析符号,一种是因为Maven的依赖包依赖项丢失造成了代码大片红,可以通过IDEA右侧的Maven项目的...](https://download.csdn.net/download/weixin_42102220/16043959)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [解决IDEA报错:java 找不到符号](https://blog.csdn.net/cccsssrrr/article/details/131354234)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值