Parameter value changes remain in effect until the listener is shut down. Parameters are shown in the example output. When you enter SET without an argument, the Listener Control utility displays a list of all the parameters. To set the name of the listener that you want to administer. You do not have to continue to specify the name of the listener. Oracle recommends this mode. This argument should be used only if recommended by Oracle Support Services. To specify the time, in seconds, for the client to complete its connect request to the listener after establishing the network connection.
If the listener does not receive the client request in the time specified, then it terminates the connection. In addition, the listener logs the IP address of the client and an ORATNS: listener has not received client's request in time allowed error message to the listener. Oracle Database Net Services Administrator's Guide for additional information about specifying the time out for client connections. Default setting is 60 seconds.
To set destination directory where the listener log file is written. To set the name for the listener log file. By default, the log file name is listener. To specify whether changes made to the parameter values for the listener by the SET command are saved to the listener. When changes are saved, the Listener Control utility tries to preserve formatting, comments, and letter case.
Before the command modifies the listener. To set the destination directory where the listener trace files are written. To set the name of the listener trace file. By default, the trace file name is listener. The Listener Control utility command SPAWN starts a program stored on the computer on which the listener is running,and that is listed with an alias in the listener.
To start a program stored on the computer on which the listener is running, and that is listed with an alias in the listener. The nstest program, shown in the preceding section, can then be spawned off using the following command:. On Microsoft Windows, if the database was installed with the Oracle Home User, then the utility can prompt for a password.
The password is the operating system password for the Oracle Home User. The prompt is displayed only if the listener service does not exist, and it needs to be created as part of starting the listener. To start a listener configured in the listener. To display basic status information about a listener, including a summary of listener configuration settings, listening protocol addresses, and a summary of services registered with the listener.
You can also obtain the status of the listener through the Oracle Enterprise Manager Cloud Control console. Listener Control lsnrctl is an Oracle utility that allows you to start, stop, and check the status of a listener and to make changes to a running listener. Listener Control is a command-line utility, and you start it from the command prompt using the lsnrctl command as shown in the following example:.
On Windows NT systems running releases of Oracle prior to 8. If you omit the listener name as an argument, then Listener Control will start what is referred to as the current listener. The fact that those two names match is the reason you can often start a listener simply by using the START command, as shown in this next example:.
On Linux and Unix systems, the listener is implemented as a background process that you can see by issuing the ps command. For example:. On Windows NT systems, the listener process is implemented as an NT service, which you can see listed in the Services control panel. Also on Windows NT, when you start a listener for the first time, the Listener Control utility automatically creates a service for that listener.
Unfortunately, the service is created without first checking listener. After that service was created, the newly started listener read the listener. The bad part about all this is that the erroneous NT service still remains. To find out how to delete it, read Section 4. You may find it convenient to configure your server so that the Net8 listener starts automatically when the system boots.
On Windows NT systems, you use the Services control panel to configure a listener to start when the system boots. On Linux and Unix-based operating systems, you need to modify the system startup scripts.
To specify whether changes made to the parameter values for the listener by the SET commands are to be saved to the listener.
When changes are saved, the Listener Control utility tries to preserve formatting, comments, and letter case. To set the destination directory where the listener trace files are written. To set the name of the listener trace file. By default, the trace file name is listener. To start a program stored on the computer on which the listener is running, and which is listed with an alias in the listener. The nstest program, shown in the preceding section, can then be spawned off using the following command:.
To start a listener configured in the listener. To display basic status information about a listener, including a summary of listener configuration settings, listening protocol addresses, and a summary of services registered with the listener.
The output contains:. Distributed Operation s The Listener Control utility can perform operations on a local or a remote listener. When issuing commands, specify the listener name as an argument. Oracle Net Listener Security Local listener administration is secure through local operating system authentication, which restricts listener administration to the user who started the listener or to the super user.
Usage Notes This command enables you to save all runtime configuration changes to the listener. SERVICES Purpose To obtain detailed information about the database services, instances, and service handlers dispatchers and dedicated servers to which the listener forwards client connection requests. SET Purpose To alter the parameter values for the listener. See Also: Oracle Database Net Services Administrator's Guide for additional information about specifying the time out for client connections.
Service sales2. Use the SET command to alter the parameter values for the listener. Parameter values changes remain in effect until the listener is shut down. Parameters are shown in the example output. When you enter SET without an argument, the Listener Control utility displays a list of all the parameters.
You do not have to specify the name of the listener. Oracle Corporation recommends this mode. This output should be used only if recommended by Oracle Support Services. If the listener does not receive the client request in the time specified, then it terminates the connection.
In addition, the listener logs the IP address of the client and an ORATNS: listener has not received client's request in time allowed error message to the listener. Default setting is 60 seconds. By default, the log file name is listener. You can enter this command when you start up the Listener Control utility or at any time during the session as needed. When changes are saved, the Listener Control utility tries to preserve formatting, comments, and letter case.
By default, the trace file name is listener. Use the command SPAWN to start a program stored on the computer on which the listener is running, and which is listed with an alias in the listener.
0コメント