Splunk AppDynamics

Machine Agent Can't start "Invalid argument"

Junaid_Wahab
Engager

I am trying to enable machine agent in Solaris server. JAVA verison 11.0. Machine Agent version 20.9. 

I am getting following error. I checked JAVA path is correct. everything is according to the doc. But not able to start agent. any thoughts  

 
./machine-agent -d -p /opt/appdynamics/machineagent/pidfile
Using java executable at /opt/appdynamics/machineagent/jre/bin/java
#nohup: /opt/appdynamics/machineagent/jre/bin/java: Invalid argument
 
Labels (1)
Tags (1)
1 Solution

Junaid_Wahab
Engager

Thanks for your help. Problem has been solved. The problem with some AppDynamics agent folder permission issues that's why not all the files were loaded. Now I have another problem with App Agent. creating new discussion. Thanks

View solution in original post

Junaid_Wahab
Engager

Thanks for your help. Problem has been solved. The problem with some AppDynamics agent folder permission issues that's why not all the files were loaded. Now I have another problem with App Agent. creating new discussion. Thanks

Okik_Setianto
Engager

Hi Bro,

Have you defined the account-name, access-key, application-name, tier-name, and node-name in the controller_info.xml? If yes, can you attach the machine-agent.log?

Morelz
Builder

Hi there

Firstly did you use the correct Solaris machine Agent, X86 or SPARC?

Can you do the following

Run the following command and provide the output

java -version

Also try and start it manually the following way

navigate to the root <agent installation directory>

and run the following command

nohup java -jar ./machineagent.jar &

Check if the agent starts

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...