cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

 

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)

3 REPLIES 3

Piyush.Mundra
AppDynamics Team

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

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

Hi Shiva,

 

Thanks for the update. Glad it worked.

 

Thanks

Ayush