Client Connection to RAC Intermittently Fails-ORA-12545 TNS: Host or Object Does not Exist (Doc ID 364855.1)
Log in with privileges to the instance and issue the following commands so that LOCAL_LISTENER is set correctly:
Now the correct address using the VIP hostname will be registered against the listeners in the cluster.
The client should be able to resolve all forms of the VIP host via their /etc/hosts file. i.e. short name and fully qualified.
Edit the /etc/hosts file or winnt/system32/drivers/etc/hosts file. Add a mapping for whatever hostname is not being resolved. For example:
22.214.171.124 myhost.oracle.com myhost
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/7728585/viewspace-774415/，如需转载，请注明出处，否则将追究法律责任。