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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...