tnsping

When using tnsping, can I specify a port number along with the SID?

点点圈 提交于 2019-12-11 00:30:43
问题 I use Bitvise Tunnelier to connect to a series of Oracle databases using SQL Developer; the connection is made to localhost and a specific port number, and this works fine. I'd like to connect through other means (e.g., .NET), and I'm troubleshooting with tnsping. Is there any way to run tnsping with a port number as well as the SID? I've tried: tnsping DatabaseSIDName:9001 tnsping DatabaseSIDName;9001 tnsping DatabaseSIDName,9001 All give "TNS-03505: Failed to resolve name". 回答1: When you

ORA-12514 TNS:listener does not currently know of service requested in connect descriptor

二次信任 提交于 2019-11-26 12:41:11
We have an application running locally where we're experiencing the following error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor I've tested the connection using TNSPing which resolved correctly and I tried SQLPlus to try connecting, which failed with the same error as above. I used this syntax for SQLPlus : sqlplus username/password@addressname[or host name] We have verified that: the TNS Listener on the server is running. Oracle itself on the server is running. We don't know of any changes that were made to this environment. Anything else we can

ORA-12514 TNS:listener does not currently know of service requested in connect descriptor

主宰稳场 提交于 2019-11-26 02:41:17
问题 We have an application running locally where we\'re experiencing the following error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor I\'ve tested the connection using TNSPing which resolved correctly and I tried SQLPlus to try connecting, which failed with the same error as above. I used this syntax for SQLPlus : sqlplus username/password@addressname[or host name] We have verified that: the TNS Listener on the server is running. Oracle itself on the