• 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 Steve K. · Apr 17, 2014 at 02:57 AM · appmon

How to stop AppMon server on Linux

How can I stop AppMon server on Linux so that the server stays stopped? I started the server by running <DT_HOME>/init.d/dynaTraceServer start. When I grep for dtserver there are two processes. One is <DT_HOME>/dtserver -bg and the second is the java process of dtserver. When running <DT_HOME>/init.d/dynaTraceServer stop, the first background process remains. The java process goes away but immediately a new process starts. I would like to stop the AppMon server to keep it down.

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.

4 Replies

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

Answer by Srikar M. · Apr 17, 2014 at 06:09 AM

Awesome, thanks for sharing the resolution details.

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 Steve K. · Apr 17, 2014 at 05:04 AM

I solved my issue.  I recently moved dynaTrace server from Windows to Linux bringing the entire configuration over.  There is an argument in the <dthome>/dtserver.ini file that is apparently required for Windows, but not for Linux.  I removed the -Xrs argument from the ini file and the stop command worked.  The function of -Xrs according to java -X is to reduce the use of OS signals by Java/VM.

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 Srikar M. · Apr 17, 2014 at 04:53 AM

Pardon me for asking this but you are running the ./dynaTraceServer stop command under <dthome>/init.d folder right?

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 Srikar M. · Apr 17, 2014 at 03:13 AM

Hi Steve,

Running ./dynaTraceServer stop should stop the dT server process. After you run the stop command switch to log/server directory and tail the Server.0.0.log, sometimes it takes couple of minutes to completely bring the server process down.

Alternately you can stop the server service from the dT client by right clicking on where it says "System Profile" and selecting Shutdown.

Hope this helps.

Srikar

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 Steve K. · Apr 17, 2014 at 03:25 AM 0
Share

Stopping the server service from the dT client by right clicking on System Profile and selecting Shutdown works.  However, running ./dynaTraceServer stop only restarts the dT server.  There is no indication in Server.0.0.log that a stop command was ever run.  Only the server restarting is eveident.  I need to find a command line way to stop dT server from the server.

last log message before stop comand: 2014-04-16 12:17:53 INFO [WatchDog] Connected successfully to native watchdog on localhost:50000

Below are the lines that immediately follow after stop is issued.  I've included the above line for reference.

2014-04-16 12:17:53 INFO [WatchDog] Connected successfully to native watchdog on localhost:50000
+-----------------------------------------------------------------------------
+ dynaTrace Server Copyright (C) 2004-2013 Compuware Corporation
+-----------------------------------------------------------------------------
+ Version 5.6.0.5713 built Fri Jan 03 03:14:31 EST 2014
+ Platform: Linux 2.6.32-431.5.1.el6.x86_64, amd64 64bit
+ vm: Java HotSpot(TM) 64-Bit Server VM 1.7.0_45, Oracle Corporation, mixed mode
2014-04-16 12:19:45 INFO [Server] Client SSL listen port: 2021
2014-04-16 12:19:45 INFO [Server] Collector listen port: 6698
2014-04-16 12:19:45 INFO [Server] Collector SSL listen port: 6699
2014-04-16 12:19:45 INFO [Server] Agent listen port: 9998

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

Related Questions

Wrong urls shown in the Incident mail

Web server agent getting disconnected during collector switching. And same is getting connected after restarting collector

what is method dashlet,webservice,web request,remoting

Where would one find a glossary of icons and their meanings

AppMon Questions

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