cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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 

1 REPLY 1

Ryan.Paredez
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?


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors