15.1 Testing the Network
This is the recommended sequence for testing the network.
-
Start and test each listener. To start the listener, use the procedure described in Starting Oracle Net Listener and the Oracle Database Server.
To test a listener, initiate a connection from a client to any active database controlled by that listener.
-
Start and test each Oracle Connection Manager, if included in your network. To start Oracle Connection Manager, use the procedure described in Starting Oracle Connection Manager.
To test Oracle Connection Manager, initiate a connection from a client to any active database that has been registered with Oracle Connection Manager.
-
Test the server with a loopback test or Oracle Net Manager.
A loopback test uses Oracle Net to go from the database server back to itself, bypassing the Interprocess Communication (IPC). Performing a successful loopback verifies that Oracle Net is functioning on the database server. The following procedure describes how to perform a loopback test using Oracle Net Manager:
-
Start Oracle Net Manager.
-
In the navigator, expand Directory or Local, and then select Service Naming.
-
Select the network service name or database service.
-
Choose Command, and then select Test Net Service.
Testing assumes the listener and database are running. If they are not, then see Starting Oracle Net Listener and the Oracle Database Server to start components.
During testing, a Connection Test dialog box appears, providing status and test results. A successful test results in the following message:
The connection test was successful.
If the test was successful, then proceed to step 3.e.
If the test was not successful, then use the error message to determine further action. For example, if the error message is the following:
Attempting to connect using userid: scott The test did not succeed. ORA-28000: the account is locked There may be an error in the fields entered, or the server may not be ready for a connection.
Change the user name to an account known to be unlocked. To change the user name, click Change Login. You are prompted for the password.
-
Click Close to close the Connect Test dialog box.
-
-
Test client with a connection.
To test several different clients in your network, initiate a connection to a database server from each of them using the following command:
CONNECT
username@connect_identifier
Parent topic: Testing Connections