Home » RDBMS Server » Networking and Gateways » ORA-12545 Error "Target host or object does not exist", pls HELP
icon4.gif  ORA-12545 Error "Target host or object does not exist", pls HELP [message #109065] Mon, 21 February 2005 17:29 Go to next message
volverin
Messages: 2
Registered: February 2005
Junior Member
Hi everyone,

I am a newbie in Oracle and I have troubles connecting to a newly created Oracle 9i DB on Windows XP SP2. This is a local installation and I have nothing to do with the network, I don't care about networking, all I wanna do is access the database on my pc from my pc (locally). I created the instance through the database configuration assistant with the configuration of the attached file. When I log on through SQL PLUS, I provide the username and password but no Host String and it is working fine. However when I try to use the Oracle Enterprise Manager Console using any of the accounts working with SQLPlus I get the ORA-12545 Error. I tried to use the Net Manager and Net Configuration Assistant but I didn't get any further. I checked in the services and the OracleOraHome92TNSListener as well as the OracleServiceEAP have started. If anyone can help me, please do so. Below is the tnsnames.ora located in C:\oracle\ora92\network\admin like the rest of the files:

EAP.RDBMS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = EAP)(PORT = 1521))
)
(CONNECT_DATA =
(SID = EAP)
(SERVER = DEDICATED)
)
)

And the listener.ora

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vas)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EAP))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = extproc)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
)
)

Finally, the sqlnet.ora

SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
  • Attachment: EAP.HTML
    (Size: 20.19KB, Downloaded 1873 times)

[Updated on: Mon, 21 February 2005 17:36]

Report message to a moderator

Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #109139 is a reply to message #109065] Tue, 22 February 2005 09:26 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Edit the sqlnet.ora
comment all the entries.
try again.
If that does not help, please post again.
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #109207 is a reply to message #109065] Tue, 22 February 2005 21:11 Go to previous messageGo to next message
Master.Richard
Messages: 15
Registered: February 2005
Junior Member
Hi,

There are different hostnames in ur tnsnames.ora and listener.ora files. I don't know which one is correct, but I think that is the problem.
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #109302 is a reply to message #109207] Wed, 23 February 2005 11:51 Go to previous messageGo to next message
volverin
Messages: 2
Registered: February 2005
Junior Member
You 're right, this solved the problem. Thanks a lot for the kind help..
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #135733 is a reply to message #109065] Fri, 02 September 2005 05:10 Go to previous messageGo to next message
aparnapallavi
Messages: 28
Registered: June 2005
Junior Member
hello

I am having a similar problem as mentioned above but my tns file and listner file are very confusing to use the solution given above. Could anyone help me with this?

tnsnames.ora file

# TNSNAMES.ORA Network Configuration File: D:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

JAVADB.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = client2)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = javaDB.com)
)
)

INST1_HTTP.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = client2)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)

EXTPROC_CONNECTION_DATA.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

listner.ora file

# LISTENER.ORA Network Configuration File: D:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = client2)(PORT = 1521))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora90)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = javaDB.com)
(ORACLE_HOME = D:\oracle\ora90)
(SID_NAME = javaDB)
)
)

could i simply change all the host names and key names to client2 to get it working?
Pls. help

Aparna
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #135734 is a reply to message #135733] Fri, 02 September 2005 05:15 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
HI

In tnsnames.ora:

Instead of (SERVICE_NAME = javaDB.com) put

(SERVICE_NAME = javaDB)

& then check.

Regds
Girish
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #135990 is a reply to message #135734] Mon, 05 September 2005 04:34 Go to previous messageGo to next message
aparnapallavi
Messages: 28
Registered: June 2005
Junior Member
that did not work.
is there is anything else i am missing here.

regds
aparna
Re: ORA-12545 Error "Target host or object does not exist", pls HELP [message #136002 is a reply to message #135990] Mon, 05 September 2005 06:08 Go to previous message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member


What is the SID of ur database ?
Is it javaDB or javaDB.com ?

Pls make it clear.


See my listener.ora looks like this .

LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Tarun)(PORT = 1521))
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = d:\oracle\ora92)
(SID_NAME = tanudb1)
)
)


Notice here -- SID_NAME = tanudb1


And tnsnames.ora


INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Tarun)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

TANUDB1_TARUN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = tarun)(PORT = 1521))
)
(CONNECT_DATA =
(SID = tanudb1)
(SERVER = DEDICATED)
)
)

And here SID= tanudb1.


But i think in ur case they differ, it might be the problem.

check it out.

regards,
tarun

[Updated on: Mon, 05 September 2005 06:12]

Report message to a moderator

Previous Topic: TNS package - SQL*Net messages waits
Next Topic: authentication adapter initialization failed ora-12640
Goto Forum:
  


Current Time: Tue May 14 22:32:15 CDT 2024