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
Thank you very much!!!
ReplyDeleteThis worked for me...
thanks
ReplyDeleteWorked. Thanks!
ReplyDeletethanks a lot!
ReplyDeleteYou genius! Thank you!
ReplyDeletethanks but im beginner how can i Open Listener.ora, replace IP Address on the hostname with the machine name?
ReplyDeleteThanks man.
DeleteDker,
Listener.ora is on C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN if you installed Oracle on Windows C root folder like i did.
How munch time about ?. I waitted about 1,5hour, but it stop in "Dropping the EM repository .."
ReplyDeletein listener.ora exactly what we have to do.. specify in detail pls ?
ReplyDeleteThank you very much! :). It save me!
ReplyDeleteThanks man, you saved me from my 2 days of continuous PAIN.
ReplyDeleteWhy hasn't oracle fixed this problem?
Wow, thanks so much! I tried SO many different things before I ended up here, and it worked! I'm so glad you shared!
ReplyDeleteThanks. Your solution worked for me too.
ReplyDeleteIf i delete the java log files, will something happen??
ReplyDeleteFor More Enterprise Manager Problem Please Watch This Video
Deletehttps://www.youtube.com/playlist?list=PLq2wa7hRoFdm0ndJxqFAGvi7huJF6KUYm
Hi, I tried doing the same but after giving Database SID it gives error Exception IN Thread main oracle.sysman.emcp.exception.databaseunavailalbeexception databse instance unavaialbe
ReplyDeleteI am experiencing the same error as well.
ReplyDeletefor me also same error
DeleteSolve my issue as well.
ReplyDeleteThanks, it worked! I appreciate that.
ReplyDeleteThank you sir for the solution
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis is Good,For More Enterprise Manager Problem Please Watch This Video
ReplyDeletehttps://www.youtube.com/playlist?list=PLq2wa7hRoFdm0ndJxqFAGvi7huJF6KUYm
appreciated !
ReplyDeleteThank you! my one day problem is solved now.....
ReplyDeleteIt worked, it took my whole day,Thanks a ton
ReplyDeletePlease provide same solution for RAC database.
ReplyDeleteno value was set for the parameter oracle_hostname
ReplyDeleteThis error occured
INFO: Uploading configuration data to EM repository (this may take a while) ...
Jun 13, 2020 1:37:39 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Jun 13, 2020 1:37:39 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties ...
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.util.FileUtil _deleteFile
CONFIG: Deleting file C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.util.FileUtil copyFile
CONFIG: exception caught in copyFile:
oracle.sysman.emcp.exception.FileUtilException: Copying file C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties.emca to C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties
at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
at oracle.sysman.emcp.EMDBCConfig.updateEmomsProps(EMDBCConfig.java:926)
at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:408)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:144)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:255)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
Caused by: java.io.FileNotFoundException: C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:131)
at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
... 11 more
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Copying file C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties.emca to C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error updating C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties
Refer to the log file at C:\app\VishalSingh\product\cfgtoollogs\emca\orcl\emca_2020_06_13_01_30_29.log for more details.
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error updating C:\app\VishalSingh\product\11.2\dbhome1\sysman\config\emoms.properties
at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:413)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:144)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:255)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
Jun 13, 2020 1:37:40 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\VishalSingh\product\11.2\dbhome1\oui