• 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 Connett, D. · Mar 06, 2013 at 08:20 PM ·

Server.config.xml is missing on fresh install

Hello!
I was wondering if the following situation is a bug, or just something I am doing wrong.

Regarding a Linux dynaTrace install: our client has a policy to mount the different subfolders of dynaTrace onto logical volumes.

e.g. /dev/mapper/vg_root-lv_opt_dynatrace5.0.0_server_temp is mounted on dynatrace-5.0.0/server/temp.

Unfortunately dynaTrace seems to try to delete the temp folder upon startup, and actually crashes because Linux does not allow for the deletion of mount points (you must first unmount the volume).

So I had an idea: use following command to modify the server.config.xml in order to configure dynaTrace to build a subdirectory "temp/temp" to make sure it doesn't try to delete the mount point.

I used:
sed -i 's/temp\ path=\"temp\"/temp\ path=\"temp/temp\"/g' server.config.xml

This works on our older dynaTrace servers, but on a fresh install the server.config.xml does not seem to exist.

Is this by design?

Thanks for your help!

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.

1 Reply

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

Answer by Dominik S. · Mar 07, 2013 at 07:15 AM

Hi,

yes, that is by design, the file is created during the first startup.

For cases where you need one, we have ways to create the file, see at the bottom at https://apmcommunity.compuware.com/community/display/DOCDT50/server.config.xml

Dominik

Comment

People who like this

0 Show 1 · 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 Connett, D. · Mar 07, 2013 at 05:58 PM 0
Share

Dominik,
Thank you so much, following your link I found the following line of code which was exactly what the doctor ordered:

./dtserver -Dcom.dynatrace.diagnostics.server.init_config_and_exit=true

It will start the dynaTrace server just long enough to generate a server.config.xml then shut it down.

-Dave

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

1 Person is following this question.

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