• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Gurpreet M. · Jul 10, 2014 at 12:59 PM ·

Common dir permission issues when subsequent users start a Client

Hello!

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:

  • org.eclipse.equinox.launcher
  • org.eclipse.core.runtime
  • org.eclipse.equinox.app
  • ?
  • org.eclipse.update

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).

Thanks!

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Roland M. · Jul 16, 2014 at 09:42 PM

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:
dtclient -Duser.home=$HOME

... 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

FYI .... http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6972329

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Gurpreet M. · Jul 30, 2014 at 10:43 AM

Thanks Roland! This works like a charm!

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A