Listener Fails To Start With IPC Permission Errors (TNS-12546 TNS-12555 TNS-00516 TNS-00525)
(Doc ID 434062.1)
Last updated on DECEMBER 10, 2019
Applies to:
Oracle Net Services - Version 10.2.0.2 to 19.4.0.0.0 [Release 10.2 to 18.1]Information in this document applies to any platform.
Symptoms
Attempting to start a listener on Unix is failing with permission errors:
LSNRCTL> start Starting /app/oracle/product/102/bin/tnslsnr: please wait... TNSLSNR for Solaris: Version 12.2.0.3.0 - Production System parameter file is /app/oracle/product/122/network/admin/listener.ora Log messages written to /app/oracle/product/122/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=keyname))) Error listening on: (DESCRIPTION=(address=(protocol=ipc)(key=keyname))) TNS-12546: TNS:permission denied TNS-12560: TNS:protocol adapter error TNS-00516: Permission denied Solaris Error: 13: Permission denied
OR
$ lsnrctl start LISTENER LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 11-JUN-2017 11:05:52 Copyright (c) 1991, 2005, Oracle. All rights reserved. Starting /u01/app/oracle/product/12.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 12.2.0.1.0 - Production System parameter file is /u01/app/oracle/product/12.2.0/db_1/network/admin/listener.ora Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=keyname))) TNS-12555: TNS:permission denied TNS-12560: TNS:protocol adapter error TNS-00525: Insufficient privilege for operation Linux Error: 1: Operation not permitted Listener failed to start. See the error message(s) above...
OR
There are multiple Oracle installations on this server and with listeners running under different accounts OR we are/have been running the same listener under different OS user(s).
Changes
One or more of the following items:
- Some IPC keys have been reused from older listener(s)
- Same listener has previously been started under different OS users
- Listeners running under different OS users are using the same IPC keys
- Permissions in /var/tmp or /tmp have been changed recently.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |