1. Drop dbcontrol configuration
2. Create the OEM repository
3. Configure EM db control
Step 1. Drop the existing configuration.
[oracle@dbserver bin]$ emca -deconfig dbcontrol db -repos drop
Step 2. Create the OEM repository.
[oracle@dbserver bin]$ emca -repos create
Step 3. Configure db control.
[oracle@dbserver ~]$ emca -config dbcontrol db
On any web browser try the em URL to verify the configuration.
To check the status of EM.
[oracle@dbserver ~]$ emctl status dbconsole
Start EM.
[oracle@dbserver ~]$ emctl start dbconsole
Stop EM.
[oracle@dbserver ~]$ emctl stop dbconsole