We have a common Linux dynaTrace-5.5.0-5226 Client installation which has 774 permissions on the entire dynatrace directory. Hence all users have a rwx access to the installation. The very first time a user opened the client, new directories were created in dynatrace-5.5.0/client/ which only that user had write permissions on. Subsequently, every user that tried to open the client after that, needed write access to the same directories, which is a problem and hence the client process quits for all users except the user that first opened the client.
Here is a list of the directories that get created the first time:
Is there a way to configure (command line / config file preferred) the location of these directories, so that we can point them to the user home rather than the common location? Please note that in dtclient.ini.template file, the osgi.instance.area and osgi.configuration.area point to the user home by default. We haven't changed any other properties in the file (except the client heap size / perm size).
Answer by Roland M. ·
The problem seems to be an issue in the Java VM. With a combination of LDAP authentication and a 32-bit Java VM (used by the dynaTrace client) it can happen that the user home directory cannot be determined and gets the value "?" (this explains the "?" directory).
Please try to start the dynaTrace client by explicitly specifying the user.home VM argument:
... if this shouldn't help, please check the $HOME variable - e.g. using sudo may also lead to wrong / unset variables on some linux distros