*EMが停止できない場合
Oracle10.2などで、「emctl stop dbconsole」を実行しても「Failed to shutdown DBConsole Gracefully」のエラーが出て、停止できない場合があります。
$ emctl stop dbconsole
TZ set to Asia/Bangkok
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
--- Failed to shutdown DBConsole Gracefully ---
failed.
そんなときは、「emctl status dbconsole」で、エラーログの場所をしらべ、タイムスタンプが新しいエラーログを見ると対処方法が判明する場合があります。
理由の多くは次のものです。
+Oracleの入っているパーティション容量が不足している。
$ df -h
+「/ets/hosts」の設定・フォーマットが間違っている。
# vi /etc/hosts
+ NICが複数アクティブになっており、DNSで引かれるIPアドレスと「/ets/hosts」記載のIPアドレスが、同じ名前で別々のアドレスになっている場合。
# ifconfig -a