<<Back to Oracle RAC Main Page
Finding the listeners log File
simplest way to find the log file for a listener (whether its scan listener , management listener or database listener) is to use show log_file command from lsnrctl interface as shown below$lsnrctl
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 29-AUG-2019 08:57:50
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> set current_listener LISTENER_SCAN1
Current Listener is LISTENER_SCAN1
LSNRCTL> show log_file
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
LISTENER_SCAN1 parameter "log_file" set to /log/diag/tnslsnr/node1/listener_scan1/alert/log.xml
The command completed successfully
LSNRCTL> set current_listener LISTENER
Current Listener is LISTENER
LSNRCTL> show log_file
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
LISTENER parameter "log_file" set to /log/diag/tnslsnr/node1/listener/alert/log.xml
The command completed successfully
Comments
Post a Comment