To upgrade the Apache Agent, back up the current agent install directory elsewhere. Then download and install the new agent into the same directory as the old one was.

Then follow these steps to upgrade the agent:

  1. Kill the proxy process.
    If you do not know the PID of the proxy process you can get it by running this command:

    ps -aux | grep "proxy"

    Then kill the process as follows:

    kill <PID>
  2. Shut down the web server.
  3. Move/rename the agent install directory, /opt/appdynamics-sdk-native to make a backup.
  4. Download the new version of the agent and extract it into /opt/appdynamics-sdk-native.
  5. Change directory to the agent install directory:

    cd <agent_install_directory>
  6. Run the installer:


    It is not necessary to change the configuration when you use the same directory location as the old agent installation.

  7. Restart the web server.