[英]Oracle Enterprise Manager Could Not Complete Configuration
I'm running 11g R2 on Solaris and EM looks to not have installed. 我在Solaris上运行11g R2,并且EM似乎尚未安装。 When I try and create the repository manually 当我尝试手动创建存储库时
emca -config dbcontrol db -repos create
I get the following message: 我收到以下消息:
Sep 16, 2013 1:00:32 PM oracle.sysman.emcp.EMConfig perform
SEVERE:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be: 一些可能的原因可能是:
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/database/emca_2013_09_16_12_58_54.log
for more details. 有关更多详细信息,请参考/u01/app/oracle/cfgtoollogs/emca/database/emca_2013_09_16_12_58_54.log
上的日志文件。
Could not complete the configuration. 无法完成配置。 Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/database/emca_2013_09_16_12_58_54.log
for more details. 有关更多详细信息,请参考/u01/app/oracle/cfgtoollogs/emca/database/emca_2013_09_16_12_58_54.log
上的日志文件。
The log file basically states the same thing. 日志文件基本上说明了同一件事。
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be: 一些可能的原因可能是:
dbservice
is not registered with listener. 数据库服务dbservice
未向侦听器注册。 Register the database service. 注册数据库服务。 ORACLE_HOSTNAME
environment variable is set to virtual host. 侦听器在物理主机上启动,并且ORACLE_HOSTNAME
环境变量设置为虚拟主机。 Unset ORACLE_HOSTNAME
environment variable. 取消设置ORACLE_HOSTNAME
环境变量。 ORACLE_HOSTNAME=<virtual host>
. 设置环境变量ORACLE_HOSTNAME=<virtual host>
。 /etc/hosts
does not have correct entry for hostname. /etc/hosts
没有正确的主机名条目。
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3342) at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:858) at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:288) at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198) at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250) at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599) at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482) at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583) at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Sep 16, 2013 1:00:32 PM oracle.sysman.emcp.EMConfig restoreOuiLoc CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/dbhome_1/oui 2013年9月16日下午1:00:32 oracle.sysman.emcp.EMConfig restoreOuiLoc配置:将oracle.installer.oui_loc还原到/u01/app/oracle/product/11.2.0/dbhome_1/oui
The listener port is 1521. 侦听器端口是1521。
我的方式:
emca -config dbcontrol db
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.