cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I restart the Events Service or Analytic Agent without deleting the PID file manually by the user?

Question

When restarting the Events Service or Analytic Agent, do I need to delete leftover process ID (PID) from the previous session, such as events-service-api-store.pid or analytics-agent.id, manually by the user?

Answer

In previous versions, users who needed to restart their Events Service or Analytic Agent were required to manually delete the ID for any stalled or leftover processes in case of abrupt/forced shutdown of the process.

 

Starting in version 4.3, when a PID does not get deleted due to a forced shutdown or restart, users will no longer have to manually delete it.

 

AppDynamics version 4.3 adds a -f flag to the start command which removes any leftover PID due to an abrupt or forced shutdown.

 

Linux example:

 

To start events-service using -f flag, use the below command

bin/events-service.sh start -f -p conf/events-service-api-store.properties

To start analytic-agent using -f flag, use the below command
./analytics-agent.sh start -f


 

For more commands, use the help information found in ./events-service.sh --help and ./analytics-agent.sh --help.

Version history
Last update:
‎09-07-2018 09:15 AM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.