Issue while install and configure EM. [message #631932] |
Thu, 22 January 2015 01:29 |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi All,
I'm facing an issue while trying to install EM. My oracle database is in open state and running fine.
Error :
$ emca -config dbcontrol db -repos create
STARTED EMCA at Jan 22, 2015 12:34:38 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: oradb
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:1267)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Listener Entry in listener.ora
LISTEN_ABC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.1.194)(PORT = 5001))
)
Thanks & Regards
Manoj
|
|
|
|
Re: Issue while install and configure EM. [message #631935 is a reply to message #631934] |
Thu, 22 January 2015 01:57 |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi,
There is no entry for TNS in environment variables.
CLASSPATH=.:/u01/app/oracle/product/11.2.0/dbhome_1/JRE:/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/lib:/u01/app/oracle/product/11.2.0/dbhome_1/jdbc/lib/classes12.jar
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=oradb
ORACLE_TERM=xterm
ORACLE_UNQNAME=oradb
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/home/jdk1.7.0_21/bin/bin:/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
Thanks & Regards
Manoj
|
|
|
|
|
|
Re: Issue while install and configure EM. [message #631958 is a reply to message #631951] |
Thu, 22 January 2015 05:58 |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi,
I added below environment variables in .bash_profile and I can see values using echo $ENV_NAME
But issue is still same.
HOST_USER=oracle
HOST_USER_PWD="abc@123"
HOST=ABC-DB
PWD=/u01/app/oracle/product/11.2.0/dbhome_1/dbs
EMHOME=/u01/app/oracle/product/11.2.0/dbhome_1/em_home
EM_HOME=/u01/app/oracle/product/11.2.0/dbhome_1/em_home
DB_UNIQUE_NAME=oradb
PORT=5001
LISTENER=LISTEN_ABC
SERVICE_NAME=oradb
SID=oradb
AGENT_PORT=5500
LISTENER_OH=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
SYSMAN_PWD="v52%47;dO"
DBSNMP_PWD="v52%47;dO"
SYS_PWD="v52%47;dO"
Regards
Manoj
|
|
|
|
|
|
|