GOOD LUCK!
Subject:Failed to shutdown database console gracefully
Doc ID:414877.1 Type:PROBLEM
Modified Date :21-DEC-2007 Status:PUBLISHED
In this Document
Symptoms
Cause
Solution
Applies to:
Enterprise Manager Grid Control - Version: 10.2.0.1 to 10.2.0.3
This problem can occur on any platform.
RDBMS DB Control
Symptoms
When stopping the database console, the error bellow is shown:
[oracle@s8db-prod ~]$ emctl stop dbconsole
TZ set to Asia/Manila
Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://foo-machine:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
--- Failed to shutdown DBConsole Gracefully ---
failed.
The file $ORACLE_HOME//sysman/log/emdb.nohup shows the following errors:
----- Mon Dec 11 18:12:03 2006:
BConsole. Monitoring Agent+Console -----
----- Mon Dec 11 18:12:03 2006::Console Launched with PID 5270 at time Mon Dec
11 18:12:03 2006 -----
06/12/11 18:12:13 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
initialized
----- Mon Dec 11 18:13:34 2006::Agent Launched with PID 7320 at time Mon Dec 11
18:13:34 2006 -----
(pid=7320): starting emagent version 10.1.0.4.1
06/12/11 18:14:10 stack = java.sql.SQLException: Io exception: The Network
Adapter could not establish the connection
Cause
Issue is caused by incorrect configuration of the hosts file :
192.169.10.11 foo-machine foo-machine
192.169.10.11 localhost localhost
Solution
Correct the hosts configuration file so that it looks like:
192.169.10.11 foo-machine foo-machine
127.0.0.1 localhost localhost