cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Why am I seeing the error "failed to map segment from shared object" during the Events Service startup?

Issue

This issue is happening when the host's /tmp directory is noexec and the Events Service is not starting, throwing the following error:

[2018-07-13T14:18:55,672+02:00]  [ERROR]  [main]  [c.a.common.framework.AbstractApp]  Severe error occurred while starting application [events-service-api-store]. Shutdown procedure will commence soonjava.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna1770418019150735408.tmp: /tmp/jna-3506402/jna1770418019150735408.tmp: failed to map segment from shared object: Operation not permitted

 

Solution

The solution is to add one of the options below to the events-service.vmoptions prior to initiating startup:

 

-Djna.tmpdir=/new/tmp/location

OR

-Djava.io.tmpdir=/new/tmp/location

 

Try running the Events Service manually after this change using the command line to resolve this issue:

<events-service-home>/bin>events-service.sh start -p <path_to_events-service-api-store.properties file>
Version history
Last update:
‎09-18-2018 04:08 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos