My Oracle Support Banner

11g: TNS-01251 When Trying to Set Directory Using Lsnrctl (Doc ID 762787.1)

Last updated on MAY 08, 2017

Applies to:

Oracle Net Services - Version to [Release 11.1 to 12.1]
Information in this document applies to any platform.


Trying to change the log file using the Lsnrctl utility fails with:

TNS-01251: Cannot set trace/log directory under ADR.

LSRNCTL>set current_listener <listenername>  
LSNRCTL>set log_directory <new_location> fails: 

TNS-01251: Cannot set trace/log directory under ADR  

The same error will get thrown when trying to change the trc_directory:

LSRNCTL>set current_listener <listenername>  
LSNRCTL>set trc_directory <new_location> fails:  

TNS-01251: Cannot set trace/log directory under ADR  


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.