Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Oracle connection problem

  Asked By: Lloyd    Date: Jul 16    Category: Java    Views: 6308
  

After installing oracle DB and creating a new database, when I want to login into "Oracle Enterprise Manager 10g" through the url "http://localhost:1158/em", instead of login page, I see another page with the following context:


<Enterprise Manager is not able to connect to the database instance. The state of the components are listed below>

Database Instance :
Host
navid-notebook
Port
1521
SID
OraDB1
Oracle Home
C:\oracle\product\10.2.0\db_1

---------------------------------------------------
Listener:
Status
Down
Host
navid-notebook
Port
1521
Name
LISTENER
Oracle Home
C:\oracle\product\10.2.0\db_1
Location
C:\oracle\product\10.2.0\db_1\network\admin
Details TNS-12541: TNS:no listener
----------------------------------------------------


Agent Connection to Instance:
Status
Failed
Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)


could you please tell me what the problem is?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Geneva Morris     Answered On: Jul 16

You should first bring dbconsole up and make sure your DB instance  and listener is up and running.

lsnrctl start Listener
emctl start dbconsole

then you can use remote access through your browser.

 
Answer #2    Answered By: Fabia Ferrrari     Answered On: Jul 16

it would be more helpful to look into ora log files under oradata directory

 
Answer #3    Answered By: Anuja Shah     Answered On: Jul 16

this is j2ee list not oracle  forum :-)
by the way the problem  is in this part:

<<DetailsTNS-12541: TNS:no listener>>

probably you have not defined a correct TNS name or TNS listener for
your Oracle DB instance.
try using oracle net configuration assistance for solving the problem.

 
Didn't find what you were looking for? Find more on Oracle connection problem Or get search suggestion and latest updates.




Tagged: