oracle第二实例em配置错误,解决em 配置错误一例

主要描述了在安装EM时,始终报下面的错误的解决办法:

Enterprise manager configuration failed due to the following error -

Failed to allocate port(s) int the specified range for the following process(es):

JMS [5540-5559], RMI [5520-5539], Database Control [5500-5519], EM agent [1830-1849]

今天在HPUX 11.31上安装ORACLE 10G 10.2.0.3时,数据库都配置好了,但EM报错,通过安装日志文件查看,发现以下错误:

SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]

Refer to the log file at /U01/oracle/product/10.2.0/db_1/cfgtoollogs/emca/si2000/emca_2007-12-22_04-36-47-PM.log for more details.

Dec 22, 2007 4:37:17 PM oracle.sysman.emcp.EMConfig perform

CONFIG: Stack Trace:

oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]

at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2255)

at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:678)

at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:241)

at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:168)

at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)

at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)

at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)

at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)

at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)

经过网上查询,知道是网络端口重复了,使用以下方法解决:

emca -config dbcontrol db -DBCONTROL_HTTP_PORT 5508 -AGENT_PORT 3940 -RMI_PORT 5524 -JMS_PORT 5545

再停用一次EM,再启动EM,就好了.

emctl stop dbconsole

emctl start dbconsole

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值