Enterprise Manager - Hang Analysis
I am using Oracle 10g Release 1 . On Enterprise Manager , Hang Analysis I am looking for a way to examine data from the last 40 hours. I had some frozen sessions starting yesterday morning and am searching for possible causes. The system is working fine at the moment. On the hang analysis option on Enterprise Manager there doesn't seem to be a way of examing past data.
Did you check the entries you made in your preferred credentials?
Eric
Similar Messages
-
Enterprise Manager,under performance, aclick on hang analysis fails.
Hi there,
Am on 10.2.0.3.0
on my enterprise manager when am logged in as sys, when i get to performance menu and go to hang analysis,
or top activity, i get a rejection sighting wrong credentials , that i log in with the right credentials, am wondering how this is happening when am already logged in as sys and can access
all other items with no problems.
am running on three clustes with 3 instances.
Some one there to guide me.Did you check the entries you made in your preferred credentials?
Eric -
Hi Folks,
I have a problem with OBIEE EM, There in Enterprise Manager i am unable to navigate into the options like when i clik on any Tab it is not working and even i am unable to create a report using analysis.
Thanks in advancei have also tried that but no use can u give me any other way.......
-
Failed Application Stop Hangs Enterprise Manager
Hi guys,
I have a problem shutting these down certain java web applications, if I shut down the whole OC4J instance one of my applications always fails to stop. If i try to shut it down individually it also fails to stop. So that is one problem.
However, more frustrating is that once this has happened the enterprise manager becomes unavailable. I can get the login page but then it just hangs at a blank loading screen. This stays like this until i shut down the OC4J from the command line using opmnctl.
Thankfully other applications in other OC4J instances appear unaffected.
what is going on!
cheers
neilDo the OC4J log files contain any information on possible reasons the problem is occurring?
-steve- -
Does anyone know any resources from where we can learn to interpret hang analysis? I read DOc 215858.1 and
http://arup.blogspot.com/2008/08/diagnosing-library-cache-latch.html and
http://wiki.oracle.com/page/Hanganalyze.
But I think those are for 10g and prior and looks different from the hang analysis trace report I generated. I am looking for something very detailed.Oracle Database 10g introduced the Hang Analysis tool in Enterprise Manager, and Oracle Database 11g now expands this concept with the Hang Manager. So read and search on Hang Manager from 11g.
-
Enterprise Manager is not able to connect to the database instance....
Hi all,
Currently i'm facing a big issue here.
I have install the Oracle 10g on Window 2003 SE.
And currently the Enterprise manager is not be able to conenct to the database and my database is still running.With my listener is up.
But from the Enterprise manager's it show that everythg is down.
and when i try to restart it,i ask for os id and password and dbuser and dbpassword.
frm the SQL plus,i can easily startup and shutdown the database.
So i would like to know i can rectify this problem.
please kindly help me.I have post the setting of the databse as below
tnsnames.ora
==========
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
SDB.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP_SOLMAN)
(PORT = 1527)
(CONNECT_DATA =
(SID = SDB)
(GLOBAL_NAME = SDB.WORLD)
sqlnet.ora
========
# sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
# 05.01.06 set to default
#TCP.NODELAY=YES
# 05.01.06 set to 32768
# 05.01.06 unsorported parameter now
#NAME.DEFAULT_ZONE = WORLD
# 05.01.06 set the default to 10
# Filename......: sqlnet.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME, LDAP)
NAMES.DEFAULT_DOMAIN = WORLD
DEFAULT_SDU_SIZE = 32768
SQLNET.EXPIRE_TIME = 10
Listener.ora
=========
# Filename......: listener.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = SDB.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = SDB)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP_SOLMAN)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = SDB)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
Listener status
===========
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SDB.WORLD))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 15-AUG-2006 15:14:48
Uptime 0 days 2 hr. 43 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDB.WORLDipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDBipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAP_solman)(PORT=1527)))
Services Summary...
Service "SDB" has 1 instance(s).
Instance "SDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
emoms.log
========
2006-08-15 18:03:20,562 [HttpRequestHandler-2254042] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:387)
at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:369)
at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:794)
at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:648)
at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:658)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake getParameterFromDB.402 - Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://SAP_solman:3938/emd/main)(ERROR = INTERNAL_ERROR)
2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:144)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2006-08-15 18:03:36,531 [HttpRequestHandler-9249408] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:36,531 [EMUI_18_03_36_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
OracleDBConsoleSDBsrvc.log
======================
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/09/06 15:11:59 Start pending...
08/09/06 15:11:59 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/09/06 15:12:04 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/09/06 15:12:04 Tracking process launch...
08/09/06 15:12:41 Received exitCode 3 from emctl istatus
08/09/06 15:12:41 dbconsole started
08/11/06 08:46:03 Recieved ServCtrlHdlr command, 5
08/11/06 08:46:03 Stopping dbconsole
08/11/06 08:46:03 Launching stop EMD process...
08/11/06 08:46:03 Waiting for stop EMD process to exit. numRetries=74
08/11/06 08:46:06 Stop process has exited with exitCode: 0
08/11/06 08:46:06 Waiting for emwd process to exit. numRetries=74
08/11/06 08:46:06 Watchdog process exited with exit code 15
08/11/06 08:46:06 Signal Shutdown event.
08/11/06 08:46:06 Shutdown thread exited.
08/11/06 08:46:06 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 08:45:17 Start pending...
08/11/06 08:45:17 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 08:45:26 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 08:45:26 Tracking process launch...
08/11/06 08:46:11 Received exitCode 3 from emctl istatus
08/11/06 08:46:11 dbconsole started
08/11/06 08:48:58 Recieved ServCtrlHdlr command, 5
08/11/06 08:48:58 Stopping dbconsole
08/11/06 08:48:58 Launching stop EMD process...
08/11/06 08:48:58 Waiting for stop EMD process to exit. numRetries=74
08/11/06 08:49:02 Stop process has exited with exitCode: 0
08/11/06 08:49:02 Waiting for emwd process to exit. numRetries=74
08/11/06 08:49:02 Watchdog process exited with exit code 15
08/11/06 08:49:02 Signal Shutdown event.
08/11/06 08:49:02 Shutdown thread exited.
08/11/06 08:49:02 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 08:53:20 Start pending...
08/11/06 08:53:20 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 08:53:29 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 08:53:29 Tracking process launch...
08/11/06 08:54:14 Received exitCode 3 from emctl istatus
08/11/06 08:54:14 dbconsole started
08/11/06 11:37:30 Recieved ServCtrlHdlr command, 5
08/11/06 11:37:30 Stopping dbconsole
08/11/06 11:37:30 Launching stop EMD process...
08/11/06 11:37:30 Waiting for stop EMD process to exit. numRetries=74
08/11/06 11:37:34 Stop process has exited with exitCode: 0
08/11/06 11:37:34 Waiting for emwd process to exit. numRetries=74
08/11/06 11:37:34 Watchdog process exited with exit code 15
08/11/06 11:37:34 Signal Shutdown event.
08/11/06 11:37:34 Shutdown thread exited.
08/11/06 11:37:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 11:36:48 Start pending...
08/11/06 11:36:48 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 11:36:56 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 11:36:56 Tracking process launch...
08/11/06 11:37:41 Received exitCode 3 from emctl istatus
08/11/06 11:37:41 dbconsole started
08/15/06 09:31:52 Recieved ServCtrlHdlr command, 5
08/15/06 09:31:52 Stopping dbconsole
08/15/06 09:31:52 Launching stop EMD process...
08/15/06 09:31:52 Waiting for stop EMD process to exit. numRetries=74
08/15/06 09:31:56 Stop process has exited with exitCode: 0
08/15/06 09:31:56 Waiting for emwd process to exit. numRetries=74
08/15/06 09:31:56 Watchdog process exited with exit code 15
08/15/06 09:31:56 Signal Shutdown event.
08/15/06 09:31:56 Shutdown thread exited.
08/15/06 09:31:56 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/15/06 09:31:06 Start pending...
08/15/06 09:31:06 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/15/06 09:31:14 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/15/06 09:31:14 Tracking process launch...
08/15/06 09:31:49 Did not hear back from emctl istatus.
08/15/06 09:31:49 Waiting a further 5 secs...
08/15/06 09:31:51 Received exitCode 3 from emctl istatus
08/15/06 09:31:51 dbconsole started
08/15/06 15:15:31 Recieved ServCtrlHdlr command, 5
08/15/06 15:15:31 Stopping dbconsole
08/15/06 15:15:31 Launching stop EMD process...
08/15/06 15:15:31 Waiting for stop EMD process to exit. numRetries=74
08/15/06 15:15:34 Stop process has exited with exitCode: 0
08/15/06 15:15:34 Waiting for emwd process to exit. numRetries=74
08/15/06 15:15:34 Watchdog process exited with exit code 15
08/15/06 15:15:34 Signal Shutdown event.
08/15/06 15:15:34 Shutdown thread exited.
08/15/06 15:15:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/15/06 15:14:46 Start pending...
08/15/06 15:14:46 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/15/06 15:14:54 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/15/06 15:14:54 Tracking process launch...
08/15/06 15:15:29 Did not hear back from emctl istatus.
08/15/06 15:15:29 Waiting a further 5 secs...
08/15/06 15:15:32 Received exitCode 3 from emctl istatus
08/15/06 15:15:32 dbconsole started
Command prompt for emctls status
=========================
E:\oracle\product\10.2.0\db_1\BIN>emctl status
Environment variable ORACLE_SID not defined. Please define it.
emd.properties
===========
# perl executable directory
perlBin=E:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread
# script directory
scriptsDir=E:\oracle\product\10.2.0\db_1/sysman/admin/scripts
# emd Root directory(read-only location). Metrics should not create files
# under this directory
emdRoot=E:\oracle\product\10.2.0\db_1
# agent Root directory(writeable).
# Use this property to base any temporary file creation.
agentStateDir=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB
# Chronos root directory
chronosRoot=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/emd/chronos
# OMS Upload URL
# if there is no receiving OMS or if you wish to disable the UploadManager
# please set this value to empty or comment out below line
REPOSITORY_URL=http://SAP_solman:5500/em/upload/
# Proxy settings used for fetchlets. not applicable for uploader.
#proxyHost=www-proxy.us.oracle.com
#proxyPort=80
#dontProxyFor=.us.oracle.com
# If it is necessary to go through an http proxy server to get to the
# repository, uncomment the following two lines
#REPOSITORY_PROXYHOST=
#REPOSITORY_PROXYPORT=
#REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
#REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
#REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
# This string is used by the agent to connect to remote targets
# ***IMPORTANT*** Do not change the contents of this setting. Only the
# install should modify this value.
agentSeed=1329576760
# This string is used by the agent to determine which algorithm to use for encrypted data
# The string value will be same as the release version
agentVersion=10.1.0.4.0
# How long, in minutes, collector will wait until next load.
UploadInterval=5
# If an upload fails, we want to backoff by UploadFailBackoff
# percentage more each time for each successive upload failure
# e.g. if we start the retry at 1 minute. If we fail in our next
# upload attempt, we try again 1minute 12 seconds later etc.
UploadFailBackoffPct= 20
# Maximum amount of time, in seconds, upload will wait for response from
# repository before timing out.
# 0 means infinite.
UploadTimeout=1800
# Timeout for upload a file, HealthMonitor will abort the EMD process if
# UploadManager does not finish uploading one file within this time
# Unit is minite, the default value is 1 hour ( 15 Min)
#UploadMaxTime=15
# How big the file the collector will upload (in KB)
# the actual file size could be slightly bigger.
# This is only a guidance.
UploadFileSize=2048
# The maximum number of megabytes(MB) the upload manager will support in the
# upload directory before temporarily being disabled
UploadMaxBytesXML=50
# The maximum number of files the upload manager will support in the
# upload directory before temporarily being disabled
UploadMaxNumberXML=5000
# The maximum amount (%) of disk space that can be used on the EMD filesystem
# before the following is disabled:
# - Collection of data (upload manager)
# - Logging and tracing
UploadMaxDiskUsedPct=98
# The amount (%) of disk space that can be used on the EMD filesystem
# before the following is re-enabled after being disabled previously:
# - Collection of data (upload manager)
# - Logging and tracing
UploadMaxDiskUsedPctFloor=95
# Time out for the Agent to think that the access to the database could be
# hung. The Agent would not allow more threads to go and hang with a database
# if any one access to the database does not return within DbHangTimeout
# seconds.
# The more the timeout more the possibility of allowing more threads
# to be hung in the EMD with a bad database.it is specified in seconds.
#DbHangTimeout=200
# The script to run if disk space usage exceeds parameters or if certain other
# error conditions occur.
#emdFailureScript=emdfail.command
# The location of the file that contains the root certificate.
emdRootCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64LocalCertificate.txt
internetCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64InternetCertificate.txt
# The download URL for the EMD Oracle Wallet and its local file location.
# Note: Ensure that this URL references a valid port number at which the
# console is available on http
emdWalletSrcUrl=http://SAP_solman:5500/em/wallets/emd
emdWalletDest=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/server
# The email address for out-of-band notifications
emd_email_address=
emd_email_gateway=
# The return email address for out-of-band notifications
emd_from_email_address=
# EMD main servlet URL
EMD_URL=http://SAP_solman:3938/emd/main
# Whether the EMD should listen on all NICs on the current host (the default)
# or just the NIC associated with the hostname in EMD_URL
AgentListenOnAllNICs=TRUE
# This parameter indicates the thread model to use. uncomment one of the
# following ThreadPoolModel line to indicate the model, agent need to use.
# SMALL if number of targets is less than 11.
# MEDIUM if number of targets is from 11 to 50.
# LARGE if number of targets is greater than 50.
# This parameter can be overriden by 'MaxThreads' which indicates the maximum
# number of threads that CEMD can have running at any point of time. User can
# mostly use the other parameter ThreadPoolModel to indicate what model for the
# agent to use.
# ThreadPoolModel = SMALL
# ThreadPoolModel = MEDIUM
# ThreadPoolModel = LARGE
# This parameter indicates the stack size, threads have to be created with.
# we can set it to 0 to use the OS default value.
# In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
# when JVM is used.
NormalThreadStackSize=0
#Signals that users want to ignore.
#It can be one or combination of SIGTERM, SIGINT
# The signals can listed with ',' as delimiter.
#IgnoreSignals=
# This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
# If noone else uses it, it can be removed.
ouiLoc=E:\oracle\product\10.2.0\db_1/oui
# Classpath for host config collection
# VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
# to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
# NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
# make sure that appropriate changes are also made
# to the CLASSPATH variable in this file if necessary
# PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
# Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
hostConfigClasspath=E:\oracle\product\10.2.0\db_1/oui/jlib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/OraInstaller.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/srvm.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/share.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar
# JAVA HOME required for JavaExt metric calls
JAVA_HOME=E:\oracle\product\10.2.0\db_1/jdk/jre
# CLASSPATH required for JavaExt metric calls
CLASSPATH=E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/ons.jar;E:\oracle\product\10.2.0\db_1/lib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar;E:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/lib/http_client.jar;E:\oracle\product\10.2.0\db_1/lib/dms.jar;E:\oracle\product\10.2.0\db_1/lib/dmsEmd.jar;E:\oracle\product\10.2.0\db_1/jlib/share.jar;E:\oracle\product\10.2.0\db_1/jdbc/lib/ojdbc14dms.jar;E:\oracle\product\10.2.0\db_1/jlib/jssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/javax-ssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/lib/em_test.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/jlib/repository.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/optic.jar
# this is the java option
#JAVA_OPTIONS=-Xmx128m
# These are the optional Java flags for the in-process Java
# Native Interface (JNI)
agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
# When set to true, the emd.log and emd.trc file will be appended by a pid
# For example:
# emd_15789.log
# emd_15789.trc
# By default, it is not set for regression test purpose.
# After installed, please uncomment this line because when EMD is restarted,
# previous log information will be lost if not set to true.
#LogFileWithPID=true
# Default log file maximum size before rolling in Kilobytes
LogFileMaxSize=4096
# Maximum number of log file roll files to maintain before deletion
LogFileMaxRolls=4
# Default trace file maximum size before rolling in Kilobytes
TrcFileMaxSize=4096
# Maximum number of trace file roll files to maintain before deletion
TrcFileMaxRolls=4
# To enable the metric browser, uncomment the following line
# This is a reloadable parameter
#enableMetricBrowser=true
# To disable Remote operations (non-reachable agent) uncomment the following
# line:
#disableRemoteOperations=true
# add an additional admin path from which the agent will read additional
# target metadata. The specified path should have the mandatory 4 directories
# under it. 1. metadata 2. scripts 3. default_collection 4. discover
#altAdminPath=<additional admin path>
# The health monitor executes callbacks in a separate thread. if for some
# reason the threads spawned from health monitor to execute callbacks are
# hung, the agent could run out of resource and freeze.
# so when the current thread count spawned from the Health monitor reaches
# this limit, the agent is bounced. the default is set to 5.
#MaxHealthMonitorThreads=5
# dynamicPropsComputeTimeout default to 30s
dynamicPropsComputeTimeout=60
# emagent perl tracing levels
# supported levels: DEBUG, INFO, WARN, ERROR
# default level is ERROR
EMAGENT_PERL_TRACE_LEVEL=ERROR
# other optional parameters for perl tracing
# EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
#EMAGENT_PERL_TRACE_DIR=
# EMAGENT_PERL_TRACE_FILESIZE default to 5M
#EMAGENT_PERL_TRACE_FILESIZE=5
# this section define the logging level for each component,
# it is "reloadable", you can change the level at runtime to reset
# the logging level, but if you remove the line, it will not be
# changed.
tracelevel.main=WARN
tracelevel.emSDK.xml=WARN
tracelevel.emSDK.utl=WARN
tracelevel.ResMonitor=WARN
tracelevel.Dispatcher=WARN
tracelevel.ThreadPool=WARN
tracelevel.pingManager=WARN
tracelevel.collector=WARN
tracelevel.http=WARN
tracelevel.ssl=WARN
tracelevel.ssl.io=WARN
tracelevel.blackouts=WARN
tracelevel.upload=WARN
tracelevel.command=WARN
tracelevel.reload=WARN
tracelevel.scheduler=WARN
tracelevel.Authentication=WARN
tracelevel.metadata=WARN
tracelevel.targets=WARN
tracelevel.TargetManager=WARN
tracelevel.engine=WARN
tracelevel.javaproc=WARN
tracelevel.vpxoci=WARN
tracelevel.javavm=WARN
tracelevel.fetchlets=WARN
tracelevel.fetchlets.os=WARN
tracelevel.fetchlets.osline=WARN
tracelevel.fetchlets.oslinetok=WARN
tracelevel.fetchlets.UDM=WARN
tracelevel.fetchlets.sql=WARN
tracelevel.fetchlets.url=WARN
tracelevel.fetchlets.urllines=WARN
tracelevel.fetchlets.urllinetoken=WARN
tracelevel.fetchlets.URLTiming=WARN
tracelevel.fetchlets.propEcho=WARN
tracelevel.fetchlets.readFromFile=WARN
tracelevel.fetchlets.readMultFromFile=WARN
tracelevel.fetchlets.throwable=WARN
tracelevel.fetchlets.resourceGrab=WARN
tracelevel.fetchlets.emSDK=WARN
# The following three properties are for HTTP timeout
# Timeout value for reading Http primary header, default is 30 seconds.
httpTimeoutPrimaryHeader=30
# Timeout value for reading http secondary headers, default is 30 seconds
httpTimeoutSecondaryHeaders=30
# Timeout value for reading http body, default is 60 seconds.
httpTimeoutBody=60
omsRecvDir=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\sysman\recv
agentTZRegion=+08:00
And i would like to know how to set up the environment variable for Oracle_HOME and ORACLE_SID.
Please kindly assist me on this.Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
-Ramesh -
Issue with Enterprise Manager 11g
When I start the db console I am given the message
Enterprise Manager is not able to connect to the database instance, The state of the components are listed below.
All components are listed with green arrows indicating they are up
After reading a few posts here I have attempted to use EMCA to drop and re create the repository and settings
I have run the command 'emca -deconfig dbcontrol db -repos drop' to try and do this but it just hangs
Looking in the logs I can see the follow (only the last few lines added to keep it short)
emca_2011_08_05_14_17_29 -
CONFIG: Setting param: REP_DB_RUNNING_HOST value: RangePlanTest.gooutdoors.local
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: godw, oracleHome: C:\app\server\product\11.2.0\dbhome_2, and user: SYSMAN
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in C:\app\server\product\11.2.0\dbhome_2\sysman\config\emca.properties
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
+CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\server\AppData\Roaming, CLASSPATH=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmasm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\cvu.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\emConfigInstall.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldapjclnt11.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldap.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\share.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmhas.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\netcfg.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\xmlparserv2.jar;C:\app\server\product\11.2.0\dbhome_2\assistants\jlib\assistantsCommon.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emCORE.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emagentSDK.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraInstaller.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereq.jar;C:\app\server\product\11.2.0\dbhome_2\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=RANGEPLANTEST, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar, FP_NO_HOST_CHECK=NO, HOMEDRIVE=Z:, HOMEPATH=\, HOMESHARE=\\kryten\gooutdoors\users\server, JRE_JAVA=C:\app\server\product\11.2.0\dbhome_2\jdk\jre\bin\java, LIB_DIR=C:\app\server\product\11.2.0\dbhome_2\jlib, LOCALAPPDATA=C:\Users\server\AppData\Local, LOGONSERVER=\\RIMMER, NUMBER_OF_PROCESSORS=4, OH=C:\app\server\product\11.2.0\dbhome_2, ORACLE_HOME=C:\app\server\product\11.2.0\dbhome_2, ORACLE_SID=godw, OS=Windows_NT, PATH=C:\app\server\product\11.2.0\dbhome_2\bin;C:\app\server\product\11.2.0\dbhome_2\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 4 Stepping 1, GenuineIntel, PROCESSOR_LEVEL=15, PROCESSOR_REVISION=0401, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\server\AppData\Local\Temp\1, TMP=C:\Users\server\AppData\Local\Temp\1, USERDNSDOMAIN=GOOUTDOORS.LOCAL, USERDOMAIN=GOOUTDOORS, USERNAME=server, USERPROFILE=C:\Users\server, WINDIR=C:\Windows, WINDOWS_TRACING_FLAGS=3, WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log]+
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C C:\app\server\product\11.2.0\dbhome_2\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=RangePlanTest.gooutdoors.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=GODW))) -repos_user SYSMAN -action drop -verbose -output_file C:\app\server\cfgtoollogs\emca\GODW\emca_repos_drop_2011_08_05_14_17_57.log
emca_repos_drop_2011_08_05_14_17_57 -
SQL> declare
2 l_username varchar2(30);
3 l_sid number;
4 l_serial number;
5 err number;
6 c number;
7 l_job_process_count NUMBER ;
8 TYPE TBSP_ARRAY IS TABLE OF VARCHAR2(64) INDEX BY BINARY_INTEGER ;
9 l_tablespaces TBSP_ARRAY;
10
11
12 PROCEDURE set_job_process_count(p_count IN NUMBER)
13 IS
14 BEGIN
15 --scope=memory so it will be reset on instance startup
16 -- SID=* to take care of RAC
17 IF p_count >=0
18 THEN
19 EXECUTE IMMEDIATE 'ALTER SYSTEM SET job_queue_processes='
20 ||p_count||' SID=''*''' ;
21 END IF ;
22 EXCEPTION WHEN OTHERS THEN NULL ;
23 END set_job_process_count ;
24
25 FUNCTION get_job_process_count
26 RETURN NUMBER
27 IS
28 l_value NUMBER ;
29 BEGIN
30 SELECT value
31 INTO l_value
32 FROM v$parameter
33 WHERE name = 'job_queue_processes' ;
34 RETURN(l_value) ;
35 EXCEPTION
36 WHEN OTHERS THEN
37 RETURN(10) ;
38 END get_job_process_count ;
39 begin
40 -- Now, drop the SYSMAN user
41 c := 0;
42 -- validate user exists
43 BEGIN
44 SELECT username
45 INTO l_username
46 FROM dba_users
47 WHERE username = upper('&EM_REPOS_USER') ;
48 EXECUTE IMMEDIATE 'ALTER USER '||l_username||' ACCOUNT LOCK' ;
49 EXCEPTION
50 WHEN NO_DATA_FOUND THEN RETURN ;
51 END ;
52 -- reduce job_queue_processes to zero
53 l_job_process_count := get_job_process_count ;
54 set_job_process_count(0) ;
55 begin
56 loop
57 BEGIN
58 LOOP
59 BEGIN
60 FOR crec in (SELECT sid, serial#
61 FROM gv$session
62 WHERE (upper(username)=l_username OR
63 upper(schemaname)=l_username)
64 AND status != 'KILLED')
65 LOOP
66 BEGIN
67 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION IMMEDIATE ''' ||
68 crec.sid || ',' || crec.serial# || '''';
69 EXCEPTION
70 WHEN OTHERS THEN
71 err := SQLCODE;
72 IF err != -30 THEN
73 EXIT;
74 END IF;
75 END;
76 commit;
77 END LOOP;
78 EXCEPTION
79 WHEN OTHERS THEN
80 err := SQLCODE;
81 IF err != -30 THEN
82 EXIT;
83 END IF;
84 END;
85 IF SQL%NOTFOUND THEN
86 EXIT;
87 END IF;
88 commit;
89 END LOOP;
90
91 -- >> START - Capturing the Tablespaces to be dropped
92
93 for crec in (SELECT DISTINCT TABLESPACE_NAME FROM all_tables
94 WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
95 MINUS
96 SELECT DISTINCT TABLESPACE_NAME FROM all_tables
97 WHERE owner != '&EM_REPOS_USER')
98 LOOP
99 l_tablespaces(l_tablespaces.count) := crec.tablespace_name;
100 END LOOP;
101
102 -- >> END - Capturing the Tablespaces to be dropped
103
104 execute immediate 'drop user ' || l_username || ' cascade';
105 set_job_process_count(l_job_process_count) ;
106
107 -- >> START - Dropping the Tablespaces
108 BEGIN
109 IF (l_tablespaces.count > 0) THEN
110 FOR i IN l_tablespaces.FIRST .. l_tablespaces.LAST
111 LOOP
112 BEGIN
113 execute immediate 'drop tablespace ' || l_tablespaces(i) || ' including contents';
114 exception
115 when NO_DATA_FOUND then
116 DBMS_OUTPUT.PUT_LINE('DropRep: Tablespaces for REPOS USER do not exist');
117 WHEN OTHERS THEN
118 err := SQLCODE;
119 DBMS_OUTPUT.PUT_LINE('DropRep: Error ' || SQLCODE || ' received dropping tablespace ' || l_tablespaces(i));
120 END;
121 END LOOP;
122 ELSE
123 DBMS_OUTPUT.PUT_LINE('NO TABLESPACES Exist');
124 END IF;
125 END;
126 -- >> END - Dropping the Tablespaces
127
128 exit;
129
130 EXCEPTION
131 WHEN NO_DATA_FOUND THEN
132 exit;
133 WHEN OTHERS THEN
134 err := SQLCODE;
135 IF err = -1918 THEN
136 EXIT;
137 ELSE
138 IF err = -1940 THEN
139 NULL;
140 ELSE
141 DBMS_OUTPUT.PUT_LINE('not 1940 err' || err);
142 c := c+1;
143 IF c > 50 THEN
144 RAISE;
145 END IF;
146 END IF;
147 END IF;
148 END;
149 end loop;
150 end;
151 commit;
152 EXCEPTION
153 WHEN OTHERS THEN
154 set_job_process_count(l_job_process_count) ;
155 RAISE ;
156 end;
157 /
old 47: WHERE username = upper('&EM_REPOS_USER') ;
new 47: WHERE username = upper('SYSMAN') ;
old 94: WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
new 94: WHERE owner = 'SYSMAN' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
old 97: WHERE owner != '&EM_REPOS_USER')
new 97: WHERE owner != 'SYSMAN')
Sorry for the long post but any help would be greatAs a bit of further info I noticed these warnings when running the command - emca -deconfig dbconrtol db -repos drop
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 5, 2011 4:26:26 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\server\cfgtoollogs\emca\GODW\emca_2011_08_05_16_25_58.log.
Aug 5, 2011 4:26:27 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 5, 2011 4:26:28 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C C:\app\server\product\11.2.0\dbhome_2\bin\nmesrvops.exe delete OracleDBConsoleGODW
Aug 5, 2011 4:26:32 PM oracle.sysman.emcp.EMReposConfig invoke
WARNING: Unable to remove DBMS jobs.
Aug 5, 2011 4:26:33 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ... -
Enterprise Manager Console on AIX 5L
I installed 10g on an RS6000, istall went great and I was able to access the database via the web console. 2 days after the install I can no longer access the web console. When I attempt to access it, the browser times out after a while saying the page cannot be found. If I try to stop the service using emctl stop dbconsole that hangs indefinitely. I verified that localhost is correct(127.0.0.1) and the agent is running. How can I stop and start the service without shutting the machine down. I can start and stop the database from sqlplus and can connect to the database using Enterprise Manager but I cant seem to get the web interface back.
I am sure I am using the right port and have tried several things I read in other posts with no success. I can even check the status of the em agent from a browser and verify that the web server is up on port 5500 but I cant access the dbconsole.
Any assistance would be greatly appreciated.
Thanks,
Jon Kingcan I use Enterprise manager console on Oracle Express?No, it's not possible standalone.
I didn't try if EM present somewhere on network to access XE. -
Enterprise Manager Console doesn' t show the correct data
Hi everyone,
we use a oracle 10gR1 rac with two nodes.
we use the oracle enterprise manager console but it does not work all parts of.
And the console is wrong with some parts of the data shows.
for example ;
in the home page, Performans Analysis section shows the date two months earlier. Why ?
(Period Start Time 25.Ara.2010 21:00:59 Period Duration (minutes) 60,02)
other example ;
in the performans tab, host section does not show any data.
why doesn't work this section?
what can i do?
oracle version = 10.1.0.5
OS platform = AIX node1 3 5 00C5116E4C00
thanks.Hm... could be that your machine is low on RAM for java apps (yours and OEM Console). (You can check resource consumption via perfmon)
-
How to Install SQL Enterprise Manager ?
The standard installation file which sap gives sql4sap.vbs doesnt install the Enterprise manager.
How to install SQL Enterprise Manager (ECC6+Win2003).
regards,
devHi,
Server type is normally "Database Engine". You can use the Dev. Studio to connect to various other types (e.g. Reporting Services, Analysis Service etc.)
The Servername is the instance name you want to connect to. For a default instance it is your machinename, for a named instance it is Machinename\Instancename.
Authentication can be Windows Authentication if you are logged on as a local Admin. For an ABAP System only Windows Authentication is possible, for a JAVA System the SQL authentication is necessary, so that you can logon as 'sa' with the password you provided in the setup.
Regards
Clas -
Enterprise Manager Database Console 11g win
Dear all,
I have problem with connecting on EM DC 11g. I can run console and it opens me page without standard login where :
Database Instance Status: Open
Listener Status: UP
Agent Connection to instance Status: Succeeded
But there is message:
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
Yes, I changed passwords on sys,system,sysman,dbsnmp users, and all users are unlocked. Also I did shut down of console, and changed the oracle.sysman.eml.mntr.emdRepPwd= mypass and oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE
in emoms.properties
In emoms.trc I got error:
[OC4J Launcher] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:30,965 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.asprov.ui.intg.ASProvisioningIntegration
2013-04-04 19:15:30,965 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.paf.sample.ui.intg.PAFDemoIntegration
2013-04-04 19:15:30,965 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.emCLI.CLIIntg
2013-04-04 19:15:30,965 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.emCLI.CLIDownloadIntg
2013-04-04 19:15:32,041 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
2013-04-04 19:15:36,519 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.sidb.ui.intg.SIDBProvisioningIntegration
2013-04-04 19:15:36,737 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.racprov.ui.intg.RACProvIntegration
2013-04-04 19:15:36,737 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
2013-04-04 19:15:36,737 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
2013-04-04 19:15:36,737 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
2013-04-04 19:15:36,737 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.pp.bpelprov.ui.intg.BPELProvisioningIntegration
2013-04-04 19:15:37,735 [PAFStartupThread] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:37,735 [PAFStartupThread] ERROR conn.ConnectionService blockUntilValid.949 - Connection pool is not valid. status =2
2013-04-04 19:15:37,735 [PAFStartupThread] ERROR conn.ConnectionService blockUntilValid.958 - Repository connection details are invalid.
2013-04-04 19:15:37,767 [OC4J Launcher] ERROR em.rca reconcileOrphans.194 - java.sql.SQLException: Could not get a private connection for Root Cause Analysis.
2013-04-04 19:15:37,876 [OC4J Launcher] ERROR sch.ScheduleTZService init.105 - Error While initializing emSDK/sch/ScheduleTZService $Locale not recognized
2013-04-04 19:15:40,809 [PAFStartupThread] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:42,837 [PAFStartupThread] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:46,861 [PAFStartupThread] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:54,739 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
2013-04-04 19:15:54,786 [EMUI_19_15_54_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
Does anyone can help me?
Regards,
E.
Edited by: 852611 on Apr 4, 2013 11:05 AM>
[OC4J Launcher] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized
>
This may be the cause of your issue. Check the system time zone/locale setting. Ireland locale setting can trigger similar error in 11g DB (bug 8225653).
Regards,
- Loc -
Oracle Enterprise Manager 10gR4 is Released
Here is the press release. Material is already posted on OTN. Enjoy!
Oracle(R) Enterprise Manager Delivers Unique New Capabilities for Top-Down Application Management
Tuesday November 13, 8:15 am ET
New Capabilities Address Cross-Tier Performance Diagnostics, Integrated Incident and Problem Management and Application Data Sharing
ORACLE OPENWORLD, SAN FRANCISCO, Nov. 13 /PRNewswire-FirstCall/ -- Building upon its "top-down" approach to managing application and Information Technology (IT) infrastructure resources, Oracle today announced key new enhancements to Oracle® Enterprise Manager 10g. The new enhancements deliver a broad range of capabilities, across the application lifecycle, for custom and SOA-based applications and pre-packaged applications and include faster performance diagnostics for production applications; simplified incident and problem management through integration with Oracle's Siebel CRM HelpDesk and PeopleSoft Enterprise HelpDesk applications; expanded capabilities to manage Oracle Business Intelligence; and easy and secure data sharing across the application lifecycle.
Oracle's top-down approach to application management uniquely addresses the need for an end-to-end application perspective -- whether technology-focused or business-focused -- while enabling administrators to virtually eliminate the confusion caused by low-level system alerts that cannot be easily correlated to business exceptions. This has been a common and costly shortfall in traditional systems management software and frequently contributes to prolonged application downtime.
"Helping customers drive better business results is the essence of Oracle's top-down approach to application management," said Richard Sarwal, senior vice president of Systems Management Products, Oracle. "With the addition of Connectors enabling closed-loop incident and problem tracking with Siebel CRM and PeopleSoft Enterprise HelpDesk applications and breakthrough application performance management capabilities using Oracle Enterprise Manager's Application Diagnostics for Java feature, Oracle takes another significant step in fulfilling our top-down application management strategy."
"With this new release, Oracle is expanding both the breadth and depth of the application management capabilities available through Oracle Enterprise Manager, providing features designed for detailed diagnosis of Java application performance issues in production environments, with the ability to trace transactions between Java application servers and database sessions," according to Tim Grieser, Program Vice President, Enterprise System Management Software, IDC
Taking Application Performance Management to the Next Level
The new Oracle Application Diagnostics for Java capability in Oracle Enterprise Manager can monitor and diagnose performance problems in production Java applications with minimal impact on application performance and availability. Unlike most Java performance management tools that utilize bytecode instrumentation, Oracle Enterprise Manager's new feature has a highly innovative diagnostics engine that introduces less than one percent performance overhead on production applications and does not require IT operations to have a deep understanding of the application logic. The new feature also has a hot-pluggable architecture that enables the diagnostics engine to be deployed in heterogeneous middleware environments, without shutting down the application server. Oracle Application Diagnostics for Java is included in the Oracle Application Server Diagnostics Pack and the new Oracle Diagnostics Pack for Non-Oracle Middleware.
Improving Performance Diagnostics Across Application Tiers
Diagnosing end user performance problems has become increasingly difficult because of the increased deployment of multi-tiered web applications and the dynamic nature of web-based applications. With Oracle Application Diagnostics for Java, administrators now have powerful diagnostic capabilities by enabling application administrators to trace in-flight transactions and correlate user request activities in the Java application to corresponding activity in the database. Similarly, database administrators can quickly identify Java applications that may be causing resource contention in the database. This cross-tier diagnostics helps accelerate problem resolution by identification of resource bottlenecks across tiers.
Tighter Integration for Siebel CRM Diagnostics and Oracle Enterprise Manager
Siebel CRM diagnostic capabilities have been integrated with Oracle Enterprise Manager, providing a single integrated tool for problem diagnostics in Siebel CRM and its underlying infrastructure. Siebel CRM administrators can use Oracle Enterprise Manager for end-to-end management of Siebel CRM and to simplify Siebel CRM diagnostics based on user and server performance analysis. In addition, Siebel CRM customers can benefit from broader application support including Siebel CRM 8.0, 7.8 and 7.7.
Enhancing Management Capabilities Across the Application Lifecycle
New Management Connectors for Siebel CRM HelpDesk and Peoplesoft Enterprise HelpDesk applications allow the deployment of end-to-end IT incident and problem management solutions capable of unprecedented levels of automation and closed-loop remediation. The connectors enable Siebel CRM and PeopleSoft Enterprise HelpDesk customers to benefit from an integrated solution that spans the service lifecycle from incident logging and tracking to top-down management of applications including problem management, patching and provisioning across the technology stack. The bi-directional integration between Oracle Enterprise Manager and Siebel CRM and PeopleSoft Enterprise HelpDesk applications helps streamline key support processes by automatically creating service requests for incidents captured in Oracle Enterprise Manager. Support analysts using these help desk products are automatically empowered with respective corrective actions to accelerate problem resolution.
Expanded Capabilities for Business Intelligence Management
Oracle Management Pack for Business Intelligence is a new Oracle Enterprise Manager pack that extends the benefits of top-down application management to Oracle Business Intelligence Enterprise Edition Plus. Using the BI management pack, customers can receive proactive alerts on impending problems, troubleshoot and tune performance problems, manage configurations, proactively enforce configuration policies, and enforce service level agreements on Oracle Business Intelligence Enterprise Edition Plus deployments.
Easy and Secure Data Sharing Across the Application Lifecycle
Also new is the Oracle Data Masking Pack, to protect sensitive production data by using masking rules to replace confidential or sensitive production information with realistic but scrubbed data. This pack provides a scalable, secure solution for application data sharing for a wide variety of needs ranging from application development, testing, quality assurance as well as business processing. See related news release dated today.
Availability and Pricing
The enhancements listed above are generally available today with Oracle Enterprise Manager 10g Release 4.
Oracle Application Server Diagnostics Pack and Oracle Diagnostics Pack for Non-Oracle Middleware are priced at $6,000 each per CPU. Management Connectors are priced at $5,000. The Oracle Management Pack for Business Intelligence is priced at $10,000 per CPU. The Oracle Data Masking Pack is priced at $10,000 per CPU of the server where data is being masked.
For more information about Oracle Enterprise Manager 10g Release 4 and the family of Plug-ins, Connectors and Management Packs and to download free evaluation software go to: http://www.oracle.com/enterprisemanager/. Terms, conditions and restrictions apply.
About Oracle Enterprise Manager 10g
Spanning applications, middleware, and database management, Oracle Enterprise Manager 10g delivers integrated enterprise management for Oracle and non-Oracle systems to more than 21,000 Management Pack customers worldwide. Employing a unique "top-down" approach to managing application and IT infrastructure resources, Oracle Enterprise Manager allows customers to focus on what matters for its business -- greater agility, better service quality and lower operational costs. With a broad set of administration, configuration management, provisioning, end-to-end monitoring, service level management, and security capabilities, Oracle Enterprise Manager 10g helps customers manage service levels, proactively isolate business exceptions before they become emergencies, and remediate issues at any level spanning application and heterogeneous infrastructure -- all within one management solution. Learn more at http://www.oracle.com/enterprisemanager/.
About Oracle
Oracle (Nasdaq: ORCL - News) is the world's largest enterprise software company. For more information about Oracle, visit our Web site at http://www.oracle.com.
Trademarks
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
This announcement is provided to you solely for information purposes, is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Many factors can materially affect Oracle's product development plans and the nature and timing of future product releases. The development, release, and timing of any features or functionality described remains at the sole discretion of Oracle. This information may not be incorporated into any contractual agreement with Oracle or its subsidiaries or affiliates. Oracle specifically disclaims any liability with respect to this information.
Message was edited by:
Chung WuThis is expected behavious. It is because Enterprise Manager cannot run with the new server name. You can either go through loads to change the config files or simply drop and recreate the console.
-
Top activity (red bar) enterprise manager
Hi I am new to oracle 10g and performance tuning;
When I look at the top activity from enterprise manager, I notice that one person has red bar(which is making update).The activity is around %65, and the user said that the system hangs, it takes too long to finish the operation.
Does the red bar occurs in update statements? What can be solutionNo one reading this has even the slightest idea of what red bar on what page and how it might or might not relate to any DML statement.
Drill down and find out what is happening for that specific user having the issue. What were they doing? What SQL statement. Does it correspond with top SQL in OEM Grid?
Then run ADDM and Explain Plan and if you can't figure out what is happening post the SQL statement and the explain plan (created using DBMS_XPLAN) and any relevant index information and we'll take a look. -
Installing Oracle Enterprise manager
I have on my cleint Pc dev10g is ;Oracle Enterprise manager; part of the 'dev10g' or else how I can install it
It depends on what exactly you want to do. First, Oracle Enterprise Manager is a term that refers to the Java Thick client console, and it can be found at the Oracle RDBMS client disk; this requires installation to be accessed.
There is a second Enterprise manager, formally named Enterprise Manager DB Control Console, which is the Web based EM Console. There is no install media for this, this is automatically configured on a per instance bases when you create a new database using the default procedure in DBCA.
Finally there is an Enterprise Manager Grid Control Console, which is an integrated management system and requires more than just an installation, it requires the install media and a previous topology analysis.
*~ Madrid*
http://hrivera99.blogspo.com -
Enterprise Manager 12.1.0.3 functions
hello all
Now i have a project,it‘s necessary to implement Enterprise Manager 12.1.0.3.
That to achieve the following functions:
Resource directory management
Resource management
Instances of resources management
Resource pool log management
Resources statistical analysis
Now ,I don't know what call resource pool, I don't know how to do
Hope everybody to help meI think you are referring to Enterprise Manager Ops Center.
Refer the following doc which contains steps for creating resource and account management etc.,
http://docs.oracle.com/cd/E24628_01/doc.121/e27511/ftr_vdc_mgmt.htm#OPCFG3095
Oracle® Enterprise Manager Ops Center Installation Guide for Linux Operating Systems
12c Release 1 (12.1.4.0.0)
http://docs.oracle.com/cd/E24628_01/doc.121/e25139/toc.htm
HTH
Mani
Maybe you are looking for
-
How to get Aperture on new MacBook
Hello! I purchased Aperture 1.0 on DVD and have also purchased updates to 2.x and 3.x via DVD. Aperture 3.x is installed on my iMac and working well. However, I have just purchased a Macbook Pro Retina and want to install it there as well. Trouble
-
This feature is supposed to show the number of times visitors to your website have clicked on the various pages. It requires some google code in each page (which I have). It worked in the previous version of Firefox and still works in the iExplore br
-
Probable BUG found in Sybase Inventory database
Hi All, (Sure is quiet around here - must be because ZDM 7 is so stable...) So I have been having inventory database issues. Random but inevitable database failures - eg "assertion failed 201425" (and other numbers that I cannot locate at the moment)
-
I used to have a utility that gave extra options in the save dialogue box that also placed a thumb nail image of a PDF in the finder window. Apple implemented Thumb nails in the finder and I stoped using it. However one of the great things it did was
-
InfoCube does not want to Compress
We have an infocube that is not wanting to compress. If I click on the manage button I can see that the request methodology was changed. Some of the requests have that "where used" icon on them in the Column called "data mart status". If I put my mou