Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

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
Revision #:
2 of 2
Last update:
‎09-18-2018 04:08 PM
Updated by:
 
Labels (1)
0 Kudos