Cannot Create a New Directory Server Instance if No WRITE Access to '/tmp' Directory (Doc ID 1392669.1)

Last updated on OCTOBER 23, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 6.0 to 11.1.1.5.0 [Release 6.0 to 11gR1]
Generic UNIX

Symptoms


On DSEE 6.x and later versions:

When attempting to create a new Directory Server instance with a user who has no WRITE access to the /tmp directory, the dsadm command fails without yielding any error message.
The exit code is different of zero.

$ ./dsadm create -h <HOST> -p 7389 -P 7636 /data/PTS/DS/DSEE_7.0/INSTANCES/DS_7
$ echo $?
11
$ ls -ld /data/PTS/DS/DSEE_7.0/INSTANCES/DS_7
/data/PTS/DS/DSEE_7.0/INSTANCES/DS_7: No such file or directory
$



WRITE access is denied for the user trying to create the Directory Server instance:

# ls -ld /tmp
drwxrwxr-xt 8 root sys 1036 Jan 9 22:37 /tmp
#



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Try to create a new Directory Server instance with dsadm while a WRITE access to /tmp is denied for the user
2. Try to list the contents of the expected Directory Server instance

Changes

This issue will happen if a WRITE access to /tmp is denied to the user trying to create a Directory Server instance. 

Cause

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