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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
return result by latest date - oracle query 21 70
Oracle Subquery bad Join 11 59
Performance issue with case statement in oracle 11G 7 47
Export table into csv file in oracle 10 46
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now