My Oracle Support Banner

UNIX: LSNRCTL Start Fails and Yields : TNS-01197 and TNS-12532 (Doc ID 1921961.1)

Last updated on MARCH 31, 2022

Applies to:

Oracle Net Services - Version and later
Information in this document applies to any platform.
This problem may be limited to the AIX platform. At the time of this writing, this issue has arisen only on AIX.
For a similar error on Windows, see:
Windows: LSNRCTL start fails and yields : TNS-01197: Message 1197 not found (Doc ID 2475127.1)


The LSNRCTL start command fails with the following error stack:

TNSLSNR for IBM/AIX RISC System/6000: Version - Production
System parameter file is /u05/app/product/11204/network/admin/listener.ora
Log messages written to /u05/app/product/11204/network/admin/oradiag/diag/clients/host_2640588079_80/alert/log.xml
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost)(PORT=1521)))
TNS-01197: Listener failed to create the end point
TNS-12532: TNS:invalid argument

Capture a truss of the failure to start using:

truss -o listener.trc -faed lsnrctl start <listener_name>


Check for LD_LIBRARY_PATH and LIBPATH settings in truss like:




 LIBPATH and/or LD_LIBRARY_PATH must have changed in user profile since the last restart of the listener.


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

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

In this Document

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