Error : libmanagement.so failed to map segment from shared object: Operation not permitted
search cancel

Error : libmanagement.so failed to map segment from shared object: Operation not permitted

book

Article ID: 225208

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

 

When running the installer for the CA Access Gateway (SPS), the
installer exit unexpectedly reporting the error :

    sh ca-proxy-12.8-sp04-linux-x86-64.bin

    Invocation of this Java Application has caused an
    InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:

    java.lang.UnsatisfiedLinkError:
    /tmp/install.dir.1910933/Linux/resource/jre/lib/amd64/libmanagement.so:
    /tmp/install.dir.1910933/Linux/resource/jre/lib/amd64/libmanagement.so:
    failed to map segment from shared object: Operation not permitted

            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
            at java.lang.Runtime.loadLibrary0(Runtime.java:870)
            at java.lang.System.loadLibrary(System.java:1122)
            at sun.management.ManagementFactoryHelper$4.run(ManagementFactoryHelper.java:451)
            at sun.management.ManagementFactoryHelper$4.run(ManagementFactoryHelper.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:448)
            at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:350)
            at com.zerog.ia.installer.actions.InstallUninstaller.cr(Unknown Source)
            at com.zerog.ia.installer.actions.InstallUninstaller.bv(Unknown Source)
            at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
            at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)

 

Environment

 

CA Access Gateway (SPS) 12.8SP4 on RedHat 7

 

Cause

 

At first glance, this issue might be caused by the fact that the
system is protected with SELinux as per this article on the internet
(1).

 

Resolution

 

- Configure the system to disable the SELinux the time of the
  upgrade :

  As root, edit the file :

  /etc/selinux/config

  and set 

  SELINUX=disabled

- Reboot the machine;

- On the system, insure that the getenforce command reports :

  Disabled

 

Additional Information

(1)

    failed to map segment from shared object error on start #1339

      Workaround given by @dnephin worked for me on CentOs 7 with SELinux
      being disabled.

    https://github.com/docker/compose/issues/1339