正确的解决办法是在安装的时候使用emca正确安装

如果已经安装过Enterprise Manager: 请用是如下命令卸载后重装

emca -deconfig dbcontrol db
emca -repos drop

 

安装Enterprise Manager 过程如下:

执行命令: 

emca -config dbcontrol db -repos create -respFile d:\resp.txt
d:\resp.txt 内容:
ORACLE_HOSTNAME=localhost
SID=orcl
PORT=1521
ORACLE_HOME=E:\Oracle\product\11.2.0\dbhome
LISTENER_OH=E:\Oracle\product\11.2.0\dbhome
SYS_PWD=sys/{sys-password}
DBSNMP_PWD=DBSNMP/{password}
SYSMAN_PWD=SYSMAN/{password}
------------------------------------------------------------------------------------------------------------
 

Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME as "localhost" to any emca command

对于桌面版请遵从官方的推荐.

安装完成后记得备份: /product/11.2.0/dbhome/localhost_orcl/sysman/config/emkey.ora 文件.

另外,为了手动使用 emctl工具方便: 

在系统环境变量中添加:

ORACLE_HOME=\product\11.2.0\dbhome

ORACLE_HOSTNAME=localhost

ORACLE_UNQNAME=orcl

以上为 Oracle 10g / Oracle 11g  windows 环境下解决 Enterprise Manager 无法启动的一个官方推荐方法.

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-10-21
  • 2021-05-07
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-07-21
  • 2021-10-15
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案