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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...