您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Oracle EM 启动出错

2024/6/14 19:53:17发布25次查看
错误信息: [oracle@www.linuxidc.com ~]$ emctl start dbconsole tz set to prc oc4j configuration issue. /u01/app/oracle/pr
错误信息:
[oracle@ ~]$ emctl start dbconsole
tz set to prc
oc4j configuration issue. /u01/app/oracle/product/10.2/db_1/oc4j/j2ee/oc4j_dbconsole_localhost.localdomain_orcl not found.
解决办法:
方法一(推荐): 使用dbca对数据库重新配置下即可
方法二:手动配置
参考:
this is due to a misconfiguration of dbconsole during database setup. the fastest solution is usually to recreate repository and configuration.
first, deconfigure dbconsole:
======================================================================================
[oracle@oratest03 bin]$ ./emca -deconfig dbcontrol db -repos drop
started emca at dec 28, 2009 12:15:33 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: t11r2
listener port number: 1521
password for sys user:
password for sysman user:
do you wish to continue? [yes(y)/no(n)]: y
dec 28, 2009 12:15:44 pm oracle.sysman.emcp.emconfig perform
info: this operation is being logged at /app/oracle/cfgtoollogs/emca/t11r2/emca_2009_12_28_12_15_32.log.
dec 28, 2009 12:15:44 pm oracle.sysman.emcp.emdbpreconfig performdeconfiguration
warning: em is not configured for this database. no em-specific actions can be performed.
dec 28, 2009 12:15:45 pm oracle.sysman.emcp.emreposconfig invoke
info: dropping the em repository (this may take a while) ...
dec 28, 2009 12:17:33 pm oracle.sysman.emcp.emreposconfig invoke
info: repository successfully dropped
enterprise manager configuration completed successfully
finished emca at dec 28, 2009 12:17:33 pm
========================================================================================
now, let’s configure it again
========================================================================================
[oracle@oratest03 bin]$ ./emca -config dbcontrol db -repos create
started emca at dec 28, 2009 12:17:43 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: t11r2
listener port number: 1521
listener oracle_home [ /app/oracle/product/11.2.0.1 ]:
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 ................ /app/oracle/product/11.2.0.1
local hostname ................ oratest03
listener oracle_home ................ /app/oracle/product/11.2.0.1
listener port number ................ 1521
database sid ................ t11r2
email address for notifications ...............
outgoing mail (smtp) server for notifications ...............
-----------------------------------------------------------------
do you wish to continue? [yes(y)/no(n)]: y
dec 28, 2009 12:17:58 pm oracle.sysman.emcp.emconfig perform
info: this operation is being logged at /app/oracle/cfgtoollogs/emca/t11r2/emca_2009_12_28_12_17_43.log.
dec 28, 2009 12:17:59 pm oracle.sysman.emcp.emreposconfig createrepository
info: creating the em repository (this may take a while) ...
dec 28, 2009 12:23:44 pm oracle.sysman.emcp.emreposconfig invoke
info: repository successfully created
dec 28, 2009 12:23:47 pm oracle.sysman.emcp.emreposconfig uploadconfigdatatorepository
info: uploading configuration data to em repository (this may take a while) ...
dec 28, 2009 12:24:41 pm oracle.sysman.emcp.emreposconfig invoke
info: uploaded configuration data successfully
dec 28, 2009 12:24:43 pm oracle.sysman.emcp.util.dbcontrolutil configuresoftwarelib
info: software library configured successfully.
dec 28, 2009 12:24:43 pm oracle.sysman.emcp.emdbpostconfig configuresoftwarelibrary
info: deploying provisioning archives ...
dec 28, 2009 12:25:13 pm oracle.sysman.emcp.emdbpostconfig configuresoftwarelibrary
info: provisioning archives deployed successfully.
dec 28, 2009 12:25:13 pm oracle.sysman.emcp.util.dbcontrolutil securedbconsole
info: securing database control (this may take a while) ...
dec 28, 2009 12:25:54 pm oracle.sysman.emcp.util.dbcontrolutil securedbconsole
info: database control secured successfully.
dec 28, 2009 12:25:54 pm oracle.sysman.emcp.util.dbcontrolutil startoms
info: starting database control (this may take a while) ...
dec 28, 2009 12:26:19 pm oracle.sysman.emcp.emdbpostconfig performconfiguration
info: database control started successfully
dec 28, 2009 12:26:19 pm oracle.sysman.emcp.emdbpostconfig performconfiguration
info: >>>>>>>>>>> the database control url is https://oratest03:1158/em dec 28, 2009 12:26:25 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: /app/oracle/product/11.2.0.1/oratest03_t11r2/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, 2009 12:26:25 pm
========================================================================================
that’s all. remember, if you want or need, to backup you encryption key.

该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product