Reputation: 11
When installing Oracle11.2.0 g, I get database Configuration Assistant warning- Enterprise manager configuration failed due to foll. error:Listener is not up or database service is not registered with it.Start the Listener and register database service and run EM Configuration assistant again.Please guide me how to proceed.. Hence I am not able to connect JavaJDBC program with Oracle
Upvotes: 1
Views: 13567
Reputation: 6336
First of all what is your Database Version and Operating System
Register your database with the listener
Add SID_LIST_LISTENER
in your listener.ora file present in $ORACLE_HOME\network\admin
Example
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=sale-server)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=sales.us.example.com)
(ORACLE_HOME=/oracle11g)
(SID_NAME=sales))
(SID_DESC=
(SID_NAME=plsextproc)
(ORACLE_HOME=/oracle11g)
(PROGRAM=extproc)))
Refer to this link
http://docs.oracle.com/cd/B28359_01/network.111/b28317/listener.htm
After Editing listener.ora
restart the listener with the help of following command....
lsnrctl reload
Then try to start Enterprise Manager as follows
emctl start dbconsole
Reconfigure Oracle Enterprise Manager on windows
Upvotes: 3
Reputation: 752
You need to check if the database Listener is running. You can check by typing 'servies.msc' in your Start>Run box and see if the database listener is running.
Upvotes: 0