OEM setup

Posted on 2008-10-09
Last Modified: 2013-12-18
How can I remove existing OEM setup (Webbased) and reconfigure OEM for that database.

I tried do some as I shown below but it is not working. Can you please help me setup OEM
C:\>emca -config dbcontrol db
STARTED EMCA at Oct 9, 2008 1:33:00 PM
EM Configuration Assistant, Version Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: twuk
Listener port number: 5501
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................
Listener port number ................ 5501
Database SID ................ twuk
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
Oct 9, 2008 1:34:29 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollo
Oct 9, 2008 1:34:36 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
Oct 9, 2008 1:34:43 PM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for
Oct 9, 2008 1:34:44 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Oct 9, 2008 1:39:44 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TWUK\em
a_2008-10-09_01-33-00-PM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\produc
\10.2.0\db_1\cfgtoollogs\emca\TWUK\emca_2008-10-09_01-33-00-PM.log for more det
C:\>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Agent Version     :
OMS Version       : Unknown
Protocol Version  :
Agent Home        : D:\oracle\product\10.2.0\db_1\
Agent binaries    : D:\oracle\product\10.2.0\db_1
Agent Process ID  : 6332
Agent Process ID  : 6332
Agent URL         :
Started at        : 2008-10-09 13:36:23
Started by user   : SYSTEM
Last Reload       : 2008-10-09 13:36:23
Last successful upload                       : (none)
Last attempted upload                        : (none)
Total Megabytes of XML files uploaded so far :     0.00
Number of XML files pending upload           :       12
Size of XML files pending upload(MB)         :     2.32
Available disk space on upload filesystem    :    11.64%
Agent is already started. Will restart the agent
The syntax of this command is:

Open in new window

Question by:basirana
  • 2

Author Comment

ID: 22681043
When I check the status it says NOT RUNNING
C:\>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Oracle Enterprise Manager 10g is not running.
Logs are generated in directory D:\oracle\product\10.2.0\db_1/

Open in new window

LVL 47

Accepted Solution

schwertner earned 500 total points
ID: 22684919
1. This is suspicious:

Listener port number: 5501

2. Check if it is correct!

Based on
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
increase the shared pool size

3. Check the default firewalls and turn them off

4. Check if the service is registered by the Listener:

c:\>lsnrctl services

5. try also these:

$ emca -config dbcontrol db -repos recreate
LVL 47

Expert Comment

ID: 22718754
Thank you so much!
Good luck!

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question