My Oracle Support Banner

Listener throws "Not a directory" OS error when starting (Doc ID 793564.1)

Last updated on MARCH 03, 2020

Applies to:

Oracle Net Services - Version 10.1.0.3.0 to 11.1.0.7 [Release 10.1 to 11.1]
Generic UNIX
Generic Linux
Generic UNIXGeneric Linux

Symptoms

When trying to start the Database listener, either using an installation tool or manually, an error stack similar to the following is thrown and recorded in the listener log: 

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


As confirmation of this issue, a SUPPORT level listener trace might show the following output:
...
[22-MAR-2009 11:14:35:607] sntuscrt: entry
[22-MAR-2009 11:14:35:607] sntuscrt: failed to change permissions of dir /var/tmp/.oracle
[22-MAR-2009 11:14:35:607] sntuscrt: exit
...
[22-MAR-2009 11:14:35:609] sntusgph: fail to search /var/tmp/.oracle
[22-MAR-2009 11:14:35:609] sntusgph: exit
[22-MAR-2009 11:14:35:609] ntus2err: entry
...

Changes

Possibly manual changes to the OS structure.

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


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