C:\Documents and Settings\user> emca -config dbcontrol db -repos create
STARTED EMCA at **** **:**:** PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1272)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
orcl is the oracle sid on my computer and database status is RUNNING
----------------------------
----------------------------
C:\Documents and Settings\*****>emctl
EM Configuration issue. E:\app\*****\product\11.2.0\dbhome_1/*****_orcl not found.
Due to this error ... "emctl start dbconsole" throws error.
SOLUTION
configuring the Enterprise Manager using DBCA ?
dbca->configure database options -> "select the database" -> Configure Enterprise Manager
STARTED EMCA at **** **:**:** PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1272)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
orcl is the oracle sid on my computer and database status is RUNNING
----------------------------
----------------------------
C:\Documents and Settings\*****>emctl
EM Configuration issue. E:\app\*****\product\11.2.0\dbhome_1/*****_orcl not found.
Due to this error ... "emctl start dbconsole" throws error.
SOLUTION
configuring the Enterprise Manager using DBCA ?
dbca->configure database options -> "select the database" -> Configure Enterprise Manager
Got yah it work for me as well
ReplyDeletethis is very helpful. thanks
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWhere is the solution??
ReplyDeleteHave you executed command DBCA on cmd or open "Database Configuration Assitant"
Delete