Splunk AppDynamics

Error: Error relocating /usr/src/app/api/node_modules/appdynamics-protobuf/protobuf_for_node.node: _

CommunityUser
Splunk Employee
Splunk Employee

we are running controller 4.3.1

using Node js agent 4.2.1 (believe  lower version is ok) 

require('appdynamics').profile({
controllerHostName: '<my company>.saas.appdynamics.com',
controllerPort: 443,
controllerSslEnabled: true, // Set to true if controllerPort is SSL
accountName: '<account name>',
accountAccessKey: '<key...>',
applicationName: 'app name',
tierName: 'tier name',
nodeName: 'node name',
});

receiving below error after adding the 

module.js:598

   return process.dlopen(module, path._makeLong(filename));

                  ^

 

Error: Error relocating /usr/src/app/api/node_modules/appdynamics-protobuf/protobuf_for_node.node: _ZN2v89Exception5ErrorENS_6HandleINS_6StringEEE: symbol not found

     at Object.Module._extensions..node (module.js:598:18)

     at Module.load (module.js:488:32)

     at tryModuleLoad (module.js:447:12)

     at Function.Module._load (module.js:439:3)

     at Module.require (module.js:498:17)

     at require (internal/module.js:20:19)

     at requireProtobufBinding (/usr/src/app/api/node_modules/appdynamics-protobuf/index.js:29:11)

 

 

request help with this error

     at Object.<anonymous> (/usr/src/app/api/node_modules/appdynamics-protobuf/index.js:33:18)

     at Module._compile (module.js:571:32)

     at Object.Module._extensions..js (module.js:580:10)

Labels (1)
0 Karma
1 Solution

Piyush_Mundra
Communicator

Hi,

Could you please confirm if you have installed the AppDynamics package on the same server OR copied it from some other server? If copied, could you please remove the agent files and install it on the target server and try? We have some native dependency on the underlying OS and architecture which may cause the issue and hence we recommend to install the agent via npm on the server itself.

Best Regards,

Piyush

View solution in original post

0 Karma

Piyush_Mundra
Communicator

Hi,

Could you please confirm if you have installed the AppDynamics package on the same server OR copied it from some other server? If copied, could you please remove the agent files and install it on the target server and try? We have some native dependency on the underlying OS and architecture which may cause the issue and hence we recommend to install the agent via npm on the server itself.

Best Regards,

Piyush

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

i had used a differenet verion, your reply helped me to get to right version for Develpment Environment

0 Karma

Ayush_Ghosh
Path Finder

Hi Shiva,

Thanks for the update. Glad it worked.

Thanks

Ayush

0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

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 ...