Solved

What command to activate inactive database link

Posted on 2001-06-07
5
1,461 Views
Last Modified: 2008-03-17
I created a db link on oracle 7.3 to enable a remote query.  Sql plus says cannot resolve service name.  
oracle enterprise manager says link is inactive. I am almost giving up on this facility. Help
0
Comment
Question by:llodza
5 Comments
 
LVL 3

Expert Comment

by:arun04
ID: 6163167
there is problem with the connection parameters that you have specified, check the service name and the port of the remote server.
0
 

Accepted Solution

by:
rajugeor earned 200 total points
ID: 6163477
For the Database Link, Oracle uses the TnsNames.Ora from the Server, not from the Client PC. So you need to add the Connection parameters in tnsnames.ora in the Oracle Serevr.
Path is /Oracle_Home/Network/Admin/
      Or /Oracle_Home/Net80/Admin/

Add your connection string to this file, or you can use Net8 Easy configuration from the menu on the Server.

Then you try to create the Database link, It will work..

0
 

Author Comment

by:llodza
ID: 6163741
I have not tried it yet but I believe it will work
0
 
LVL 1

Expert Comment

by:ashokskumar
ID: 6165910
Hi,

Check the service you have included in tnsnames.ora using
tnsping or tnsping80 utility.

tnsping <service name>

You should get response, else you need check connectivity between the system(if client and server are different machine).  Ensure listener is up at the server side.  If any error in starting listener you should update the listener.ora at server side.

If tnsping responds well, you may create dblink using the service.

Ashok.
0
 

Author Comment

by:llodza
ID: 6167186
Good. I was working from the client tnsnames.  But why does
oracle do that.  Documentation is not friendly or unavailable.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scheduler for Procedure in DB with 3 arguments in 10g 7 34
Query Records that don't match 8 42
database upgrade 8 77
create a nested synonym 4 25
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

810 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