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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...