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
Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...