安装EM报错解决

Enterprise manager configuration failed due to the following error -Failed to allocate prot(s) in the specified range(s) for the follow process(es) : JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
26474945_201208301456181.jpg

 

查看提示的报错日志

[oracle@oel10g ~]$ cat /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/testdb/emConfig.log

 

oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following : JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2520)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:752)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:259)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:185)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:221)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
at java.lang.Thread.run(Thread.java:595)

开始时以为是端口被占用

[oracle@oel10g ~]$ netstat -an | grep -i list

通过查看没有占用 JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]的相应端口

在百般纠结时,查看了一下自己的ip

[root@oel10g ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:6F:2A:34
          inet addr:192.168.61.131  Bcast:192.168.61.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:400 errors:0 dropped:0 overruns:0 frame.:0
          TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35588 (34.7 KiB)  TX bytes:182837 (178.5 KiB)
          Interrupt:67 Base address:0x2024

[root@oel10g ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.61.103   oel10g.localdomain oel10g

此时发现原来是由于自己的/etc/hosts文件中的ip与自己实际的ip不符合

随后更改

[root@oel10g ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain          localhost
::1                         localhost6.localdomain6          localhost6
#192.168.61.103   oel10g.localdomain              oel10g

192.168.61.131      oel10g.localdomain              oel10g

再次运行dbca配置EM,此时可以成功安装

 

                                                                                                 Thanks

                                                                                                  jhon

                                                                                               2012-08-30


 

fj.png{XFUABN0LPAMFE9_{8AOFDE.jpg

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26474945/viewspace-742265/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26474945/viewspace-742265/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值