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!

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...