Solved

Testing Connectivity

Posted on 2014-04-04
5
310 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

Independent Software Vendors: 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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to recover a database from a user managed backup

739 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