Lsnrctl Save_Config Causes Listener Crash and TNS-1153 (Doc ID 1103804.1)

Last updated on DECEMBER 31, 2012

Applies to:

Oracle Net Services - Version 10.2.0.1.0 to 10.2.0.4.0 [Release 10.2]
Information in this document applies to any platform.

Symptoms

The Lsnrctl utility is being used to dynamically set any listener parameter (e.g. log_status, log_file, etc) followed by a save_config.   This error is more likely to occur when administering multiple listeners and switching between them using "set current_listener".  However, this problem is also reproducible using a single listener configuration. 

After save_config is issued, the utility throws the following error and the listener crashes:  TNS-01153: Failed to process string


Example:

LSNRCTL>set current_listener Listener1
Current listener is Listener1
LSNRCTL>set password <return>
password:

LSNRCTL>set log_file newlog.log
LSNRCTL>save_config

Connecting to (DESCRIPTION=ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521)))

Error thrown here.

TNS-01153:  Failed to process string;
LSNRCTL>


Inspection of the listener.ora file reveals that it's been overwritten by a 0 byte file.

Changes

This problem is triggered when the Lsnrctl utility is used to change any listener parameter where save_config would be issued.  

Cause

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 hundreds of Community platforms