Discover Agent fails to run when ICMP discover set to yes and noexec set on /tmp
search cancel

Discover Agent fails to run when ICMP discover set to yes and noexec set on /tmp

book

Article ID: 16152

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Discover Agent running on Linux will fail when ICMP discover is set to yes and  /tmp is mounted as noexec. An error that you may see in the probe log:

[DiscoveryRun, discovery_agent] stderr: java.lang.UnsatisfiedLinkError: /tmp/com.nimsoft.lib/librocksaw-LINUX_23_64.so: /tmp/com.nimsoft.lib/librocksaw-LINUX_23_64.so: failed to map segment from shared object: Operation not permitted.

Environment

Release: Any
Component: robot, discovery_agent

Resolution

To get around the discovery_agent from using /tmp perform the following:

1. Raw configure the discovery_agent in IM

2. Add the following to end of the line of 'setup > startup > opt > java_opts' with a space preceding the hyphen 

 -Djava.io.tmpdir=/opt/nimsoft/tmp 

3. Apply > OK