Home » Databases » Oracle 10g: How to create an Enterprise Manager instance on the command line

Oracle 10g: How to create an Enterprise Manager instance on the command line

In case you have to create an Oracle 10g Enterprise Manager instance from scratch, it is very easy.

  1. emca -repos create
  2. emca -config dbcontrol db

If you need to blow away the existing Enterprise Manager configuration, you can either recreate the repository, which will wipe out all the configurations:

  1. emca -repos recreate
  2. emca -config dbcontrol db

or, you can recreate just the dbcontrol for an instance:

  1. emca -deconfig dbcontrol db
  2. emca -config dbcontrol db
Share Button

One thought on “Oracle 10g: How to create an Enterprise Manager instance on the command line

  1. to reuse the port that Oracle Enterprise Manager listens on, you need to specify the DBCONTROL_HTTP_PORT:

    % emca -config dbcontrol db -DBCONTROL_HTTP_PORT 1158

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comment moderation is enabled. Your comment may take some time to appear.

Facebook login by WP-FB-AutoConnect