Net8 Administrator's Guide
Release 8.1.5

A67440-01

Library

Product

Contents

Index

Prev Next

8
Establishing a Connection and Testing the Network

Once you have completed configuring your network, you make a connection and test each component to ensure the network is functioning properly. Net8 provides a variety of tools to help you start, test and control a Oracle Names server, listener, and Connection Manager.

This chapter outlines procedures to make a connection and test network components using Net8's control utilities. This chapter contains the following sections:

Connecting to a Database

Connecting to a database involves starting network components and entering a connect string with a net service name, such as connect username/password@net_service_name.

This section covers the following topics:

Net8 Component Startup Overview

Client workstations and other servers connect to a listener with a net service name when logging onto an Oracle server.

After installing and configuring all the network components, you need to start them to make the network functional. Following is an outline of the steps you should take to start the network components.

  1. If your network uses Oracle Names, start the Oracle Names servers, discover Oracle Names servers on all clients, and run the client cache.


    Note:

    If the Oracle Names servers use a database to store the network information, you will need to start the database first, then start the listener.  


  2. Start the listeners using the Listener Control Utility, LSNRCTL.

  3. Start the databases, using the tool of your choice.

  4. If your network includes Oracle Connection Managers, start them using the Connection Manager Control Utility, CMCTL.

Step 1: Start Oracle Names Servers

Start Oracle Names servers using either Net8 Assistant or the NAMESCTL control utility on the machines where Oracle Names server software is installed and configured:

Use the control utility NAMESCTL...   Use the Net8 Assistant...  

From the command line, enter:

namesctl

namesctl> start

The START command of NAMESCTL loads the Oracle Names server into memory and tells it to begin executing. At startup, the Oracle Names server loads its configuration and data.  

  1. Start Net8 Assistant.

    -On UNIX, run netasst at $ORACLE_HOME/bin.

    -On Windows NT, choose Start > Programs > Oracle - HOME_NAME > Network Administration > Net8 Assistant.

  2. Double-click on the Oracle Names server folder.

  3. Select the Oracle Names server.

  4. Select Manage Server from the drop-down list box.

  5. Select the Control tab.

  6. Click the Start radio button from the Server Operations field.

  7. Click Apply.

 

On Windows NT, an Oracle Names server may also be started through the Control Panel:

  1. Double-click the Services icon in the Control Panel window.

  2. Select the OracleHOME_NAMENamesonames_serverService service.

  3. Click Start to start the service.

  4. In the Services window, click Close.

Step 2: Start Oracle Names Client Cache

To avoid clients looking up address information in an Oracle Names server each time, create a client cache of the information. This information is stored in CKPCCH.ORA located in $ORACLE_HOME/network/names on UNIX and ORACLE_HOME\network\names on Windows platforms.

To create a client cache:

  1. Ensure discovery of Oracle Names servers has been performed, as described in "Step 4: Configure Clients and Database Servers To Use Oracle Names Servers". The information gathered during discovery is used for a client's cache.

  2. Create and start the client cache on the client:

    namesctl
    namesctl> start_client_cache
    
    

On Windows NT, the client cache may also be started through the Control Panel:

  1. Double-click the Services icon in the Control Panel window.

  2. Select the OracleHOME_NAMEClientCache service.

  3. Click Start to start the service.

  4. In the Services window, click Close.

Step 3: Start the Listeners

For Net8 to accept connections on the server, a listener must be started with the LSNRCTL control utility on the server:

  1. From the command line enter:

    lsnrctl
    lsnrctl> status [listener_name]
    
    

    where 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 STATUS command indicates the listener is running, go to Step 2. If the listener is not running, go to Step 3.

  2. Even if the listener is running, Oracle Corporation advises you to stop the listener, and start it again. To stop the listener, enter:

    lsnrctl> set password password
    lsnrctl> stop [listener_name]
    
    

    SET PASSWORD is only required if the password is set in the LISTENER.ORA file. The password defaults to ORACLE.

  3. Start the listener. Enter:

    lsnrctl> start [listener_name]
    
    

    LSNRCTL will display a status message indicating that the listener has started successfully. Check that all expected services for that listener are listed in the services summary in the status message.

  4. Exit from the LSNRCTL utility. Enter:

    lsnrctl> exit
    
    

On Windows NT, the listener may also be started through the Control Panel:

  1. Double-click the Services icon in the Control Panel window.

  2. Select the OracleHOME_NAMETNSListener service (the service name if you are using the default network listener name LISTENER) or OracleHOME_NAMETNSListenerlsnr (where lsnr is the non-default network listener name).

  3. Click Start to start the service.

  4. In the Services window, click Close.

Step 4: Start the Database

Use the tool of choice to start the database, such as SQL*Plus:

  1. Start SQL*Plus without connecting to the database by entering:

    sqlplus /nolog
    
    
  2. Connect to Oracle as SYSDBA:

    sql> connect username/password as sysdba
    
    
  3. When you enter a STARTUP command, specify the database name and full path of the parameter file:

    sql> startup database_name pfile=initsid.ora
    
    

    If you do not specify the PFILE option Oracle uses the standard parameter file location of $ORACLE_BASE/admin/db_name/pfile/sid on UNIX platforms and ORACLE_BASE\admin\db_name\pfile\sid on Windows NT; if you do not specify a database name Oracle uses the value for DB_NAME in the parameter file that starts the instance.

    
    

    For further information on starting the database, see Oracle8i Administrator's Guide.

Step 5: Start Oracle Connection Managers

If Oracle Connection Manager is installed and configured, start it with the CMCTL control utility:

  1. From the command line, enter:

    cmctl
    cmctl> start cman
         
    
    
    

    CMCTL displays a status message indicating that Oracle Connection Manager has started successfully.

  2. Exit from the CMCTL utility. Enter:

    cmctl> exit
    
    

On Windows NT, the listener may also be started through the Control Panel:

  1. Double-click the Services icon in the Control Panel window.

  2. If you are using Oracle Names, select the OracleHOME_NAMECMAdminService to acquire information about available Oracle Names Servers, then click Start. If you are not using Oracle Names, do not start this service.

    The service starts.

  3. Select the OracleHOME_NAMECManService to start the Oracle Connection Manager, and click Start.

    The service starts.

  4. In the Services window, click Close.

Entering a Connect String

After the network components are started, as described in "Connecting to a Database" you should be able to make a connection across the network. How you make a connection depends upon the naming method you configured in Chapter 6, "Configuring Naming Methods and the Listener" and the tool used for the connection. The basic connect strings to use are shown below:

For...   Enter...  

Host Naming method  

sql> CONNECT username/password@alias

The alias is typically set global database name in an IP address resolution mechanism. If the client and server are in the same domain, it is only necessary to enter the database name of the global database name.  

Local Naming method  

sql> CONNECT username/password@net_service_name
 

Oracle Names method  

sql> CONNECT username/password@net_service_name
 

Bequeath protocol  

sql> CONNECT username/password
 

There are a number of ways to initiate a connection to an Oracle server. Commonly used methods include:

The specifics of use are slightly different in each case. Each of the general methods listed is briefly covered here. To identify the method used in a specific tool, refer to the tool's user guide.

Connecting from the Operating System to Test a Client

The general form of connecting an application to a database server from the command line is:

tool username/password@net_service_name

sqlplus system/password@sales

To prevent the password from displaying during a logon, you can leave out the password parameter on the command line. For example:

sqlplus system@sales

You will be prompted to enter your password without it showing on screen.

Most Oracle tools can use the operating system command line to connect; some provide alternatives.

Connecting from the Tool Logon Screen to Test a Client

Some tools provide a logon screen as an alternative form of logon. A user can log on to a database server by identifying both the user name and net service name (username@net_service_name) in the user name field of the tool logon screen, and typing the password as usual in the password field.

Connecting from 3GL to Test a Client

In applications written using 3GL, the program must establish a connection to a server using the following syntax:

exec sql connect :username identified by :password 

In this connection request, the :username and :password are 3GL variables that can be set within the program either statically or by prompting the user. When connecting to a database server, the value of the :username variable is in the form:

username@net_service_name 

The :password variable contains the password for the database account being connected to.

Connecting Using Special Commands within Tools

Some Oracle tools have commands for database connection, once the tool has been started, to allow an alternative username to be specified without leaving the tool. SQL*Plus allow the CONNECT command using the following syntax:

sql> CONNECT username/password@net_service_name 

For example:

sql> CONNECT scott/tiger@serverx 

This is very similar to the operating system command line method, except that it is entered in response to the tool prompt instead of the operating system prompt.

Other Oracle tools use slightly different methods specific to their function or interface. For example, Oracle CDE tools use logon buttons and a pop-up window with the username, password, and remote database ID field. For more information on connecting to Oracle with a specific tool, refer to the tool's user guide.

Checklist for Troubleshooting Common Startup and Connection Problems

The following checklist is provided to help you troubleshoot common problems you may encounter when starting Net8 components or making a connection.

Problem   Work-Around  

Inactive Components  

  1. Verify that you have installed a transport layer protocol and a protocol.

  2. Verify that you have started a listener for any server you intend to contact.

  3. Start Oracle Connection Manager if you are routing sessions across protocols.

 

Syntax errors in your configuration files  

  1. Use the Net8 Assistant whenever possible to avoid syntax errors. If you have manually created or edited configuration files, check them carefully to ensure that all the appropriate parentheses are in place, that the lines are indented to show their logical structure, and that there are no typographical errors.

    Additional Information: See "Syntax Rules for Configuration Files" for details on the syntax of these files.

  2. Verify that all net service names are mapped to connect descriptors in any applicable local naming configuration file.

  3. Verify that an invalid listener name was not typed in the LSNRCTL START command.

  4. Check your typing. Verify that the listener name you are using matches the name specified in your listener configuration file (LISTENER.ORA).

 

Files are incorrectly placed.  

  1. The listener will indicate that it cannot start because configuration files could not be found. Normally, all configuration files are stored in $ORACLE_HOME/network/admin on UNIX and ORACLE_HOME/network/admin on Windows NT. However, the environment variable or registry value, TNS_ADMIN, can be set to point to a different location. If $TNS_ADMIN is set to a different directory, Net8 will expect your configuration files to exist in that directory. Secondly, Net8 looks in a ORACLE_HOME directory for configuration files. The ORACLE_HOME directory is different for each operating system. The best way to tell the location of the files is to look in your SQLNET.LOG file or in the header information in your trace file if you have asked for tracing to be turned on.

  2. If you are using Oracle Names servers, verify that they have been started. Also make sure SQLNET.ORA contains a preferred Oracle Names server parameter so that a Names List file exists.

  3. If using an external naming service such as NIS is in use, make sure that the appropriate external naming method has been installed on clients and servers, and that net service names have been properly loaded into it. Refer to your operating system-specific documentation for information.

 

The address is already in use.  

Another process may already be using the address listed in the listener configuration file (LISTENER.ORA). On some protocols such as TCP/IP, DECnet, and OSI, each network service on a node must use a unique port or socket. On other network protocols such as SPX or NetBIOS, each net service name must be unique for the entire network. Another network service may be using the same configuration. Contact your network administrator to evaluate whether the network address is available.  

When trying to connect to a database, you may get the message ORA-12203: "TNS:Unable to connect to destination".  

Use the Listener Control Utility (LSNRCTL) to start the listener.  

When trying to make a connection from a client, you may get the message ORA-12154:"TNS:Could not resolve service name".  

  • The net service name you requested is not defined in your Oracle Names server, external naming method, or the local naming file can not be found as expected.

  • If you are using Oracle Names, this problem may indicate an Oracle Names server definition problem. Verify the SQLNET.ORA contains a NAMES.DIRECTORY_PATH parameter for a list of naming methods.

  • Server is not running

  • A Oracle Names server List file does not exist. Issue a REORDER_NS command from NAMESCTL.

  • The NAMES.PREFERRED_SERVER parameter is not configured correctly in a SQLNET.ORA file. Verify that the parameter is configured correctly in the SQLNET.ORA.

 

When trying to connect to a database, you may get the message ORA-1034: "Oracle Not Available", or ORA-12505: "Listener could not resolve SID given in connect descriptor".  

The database is not running on the server machine. A listener alone does not provide a database connection; the database instance must also be started.  

A client returns the message "ORA-12541: No Listener".  

Connect requests that come in too quickly for a listener to handle, and which exceed the listener's backlog (determined by QUEUESIZE parameter in LISTENER.ORA), are returned with an "Connection Refused" error. A client encountering this error returns the message "ORA-12541: No Listener" and the client log or trace files will show the "Connection Refused" message.

To correct this problem, follow these steps:

  1. Stop the listener.

  2. Reconfigure QUEUESIZE in your listener (LISTENER.ORA) configuration file to be a larger value (based on anticipated simultaneous connect requests).

  3. Restart the listener.

  4. Try to connect again.

 

When attempting to stop the listener, you may get the message TNS-01169: "The listener has not recognized the password."  

Enter the SET PASSWORD command from within the Listener Control Utility (LSNRCTL), and then enter the STOP command to stop the listener.  

Testing the Network

The preferred sequence for testing the network is as follows:

  1. Start and test each Oracle Names server (if included in your network layout).

  2. Start and test each listener.

  3. Start and test each Oracle Connection Manager (if included in your network layout).

  4. Test the server with a loopback test.

  5. Test client with a connection.

This section cover the following topics:

Using Net8 Control Utilities

Net8 provides the following tools to help you start, test and control each network component.

For more information about Net8's component control utilities and their commands, refer to Appendix A, "Control Utilities for the Listener, Oracle Names Server, and Oracle Connection Manager".

Using the Oracle Names Control Utility (NAMESCTL)

The Oracle Names Control Utility, NAMESCTL, is a tool that you run from the operating system prompt to start and control the Oracle Names server.

The general form of the Oracle Names Control Utility is:

namesctl command 

You can also issue NAMESCTL commands at the program prompt. When you enter NAMESCTL on the command line, the program is opened. You can then enter the desired commands from the program prompt. For example, the following command starts the Oracle Names server.

namesctl> start 

Using the Listener Control Utility (LSNRCTL)

The Listener Control Utility, LSNRCTL, is a tool that you run from the operating system prompt to start and control the listener. The general form of the Listener Control Utility is:

lsnrctl command [listener_name] [args]

You can also issue Listener Control Utility commands at the program prompt. When you enter LSNRCTL on the command line, the program is opened. You can then enter the desired commands from the program prompt. For example, the following command determines the amount of time in seconds the listener will wait for a valid connection request after a connection has been started.

lsnrctl> set connect_timeout 20

Using the Connection Manager Control Utility (CMCTL)

The Connection Manager Control Utility, CMCTL, is a tool that you run from the operating system prompt to start and control Oracle Connection Manager. The general form of the Connection Manager Control Utility is:

cmctl command 

You can also issue CMCTL commands at the program prompt. When you enter CMCTL on the command line, the program is opened. You can then enter the desired commands from the program prompt. For example, the following command starts Oracle Connection Manager.

cmctl> start 

Testing an Oracle Names Server

To test an Oracle Names server, use the NAMESCTL PING command. Following are two ways to PING the Oracle Names server LABRADOR in the US.ACME domain.

From the NAMESCTL prompt, type:

namesctl> ping labrador.us.acme
     

You can test several Oracle Names servers with the same PING command. For example:

namesctl> ping huey.uk.acme duey.uk.acme louie.uk.acme

PING responds with the time it takes to contact the Oracle Names server and return an acknowledgment. If PING fails, make sure the Oracle Names server is started or double-check the configured address of the Oracle Names server.

Testing Network Objects Using NAMESCTL or the Net8 Assistant

The information stored in an Oracle Names server ("Configuring the Network with the Oracle Names Method") can be queried to verify registration with the QUERY command.

To use QUERY command, use either the Net8 Assistant or the NAMESCTL control utility:

Use the Net8 Assistant...   Use the control utility NAMESCTL...  
  1. Start the Net8 Assistant:

    -On UNIX, run netasst at $ORACLE_HOME/bin.

    -On Windows NT, choose Start > Programs > Oracle - HOME_NAME > Network Administration > Net8 Assistant.

  2. Double-click on the Oracle Names server folder.

  3. Select an Oracle Names server.

  4. Choose Manage Data from the drop-down list box.

  5. Click the Advanced tab.

  6. Select Query.

  7. Enter the name of the object to query in the Name field.

  8. Optionally, enter the type of the object in the Name field:

    -A.SMD: Network addresses, such a database network definitions for net service names.

    -CNAME.SMD: Alias name

    -DL.RDBMS.OMD: Global database link

    -DLCR.RDBMS.OMD: Link qualifier

    -NS.SMD: Oracle Names server address. System data used to communicate between Oracle Names servers

    -V1ADD.NPO.OMD: SQL*Net Version 1 connect string

  9. Select Execute.

  10. Select Save Network Configuration from the File menu.

  11. Select Exit from the File menu to exit the Net8 Assistant application.

 

For a Oracle Names server in the administrative region, create and register an alias with the Oracle Names server:

To display all data:

namesctl
namesctl> query name *

The type of information to retrieve may also be requested. Common object types include:

  • A.SMD: Network addresses, such a database network definitions for net service names.

  • CNAME.SMD: alias name

  • DL.RDBMS.OMD: global database link

  • DLCR.RDBMS.OMD: global link qualifier

  • NS.SMD: Oracle Names server address

  • V1ADD.NPO.OMD: SQL*Net Version 1 connect string

To display the database address for a net service name:

namesctl
namesctl> query name a.smd

The following example shows a query of the net service name SALES:

namesctl
namesctl> query sales a.smd
    

The QUERY command returns the amount of time the transaction took and information about the network object.
 

Testing a Listener

To test a listener, initiate a connection from a client to any active database controlled by that listener, as described in "Testing Configuration on the Server". If the only clients available to access the listener are on a different protocol, you must use an Oracle Connection Manager to access the listener.

Testing Oracle Connection Manager

To test Oracle Connection Manager, initiate a connection from a client to any active database for which a source route address has been created.

Testing Configuration on the Server

Once you have configured the network, test the configuration by performing a loopback test on the server.

A loopback test uses Net8 to go from the server back to itself, bypassing the Interprocess Communication (IPC). Performing a successful loopback verifies that Net8 is functioning on the server side.

To perform the loopback test, use the Net8 Assistant:

  1. Start the Net8 Assistant:

    • On UNIX, run netasst at $ORACLE_HOME/bin.

    • On Windows NT, choose Start > Programs > Oracle - HOME_NAME > Network Administration > Net8 Assistant.

  2. Click the Net Service Names folder in the directory tree.

  3. Select the net service name.

  4. Select Test Net Service Name from the Command menu.

    Testing assumes the database and listener are running. If they are not, see "Net8 Component Startup Overview" to start components.

    A successful test results in "The connect test was successful." message in the Connect Test dialog box:


    If the test was not successful:

    • Ensure the database and listener are running, then click Test.

    • Click Change Login to change the user name and password for the connection, then click Test.

  5. Click Close to dismiss the Connect Test dialog box.

Testing Network Connectivity from the Client

To test several different clients in your network, initiate a connection to a server from each them by following the instructions in "Entering a Connect String".

Net8 also provides the following tools to help you evaluate network connectivity:

TNSPING

TNSPING is a utility that determines whether or not a service (for example, an Oracle database, an Oracle Names server or any other Oracle service) on a Net8 network can be successfully reached.

If you can connect successfully from a client to a server (or a server to another server) using TNSPING, it displays an estimate of the round trip time (in milliseconds) it takes to reach the Net8 service.

If it fails, it displays a message describing the error that occurred. This allows you to see the network error that is occurring without the overhead of a database connection.

Using TNSPING

To invoke the TNSPING utility, enter the following:

tnsping net_service_name [count]


Note:

Different platforms may have different interfaces, but the program accepts the same arguments. Invoke TNSPING for the display of the proper interface requirements.  


If the net service name specified is a database name, TNSPING attempts to contact the corresponding listener. It does not actually determine whether or not the database itself is running. Use Server Manager to attempt a connection to the database.

Following are some examples of TNSPING.

Reaching a Database

To connect to a database using a net service name of SPOTDB, the following is entered:

tnsping spotdb

This produces the following message:

TNS Ping Utility for SunOS: 
Copyright (c) Oracle Corporation 1998.  All rights reserved.
Attempting to contact 
(ADDRESS=(PROTOCOL=TCP)(HOST=spot)(PORT=1521)) 
OK (50msec)

To determine whether the STPRD database can be connected to, and to specify that TNSPING try to connect 10 times and then give up, use the following command:

tnsping stprd 10

This command produces the following message:

TNS Ping Utility for SunOS: 
Copyright (c) Oracle Corporation 1998. All rights reserved. 
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=spot)(PORT=1521))
OK (290 msec)
OK (100 msec)
OK (70 msec)
OK (70 msec)
OK (60 msec)
OK (70 msec)
OK (70 msec)
OK (80 msec)
OK (180 msec
OK (340 msec)
Invalid Net Service Name

Below is an example of TNSPING attempting to connect to an invalid net service name:

tnsping bad_db

This attempt produces the following message:

TNS Ping Utility for SunOS:
Copyright (c) Oracle Corporation 1998.  All rights reserved.
TNS-03505: Failed to resolve name

Valid Net Service Name Without Listener

Following is an example of using TNSPING to connect to a name that is valid, but that resolves to an address where no listener is located (for example, the listener may not be started):

tnsping testing

The following message is returned:

TNS Ping Utility for SunOS:
Copyright (c) Oracle Corporation 1998.  All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=spot)(PORT=1521))
TNS-12541: TNS:no listener 
Reaching an Oracle Names Server

To check whether a Oracle Names server can be reached, use a command using the Net8 address as in the following:

tnsping (address=(protocol=tcp)(host=fido)(port=1575))

A message similar to the following will be returned to the user:

TNS Ping Utility for SunOS: 
Copyright (c) Oracle Corporation 1998. All rights reserved. 
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=fido)(PORT=1575))
OK (70 msec) 

TRCROUTE

The Trace Route Utility (TRCROUTE) enables administrators to discover what path or route a connection is taking from a client to a server. If TRCROUTE encounters a problem, it returns an error stack to the client instead of a single error. These additional error messages make troubleshooting easier.

TRCROUTE is different from TNSPING in that it travels as a special type of connect packet, and is routed as such. As it travels toward its destination, the TRCROUTE connect packet collects the TNS addresses of every node it travels through. If an error occurs, TRCROUTE collects error information that shows where the error occurred. The Trace Route Utility displays the information collected on the client screen. You can redirect the TRCROUTE output to a file, and print it if you wish.

Requirements

Trace Route works only over Net8 and SQL*Net version 2.3 and later. Every node along the route from client to server must use SQL*Net version 2.3 or later. If a pre-2.3 node is on the path, the following error is displayed:

TNS-03603:  Encountered a node with pre-2.3 version of SQL*Net

TRCROUTE shows what node along the path is responsible for any errors.

Effect on Performance

The Trace Route Utility uses minimal resources. It gathers information in the connect data of a special connect packet; standard connect packets are not affected.

The server is not affected by TRCROUTE. The listener receives and processes the TRCROUTE connect packet. It returns the information to the client by putting it into a refuse packet. The server does not need to start up any new processes or deal with dummy connections.

Using TCROUTE

To invoke TRCROUTE, type the following from the command line:

trcroute net_service_name

If you have configured your network to use listener load balancing, there may be more than one listener on different nodes for a database. If so, the Trace Route Utility might use any of the listeners, just as a regular connection request might. The output it returns shows you what listener node it used.

The following are two examples of trace route output:

Figure 8-1 Successful Trace Route

%trcroute tcp_direct
Trace Route Utility for Solaris:
Copyright (c) Oracle Corporation 1998.  All rights reserved.

Route of TRCROUTE:------------------
Node: Client            Time and address of entry into node:
-------------------------------------------------------------
01-DEC-96 13:26:36 ADDRESS= PROTOCOL=TCP  Host=shining-sun  Port=1581
Node: Server            Time and address of entry into node:
-------------------------------------------------------------
01-DEC-96 13:27:20 ADDRESS= PROTOCOL=TCP  Host=setting-sun  Port=1521

Figure 8-2 Trace Route with Error

% trcroute tcp_direct

Trace Route Utility for SVR4:
Copyright (c) Oracle Corporation 1996.  All rights reserved.

Route of TRCROUTE:------------------
Node: Client            Time and address of entry into node:
-------------------------------------------------------------
01-DEC-96 11:12:34 ADDRESS= PROTOCOL=TCP  Host=shining-sun  Port=1581
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-03601: Failed in route information collection

Net8 Assistant

To verify connectivity for a client machine, use the Net8 Assistant:

  1. Start the Net8 Assistant:

    • On UNIX, run netasst at $ORACLE_HOME/bin.

    • On Windows NT, choose Start > Programs > Oracle - HOME_NAME > Network Administration > Net8 Assistant.

  2. Click the Net Service Names folder in the directory tree.

  3. Select the net service name.

  4. Select Test Net Service Name from the Command menu.

    Testing assumes the database and listener are running. If they are not, see "Net8 Component Startup Overview" to start components.

    A successful test results in "The connect test was successful." message in the Connect Test dialog box:


    If the test was not successful:

    • Ensure the database and listener are running, then click Test.

    • Click Change Login to change the user name and password for the connection, then click Test.

  5. Click Close to dismiss the Connect Test dialog box.




Prev

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index