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.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

747 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

12 Experts available now in Live!

Get 1:1 Help Now