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!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...