Site icon IT Tutorial

TNS-00515: Connect failed because target host or object does not exist

Hi,

Sometimes You can get “TNS-00515: Connect failed because target host or object does not exist ” error.

 

Details of error are as follows.

TNS-00515: 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.)
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist

 

Sometimes you can get this error because of IP address, probably you used hostname or scan name instead of Public IP adress or Scan IP.

You can try in CMD using nslookup if your client will resolve hostname or not

nslookup hostname

nslookup SCAN-NAME

 

To solve this problem you need to change DNS Server  and use same dns server with database server.

If you don’t change dns server then you should use Public IP or SCAN IP instead of hostname, SCAN Name.

 

Or you should check the host name with ip address in    /etc/hosts/ , if it is correct or not.

 

 

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

Exit mobile version