Im trying to connect to RAC database and sometimes it works ok and sometimes I get the error:
Error: Unable to attach to a server in logon(). ORA-12545: Connect failed because target host or object does not exist
I can connect to the database using SQL*Plus.
host name resolution issue
This is an Oracle issue. The host names cannot be resolved on the client side.
Please update the client machines hosts file with the information of the Oracle RAC hostnames and vip-names.
For additional information:
http://www.youtube.com/watch?v=LH-88ARrroo
http://www.pythian.com/news/?s=ORA-12545