472,342 Members | 1,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,342 software developers and data experts.

ORA-12545: Connect failed because target host or object does not exist

HI!,

Using SQL+, when i try to connect to a server giving RAC_srv as service name. It get connected, However sometimes it throws me following error.

ORA-12545: Connect failed because target host or object does not exist

But when I try to re-connect it get successfullt connected.
My tns entries are fine and I am able to connect to the both of RAC nodes.

Has anynody faced this type of problem? Does anybody had any solution for it.

Thanks,
Sep 7 '07 #1
6 42394
amitpatel66
2,367 Expert 2GB
HI!,

Using SQL+, when i try to connect to a server giving RAC_srv as service name. It get connected, However sometimes it throws me following error.

ORA-12545: Connect failed because target host or object does not exist

But when I try to re-connect it get successfullt connected.
My tns entries are fine and I am able to connect to the both of RAC nodes.

Has anynody faced this type of problem? Does anybody had any solution for it.

Thanks,
ORA-12545: Connect failed because target host or object does not exist

Cause: The address specified is not valid, or the program being connected to does not exist.

Action: Ensure the ADDRESS parameters have been entered correctly; the most likely incorrect parameter is the node name. Ensure that the executable for the server exists (perhaps "oracle" is missing.) If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the host name to a numeric IP address and try again.
Sep 7 '07 #2
debasisdas
8,127 Expert 4TB
it also might happen that the oracle service or the listener sevice in the service got hanged or the server was rebooted while u were connected.
Sep 7 '07 #3
ORA-12545: Connect failed because target host or object does not exist

Cause: The address specified is not valid, or the program being connected to does not exist.

Action: Ensure the ADDRESS parameters have been entered correctly; the most likely incorrect parameter is the node name. Ensure that the executable for the server exists (perhaps "oracle" is missing.) If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the host name to a numeric IP address and try again.

TNSNAMES.ora is been perfectly entered and tnsping works fine. I tried it in both ways: entered IP address and Host name.

It dosen't give me any problem in connecting to the Db. However, when I make frequent connections it fetches me that error. As I said when I re-connect, it goes boom boom . I have seen my connection connecting to both instances simaltenously
Sep 7 '07 #4
it also might happen that the oracle service or the listener sevice in the service got hanged or the server was rebooted while u were connected.
Rebooted??? No way, they are in front on me. And as i said .... When I re-connect it get successfully connected with the specified node and I hope rebooting requires at least some amount of time to make all services up and specially in the case of RAC to make it available.

Well regarding Oracle Service or Listener service, hang issue. I am not sure about, i think this cannot be the issue. Can you please tell me the way to check Listener or Oracle Service status, to get assured that this might not be the cause.

Thanks
Sep 11 '07 #5
debasisdas
8,127 Expert 4TB
Try to use TSNPING servicename

While the error message appears.

Also check for network connectivity with the server.
Sep 11 '07 #6
laconicamit,

Did you find a resolution to this issue? I am seeing a similar situation and am having trouble pinpointing a resolution.

Thanks
Sep 30 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: John | last post by:
Hi Right password -> ORA-12154: TNS:Could not resolve service name wrong password => ORA-01017: invalid username/password; logon denied ...
1
by: Adam Ruth | last post by:
I'm using OCI on Mac OS X and I've run into a strange problem with my TNSNAMES.ORA file. My TNSNAMES.ORA file has one entry INV4II and it works...
6
by: bdj | last post by:
Hello! I have at set of tnsnames.ora. I wich to make an union, e.g. a single file of it. How can I do that easy? Greetings Bjørn
2
by: mpatel6 | last post by:
I had this error in alert log and my instance was down, anybody can help me? Errors in file...
1
by: smita81 | last post by:
Hi, I have a problem while trying to login to toad. My operating system is WINDOWS XP. I have Oracle 9i at my system. I installed the Toad into...
2
by: hemantmudaliar | last post by:
The Trigger is giving following exception java.sql.SQLException: ORA-04091: table PSCONTENT.VGNASCHANNEL is mutating, trigger/function may not see...
3
nabh4u
by: nabh4u | last post by:
HI everyone, I an getting the following errors when i execute my procedure. SQL> exec PROCEDURE_NAME BEGIN PROCEDURE_NAME; END; * ERROR at...
0
by: nkumarin001 | last post by:
Hi, I got stuck up when i was doing recovery. Please help me. I took backup of all the datafiles,redogfiles and controlfiles. I opened...
0
by: nkumarin001 | last post by:
Hi, I got stuck up when i was doing recovery. Please help me. I opened the database in noarchivelog mode and inserted 5 records and made...
0
by: basmgokul | last post by:
I am using oracle 10g in windows vista.. when starting DB it throws an error Errors in file c:\database\udump\practice_ora_440.trc: ORA-00704:...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.