oracle 11gにoem制御画面を起動エラーの対策

1.エラーメッセージ:
[oracle@centos ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control …
… Stopped.
[oracle@centos ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control
…………………………………………………………………………
……… failed.
——————————————————————
Logs are generated in directory /home/oracle/app/oracle/product/11.2.0/dbhome_1/centos_orcl/sysman/log
[oracle@centos ~]$ tailf -n 3 /home/oracle/app/oracle/product/11.2.0/dbhome_1/centos_orcl/sysman/log/emdctl.trc //ルートとホストエラーを表示する
2014-01-23 14:54:47,568 Thread-3032057536 WARN http: nmehl_connect_internal: connect failed to (centos:1158): No route to host (error = 113)
2014-01-23 15:02:50,071 Thread-3032803008 WARN http: nmehl_connect_internal: connect failed to (centos:3938): No route to host (error = 113)
2014-01-23 15:02:50,073 Thread-3032803008 ERROR main: nmectla_agentctl: Error connecting to https://centos:3938/emd/main. Returning status code 1

2.解決方法:
[root@centos ~]# ifconfig eth1 //サーバーのルーティングとホストIPアドレスをチェック
eth1 Link encap:Ethernet HWaddr 08:00:27:5C:4A:F6
inet addr:2.2.2.114 Bcast:2.2.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe5c:4af6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88220 errors:0 dropped:0 overruns:0 frame:0
TX packets:43011 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6611001 (6.3 MiB) TX bytes:29439365 (28.0 MiB)
[root@centos ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
2.2.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
0.0.0.0 2.2.2.1 0.0.0.0 UG 0 0 0 eth1
[root@centos ~]#

3.テスト:
[oracle@centos ~]$ emctl start dbconsole //成功に起動
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control …….. started.
——————————————————————
Logs are generated in directory /home/oracle/app/oracle/product/11.2.0/dbhome_1/centos_orcl/sysman/log
[oracle@centos ~]$

DataBase

Posted by arkgame