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

linyu2012發表於2009-09-20

[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):
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 ...............
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 <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 20, 2009 11:27:09 PM

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15242702/viewspace-1027176/,如需轉載,請註明出處,否則將追究法律責任。

相關文章