Thursday, April 19, 2012


Windows DBConsole internal stop. No OC4J admin passwd hence hard stop

 
Enterprise manager cannot be started. The status shows dbconsole is already started:
C:\>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://JDEORA01:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory C:\APP\ORACLE\product\11.2.0\se1/jdeora01_e1prod/sysman/log


And it cannot be stopped:
C:\ >emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://JDEORA01:5500/em/console/aboutApplication
The OracleDBConsoleE1PROD service is not started.

More help is available by typing NET HELPMSG 3521.

Log in Emdb.nohup shows:
12/04/19 15:34:11 Error starting ORMI server JDEORA01 port 5,521: Unrecognized Windows Sockets error: 0: JVM_Bind
12/04/19 15:34:11 Shutting down OC4J...
--- DBConsole internal stop. No OC4J admin passwd hence hard stop. ---
----- Thu Apr 19 15:34:15 2012::Commiting Process death. -----
----- Thu Apr 19 15:34:15 2012::Exiting watchdog loop

Find the process id and kill the tree in task manager:
C:\ >emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.4.2
OMS Version       : 10.2.0.4.2
Protocol Version  : 10.2.0.4.2
Agent Home        : C:\APP\ORACLE\product\11.2.0\se1\jdeora01_E1PROD
Agent binaries    : C:\APP\ORACLE\product\11.2.0\se1
Agent Process ID  : 1732
Agent URL         : https://JDEORA01:1830/emd/main
Repository URL    : https://JDEORA01:5500/em/upload/
Started at        : 2012-04-16 15:37:38
Started by user   : SYSTEM
Last Reload       : 2012-04-16 15:55:52
Last successful upload                       : 2012-04-19 15:49:04
Total Megabytes of XML files uploaded so far :    32.59
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    18.32%
Data channel upload directory                : C:/APP/ORACLE/product/11.2.0/se1/jdeora01_E1PROD/sysman/recv
Last successful heartbeat to OMS             : 2012-04-19 15:48:47
---------------------------------------------------------------
Agent is Running and Ready

Kill process 1732 and dbconsole can be started now:
C >emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://JDEORA01:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory C:\APP\ORACLE\product\11.2.0\se1/jdeora01_e1prod/sysman/log

No comments:

Post a Comment