• 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 Sam E. · Jul 19, 2014 at 06:29 AM ·

TC Server failure using -agentpath:...

I've installed DynaTrace 5.5 on my physical server.  I go to the dashboard and see everything as advertised.  Now I want to associate the agent with my application running in a TC Server instance.  I added the -agentpath:<dthome>/agent/lib/libdtagent.so=name=AppMonitoring,server=<server_name>:<port> to catalina.sh per the instructions on page 203 of the provided documentation.  When I stop and restart the TC Server, TC Server fails to even start coming up.  No error messages, no logging, nothing.  Without the -agentpath option, my application runs fine.  Any suggestions?

Sam

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.

6 Replies

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

Answer by Sam E. · Jul 22, 2014 at 11:47 PM


Good News Chris,

I was referencing the 32 bit DynaTrace lib on a 64 bit server.  Change the path to lib64 and it works like a champ.  Thanks for your help.

Sam

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 Sam E. · Jul 22, 2014 at 07:25 AM

Chris,

Thanks for taking a look.  If I figure this puzzle out, I'll post the cause and the solution.

Sam

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 Chris S. · Jul 22, 2014 at 11:24 PM 0
Share

Sam if you need assistance in this matter any further I would look to support to help. You can submit a new ticket from here http://go.compuware.com/ Once you login on the left hand side under the Quick Links section click on "Create and View Support Cases" or something similar.

avatar image

Answer by Sam E. · Jul 19, 2014 at 07:09 AM

I use the full path to agent/lib/libdtagent.so without the dt_home env variable.  As to the server_name(tongue)ort, it refers to the dynaTrace collector.  Two other in house applications use the EXACT SAME -agentpath option.  Theirs works; therefore the path, server and port are all correct.  I've verified more than once.

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 Chris S. · Jul 19, 2014 at 07:04 AM

If you have changed the name of the agent from LinuxMonitoring to "AppMonitoring" then a new file will be created.

Do you have an environment variable for <dthome>? If you don't you can simply put the correct path here instead of the environment variable.

Also, the <server_name>:<port> is the dynaTrace collector you are attempting to connect to so that needs to be changed also.

This of course is all assuming that you didn't change the agentpath when submitting onto the forums for security reasons. Since, no new file was created than this agent path wasn't called or wasn't called correctly.

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 Sam E. · Jul 19, 2014 at 06:55 AM

Chris, Yes I checked the files in that directory, there are two.  They ls -l as:

-rw-r--r-- 1 dynsup01 dyntrace  894 Jul 11 14:53 dt_LinuxMonitoring_bootstrap_6297.log
-rw-r--r-- 1 dynsup01 dyntrace 2816 Jul 14 04:57 dt_LinuxMonitoring_6297.log

Neither file contains an error.  Notice the dates.  Monday, 7/14 was the first time we ran the agent for the server.  I've been trying to run all week.  The latest time was within the hour and I changed the name from LinuxMonitoring to SDSMonitoring.  I wanted to see if a new file was created here.  I didn't installed DynaTrace.  I assume the original installer named the server agent LinuxMonitoring.

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 Chris S. · Jul 19, 2014 at 06:42 AM

Can you check the agent log?

<dthome>/log/<agentname>.log

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

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