Tuesday, February 19, 2013

Enterprise manager configuration failed due to the following error - Listener is not up or database service is not registered with it.

So, I installed 64 bit oracle 11.2.0.1 on Windows machine and got this error.

Enterprise manager configuration failed due to the following error - Listener is not up or database service is not registered with it.




Here is what I did to fix it.

1) Since the log file had tons of java errors, I installed the latest version of java. Just go to www.java.com, and install it.

2) Launch Net Configuration Assistant, delete the current Listener, and add a new Listener with the default values.

3) Open Listener.ora, replace IP Address on the hostname with the machine name.

4) Re start listener service

5) launch command prompt, and run emca -config dbcontrol db -repos recreate



Provide values for SID,port number, and passwords for the users.

It will take some time to drop the current repository and recreate a new one