Archive

Posts Tagged ‘Listener Commands’

Listener Commands

March 1, 2011 Leave a comment
current_listener  
Syntax : set current_listener <listener_name>
LSNRCTL> set current_listener LISTENER
LSNRCTL> show current_listener
displaymode 
Syntax : set displaymode <RAW | COMPAT | NORMAL | VEBOSE>
LSNRCTL> show displaymode
Service display mode is NORMAL
LSNRCTL> set displaymode VERBOSE
inbound_connect_timeout 
Syntax : set inbound_connect_timeout <value>
LSNRCTL> set inound_connect_timeout 0
log_directory     
Syntax : set log_directory <directory_path>
LSNRCTL> set log_directory c:\listner_log
log_file    
Syntax : set log_file <file_name>
LSNRCTL> set log_file listner.log
log_status  
Syntax : set log_status < ON | OFF>
LSNRCTL> set log_status ON
password    
Syntax : set password
LSNRCTL> set password
Password:
rawmode     
Syntax : set rawmode <ON | OFF>
LSNRCTL> set rawmode OFF
save_config_on_stop     
Syntax : set save_config_on_stop <ON | OFF>
LSNRCTL> set save_config_on_stop ON
startup_waittime  
Syntax : set startup_waittime <value>
LSNRCTL> set startup_waittime 0
trc_directory     
Syntax : set trc_directory <directory path>
LSNRCTL> set trc_directory c:\listner_log
trc_file    
Syntax : set trc_level <file_name>
LSNRCTL> set trc_file listener.trc
trc_file    
Syntax : set trc_level <file_name>
LSNRCTL> set trc_file listener.trc
trc_level set trc_level <value>
Value

Description

0 – 1

off

2 – 3

err

4 – 5

user

6 – 14

admin

15

dev

16 – 99

support

LSNRCTL> set trc_level 0

Services view the current listener services

lsnrctl services
Start the listener  lsnrctl start
Stop the listener  lsnrctl stop
Show status lsnrctl status
Listener version lsnrctl version
Advertisements