Splunk AppDynamics

Appdynamics agent cannot be initialized due to Error:No such file or directory

chen_zengming
New Member

I'm building front end nodejs docker image, it need to install appd.

My nodejs version is: v22 linux/amd64

appd version is: 24.12.0

but after the image built, then i try to start the server, then got below error:
Appdynamics agent cannot be initialized due to Error: /appdynamics/node_modules/appdynamics-libagent-napi/appd_libagent.node: cannot open shared object file: No such file or directory
Error:/node_modules/appdynamics/node_modules/appdynamics-libagent-napi/appd_libagent.node: cannot open shared object file: No such file or directory
at Module._extensions..node (node:internal/modules/cjs/loader:1717:18)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at require (node:internal/modules/helpers:125:16)
at Module._compile (node:internal/modules/cjs/loader:1546:14)

I checked and confirm the appd_libagent.node already under 

Labels (1)
0 Karma

iamryan
Community Manager
Community Manager

Hi @chen.zengming,

Thanks for asking your question on the Community. I was digging around for some information on this topic but could not find much. 

I see you're also showing up as a self-service trial customer and not part of your main org. Did you create a trial for some specific testing?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...