My Oracle Support Banner

Starting the Listener or LSNRCTL Start Fails With: TNS-12557 or TNS-12555: TNS:Permission Denied (Doc ID 343253.1)

Last updated on FEBRUARY 15, 2019

Applies to:

Oracle Net Services - Version to [Release 10.2 to 12.2]
Oracle Database - Enterprise Edition - Version to [Release 11.2 to 12.2]
Information in this document applies to any platform.
This issue could present on any UNIX platform.


An attempt to start the Listener using lsnrctl start yields any of the error stacks below:

TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted

TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
HPUX Error: 20: Not a directory

TNS-12557: TNS: Protocol adapter not loadable
TNS-12560: TNS: Protocol adapter error
TNS-00527: Protocol Adapter not loadable

TNS-12555: TNS:permission denied
TNS-12560: TNS:proto adapter error
TNS-00525: Insufficient privilege for operation
IBM/AIX RISC System/6000 Error: 1: Not owner

Using only the IPC protocol in the listener.ora and a level 16 listener trace reveals the following:

[16-JUL-2008 09:16:55:995] nsc2addr: entry 
[16-JUL-2008 09:16:55:995] nsc2addr: (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCFSTST)) 
[16-JUL-2008 09:16:55:995] sntuscrt: entry 
[16-JUL-2008 09:16:55:995] sntuscrt: failed to change permissions of dir /tmp/.oracle 
[16-JUL-2008 09:16:55:995] sntuscrt: exit 
[16-JUL-2008 09:16:55:995] ntusb2adr: entry 
[16-JUL-2008 09:16:55:995] ntusb2adr: KEY = EXTPROCFSTST 
[16-JUL-2008 09:16:55:995] ntusb2adr: exit 
[16-JUL-2008 09:16:55:995] nsc2addr: normal exit  

Note the following error stack: 

[16-JUL-2008 09:16:55:996] nsopen: opening transport... 
[16-JUL-2008 09:16:55:996] ntusconn: entry 
[16-JUL-2008 09:16:55:996] ntusconn: connect: operation 2 
[16-JUL-2008 09:16:55:996] ntuscnp: entry 
[16-JUL-2008 09:16:55:996] sntusgph: entry 
[16-JUL-2008 09:16:55:996] sntusgph: fail to search /tmp/.oracle 
[16-JUL-2008 09:16:55:996] sntusgph: exit 
[16-JUL-2008 09:16:55:996] ntus2err: entry 
[16-JUL-2008 09:16:55:996] ntus2err: sd=10, op=1, resnt[0]=530, resnt[1]=20, resnt[2]=0 
[16-JUL-2008 09:16:55:996] ntus2err: exit 
[16-JUL-2008 09:16:55:996] ntuscnp: exit 
[16-JUL-2008 09:16:55:996] ntusconn: exit 
[16-JUL-2008 09:16:55:996] nserror: entry 
[16-JUL-2008 09:16:55:996] nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=20,nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0 
[16-JUL-2008 09:16:55:996] nsopen: unable to open transport 


This is either a new installation or some permissions changes have taken place on the /.../.oracle directory.


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.