Oracle Network Products Getting Started for Windows Platforms | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
Resolving Common Error Messages and Codes
The most common error messages are detailed below:
Action: After verifying that the database is turned on, check the following:
SQLPLUS SCOTT/TIGER@service_name
#NAME.DEFAULT_ZONE=domainIf you comment out this parameter, you must also comment out the NAMES.DEFAULT_DOMAIN parameter:
#NAMES.DEFAULT_DOMAIN=domain
Cause: An invalid TNS service name was supplied in the connect string.
Action: Verify that the TNS service name supplied in your connect string exists in your TNSNAMES.ORA file and the ADDRESS information for that TNS service name is valid:
Action: Verify that the remote system's SQL*Net listener is running. Enter:
LSNRCTL
LSNRCTL>STATUS [listener_name]where listener is the name of the listener defined in the server's LISTENER.ORA file. It is not necessary to identify the listener if you are using the default listener, named LISTENER.
If the output indicates the listener is not running, try starting it with the command:
LSNRCTL>START [listener_name]
Action: Verify with utilities supplied with the networking protocol being used that the protocol itself is functional. For example, with TCP/IP, try to PING the remote system.
Cause: TNSNAMES.ORA file is not located in the ORACLE_HOME\NETWORK\ADMIN directory.
Action: Make sure the Windows workstation has its TNSNAMES.ORA file located in ORACLE_HOME\NETWORK\ADMIN.
If your workstation's ORACLE.INI file has a parameter named TNS_ADMIN, ensure that it points to the directory in which the TNSNAMES.ORA file is located.
Action: Ensure the correct DLL is installed by viewing the RGS file in the ORACLE_HOME\ORAINST directory:
File | Operating System |
WINDOWS.RGS | Windows 3.1x |
WIN95.RGS | Windows 95 |
NT.RGS | Windows NT |
Cause: The (HOST=host_name) for TCP/IP and (SERVICE=tns_application) for SPX are not consistent on the clients and server workstations.
Action: Ensure the (HOST=host_name) for TCP/IP and (SERVICE=tns_application) for SPX are the same on the server and client workstations.
For SPX setups, the name must be the same on the server and client workstations.
os2=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=LU62)
(PLU_LA=os2)))results in this error.
os2=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=LU62)
(PLU_LA=OS2)))where os2 is defined as the SYMBOLIC DESTINATION NAME in the SIDEINFO.NSD file.
Action: After verifying that the database is running, check the following:
LSNRCTL
LSNRCTL>STATUS [listener_name]where listener 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 output indicates the listener is not running, try starting it with the command:
LSNRCTL>START [listener_name]
Action: Do not use the following prefixes in the connect string.
This section helps you determine which parts of SQL*Net do function properly rather than the parts that do not work. This section helps you determine if the problem is:
For more information on specific error messages or technical bulletins on errors received when performing these diagnostics test, please check the following resources available to you:
The architecture of TNS is comprised of two software components that need to be installed on both the server and all client machines:
|
Follow the instructions in "Verifying Oracle Network Products Setup".
|
Diagnosing SQL*Net on the server involves:
SQLPLUS SYSTEM/MANAGER
A Connected message appears.
If you receive the following errors, have your server administrator assist you:
If the loopback test passes, skip to Step 4.
|
If you have newer versions of the underlying network layer, then it might still work if the vendors' API has not changed.
Log files are by default located in ORACLE_HOME\NETWORK\ADMIN \LOG and trace files are by default located in ORACLE_HOME\NETWORK\ADMIN \TRACE.
|
To turn on tracing:
TRACE_LEVEL_CLIENT=16
TRACE_DIRECTORY_CLIENT= <Directory where trace is written>
LOG_DIRECTORY_CLIENT = <Directory where log file is written>
Oracle Trace is a general-purpose data collection product that has been introduced with the Oracle Enterprise Manager systems management product family. Oracle Trace allows Oracle products to collect data for a variety of uses, such as performance monitoring, diagnostics, and auditing. In addition to its use in SQL*Net release 2.3, Oracle Trace is also used to capture data for the Oracle Server release 7.3.
|
SQL*Net Troubleshooting Hints and Tips from the Field
Below are some SQL*Net tips you may find helpful when you are unable to diagnose a problem:
The client workstation issues a NetWare Core Protocol (NCP) lookup request to the server it is currently attached to with its primary connection. This does not require the workstation to be logged into that NetWare server as a registered NetWare user. It simply requires that a workstation NCP connection has been established with the server.
When SQL*Net SPX requests a connection with a remote Oracle SPX listener, the workstation provides the following items of information to the NetWare server when requesting this lookup:
| 259 DEC (0x103 hex) |
| Oracle SPX listener name |
| Network Address |
If this combination of information is not present in the Server Information Table, an error is sent back to the workstation.
For further information on how to contact Oracle Worldwide Customer Support please refer to the included Customer Support Information Booklet.
Before You Call for Assistance
If after reading this appendix, you still cannot resolve your problems, call Oracle Worldwide Customer Support to report the error. Please have the following information at hand:
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |