My client SqlPlus uses TNSNAMES to connect to the Ora817 db. One name is ORCL configured as dedicated connection and the other is NETORCL configured as shared connection. The other connection information is the same (ip, port, sid, etc).
However, the dedicated connection works fine, and the shared connection gives error ORA-12545, "Connection failed, Target host or object doesn't exist". Both connections used to work fine. The only thing I can think of is the network DNS server change. But why does the dedicated connectin work and the shared conn not? What configuration parameter affects the difference?
ORA-12545: TNS:name lookup failure
Cause: The listener on the remote node cannot be contacted.
Actions:
Verify that the ADDRESS in the tnsnames.ora file and the listener.ora file is correct.
Verify that the listener on the remote node has been started. Enter:
lsnrctl
lsnrctl> status listener_name
listener_name is the name of the listener defined in the listener.ora file. It is not necessary to identify the listener if you are using the default listener, named LISTENER.
If the output indicates the listener is not running, try starting it with the command:
lsnrctl> start listener_name
I think your listener is tuned for the dedicated connection only.
SRVR=SHARED entry from your tnsnames.ora file and try again.
IF the database had been configured under shared server mode, then by default the connections would go for the shared server. If you want the dedicated option, then you would configure the SRVR to dedicated mode....
Bookmarks