Splunk AppDynamics

Trouble Updating Tier, Application, & Node Names for Node with App & Machine Agent

Jay_Smith1
New Member

Hello, I'm having trouble updating tier, application, and node names for multiple servers hosting app & machine agents.  After making the configuration changes and restarting all Java Agent instances/services, we receive the errors shown below in the logs.

Could anyone help interpret what the logs indicate?  Has anyone seen this issue or know what the problem is?  Please let me know if additional details would be helpful.

[AD Agent init] Sun Dec 11 01:26:17 EST 2022[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [unknown]

[AD Agent init] Sun Dec 11 01:26:17 EST 2022[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running

[AD Agent init] Sun Dec 11 01:26:17 EST 2022[INFO]: AgentInstallManager - Agent runtime directory set to [/opt/app/appdynamics/appagent/ver22.3.0.33637]

[AD Agent init] Sun Dec 11 01:26:17 EST 2022[INFO]: AgentInstallManager - Agent node directory set to [unknown]

2022-12-11 01:26:17,834 AD Agent init ERROR Cannot access RandomAccessFile java.io.IOException: Could not create directory /opt/app/appdynamics/appagent/ver22.3.0.33637/logs/unknown java.io.IOException: Could not create directory /opt/app/appdynamics/appagent/ver22.3.0.33637/logs/unknown

                at com.appdynamics.appagent/org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:120)

                at com.appdynamics.appagent/org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:137)

                at com.appdynamics.appagent/org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFile

Labels (1)
Tags (2)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Jay.Smith,

Since the logs kicked out a few errors, you can try searching for those errors across the community and look for posts with those same errors. When I searched the first error, I found quite a few, but they seemed to be focused on the Java agent and not the machine agent. 

0 Karma

Jay_Smith1
New Member

Thanks Ryan.  I'll try that.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...