Splunk AppDynamics

Docker - machine agent issue

Harsh_Shinde
New Member

I cloned the image from https://github.com/Appdynamics/docker-machine-agent

and executed the docker-compose up command after the machine agent installation.

But im getting below error while starting the machine agent, can anyone help please??

"$ docker-compose up
Creating docker-machine-agent ... done
Attaching to docker-machine-agent
docker-machine-agent | /bin/sh: 1: /opt/appdynamics/machine-agent//start-appdynamics: not found
docker-machine-agent exited with code 127"

I dont know what is wrong with this

Labels (1)
Tags (2)
0 Karma

Hiroki_Ito
Contributor
Hello Harsh,

Thanks for posting to the AppDynamics Community.

I cloned the same image with the latest machine agent, v21.5.0, and machine agent could start successfully.

However, from the log, there is an unnecessary slash before "start-appdynamics", so could you remove the last slash from MACHINE_AGENT_HOME variable in Dockerfile and try to run again?
"/opt/appdynamics/machine-agent//start-appdynamics"
->slash after machine-agent is unnecessary

If modifying Dockerfile and using the latest machine agent doesn't work, could you please share whole docker log?

Best Regards,

Hiroki
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...