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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...