WINDOWS: Listener Hangs & Lsnrctl Commands Are Slow or Hang

(Doc ID 1319797.1)

Last updated on DECEMBER 04, 2017

Applies to:

Oracle Net Services - Version to [Release 11.1 to 12.2]
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
This issue is limited to the Windows OS.
***Checked for relevance on 17-JAN-2017***


Check this location: $ORACLE_BASE\diag\tnslsnr\<hostname>\listener\trace\

The listener.log might contain messages similar to the following DBGRL error being repeated throughout:

DBGRL Error: SLERC_OERC, 48180

Also, on Windows 32-bit, you may find the following errors reported when attempting to check services or connect through the listener:

TNS-12571: TNS:packet writer failure
  TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      32-bit Windows Error: 54: Unknown error

The lsnrctl utility might return the following error stack when checking the status of the listener:

LSNRCTL> status listener
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1521)))
  TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
      TNS-00517: Lost contact
        64-bit Windows Error: 54: Unknown error


Or the lsnrctl status command might hang altogether.  i.e. Returns no response.


No recent changes have taken place on this server.   It is likely that this installation has been in place for some time as the listener.log has grown to at or near 4G in size.  It is also likely that ADR diagnostic for the listener is enabled on this server.  i.e. No DIAG_ADR_<listener_name>=OFF in listener.ora.


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