Solved

Testing Connectivity

Posted on 2014-04-04
5
311 Views
Last Modified: 2014-04-04
Experts -

I do have a linux server A  with oracle 11g client installed. How can I test the connectivity to the Oracle server B (another server) from this linux A server?

The tnsping is NOT working.

Thanks,
Sve.
0
Comment
Question by:sventhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39978195
If tnsping isn't working then  then nothing using tnsnames connections will work.

What isn't working with tnsping?
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 250 total points
ID: 39978207
Also:  tnsping only talks to the listener not the database.

The database can be down and tnsping can still return an OK status if the listener knows about the database (the instance is hard-coded in the listener.ora file).
0
 
LVL 18

Author Comment

by:sventhan
ID: 39978287
Thanks Steve.

It looks like i've to setup the environment variables, .profile, oracle_home etc., to get this working. I've only installed the 11g client on the app server side, need to set up other env.
0
 
LVL 23

Accepted Solution

by:
David earned 250 total points
ID: 39978327
Some more common mistakes:  
-- the location of the tnsping is neither PATH'ed nor included
-- the host TNSNAMES.ORA is improperly PATH'ed
-- the host TNSNAMES.ORA is in error

I'll often recommend that to troubleshoot a statement, one must connect directly to the database host; log in with an authorized account; make a direct SQL*Plus connection (see: EZCONNECT syntax); and ensure the statement will complete.  THEN start re-layering complexity.
0
 
LVL 18

Author Closing Comment

by:sventhan
ID: 39978568
Thanks for the help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question