OC4J Configuration issue. /u01/oracle/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_snowdb not foun

[oracle@oracleasm u01]$ emctl status dbconsole
TZ set to PRC
OC4J Configuration issue. /u01/oracle/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_snowdb not found.

[oracle@oracleasm u01]$ emca -repos recreate

STARTED EMCA at Sep 20, 2009 11:20:48 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: snowdb
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2009 11:21:10 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-20-48-PM.log.
Sep 20, 2009 11:21:11 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Sep 20, 2009 11:21:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/oracle/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=snowdb))) -repos_user SYSMAN -action drop -verbose -output_file /u01/oracle/cfgtoollogs/emca/snowdb/emca_repos_drop_2009-09-20_11-21-11-PM.log
Sep 20, 2009 11:21:12 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Sep 20, 2009 11:21:12 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_repos_drop_.log for more details.
Sep 20, 2009 11:21:12 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-20-48-PM.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-20-48-PM.log for more details.
[oracle@oracleasm u01]$ emca -repos recreate

STARTED EMCA at Sep 20, 2009 11:22:58 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: snowdb
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2009 11:23:12 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-22-57-PM.log.
Sep 20, 2009 11:23:13 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Sep 20, 2009 11:23:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/oracle/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=snowdb))) -repos_user SYSMAN -action drop -verbose -output_file /u01/oracle/cfgtoollogs/emca/snowdb/emca_repos_drop_2009-09-20_11-23-13-PM.log
Sep 20, 2009 11:23:13 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Sep 20, 2009 11:23:13 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_repos_drop_.log for more details.
Sep 20, 2009 11:23:13 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-22-57-PM.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-22-57-PM.log for more details.
[oracle@oracleasm u01]$ emca -config dbcontrol db

STARTED EMCA at Sep 20, 2009 11:23:20 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: snowdb
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Invalid username/password.
Password for DBSNMP user:
Invalid username/password.
Password for DBSNMP user:
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional): linyu2012@yahoo.cn
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /u01/oracle ]:
ASM SID [ +ASM ]:
ASM port [ 1521 ]:
ASM user role [ SYSDBA ]:
ASM username [ SYS ]:
ASM user password:
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/oracle

Database hostname ................ localhost.localdomain
Listener port number ................ 1521
Database SID ................ snowdb
Email address for notifications ............... linyu2012@yahoo.cn
Outgoing Mail (SMTP) server for notifications ...............
ASM ORACLE_HOME ................ /u01/oracle
ASM SID ................ +ASM
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ SYS

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2009 11:24:51 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/snowdb/emca_2009-09-20_11-23-20-PM.log.
Sep 20, 2009 11:24:52 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
Sep 20, 2009 11:25:10 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 20, 2009 11:27:09 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 20, 2009 11:27:09 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://localhost.localdomain:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 20, 2009 11:27:09 PM

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15242702/viewspace-1027176/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15242702/viewspace-1027176/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值