SaltStack Config, raas installation fails with the error: libz.so.1: failed to map segment from shared object
book
Article ID: 322995
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
The purpose of this KB article is to provide fix the issue during the raas installation.
Symptoms: RAAS installation fails with the error: /var/lib/raas/unpack/_MEIG6PmNi/psutil/_psutil_linux.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/psutil/_psutil_posix.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/psycopg2/_psycopg.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/sqlalchemy/cprocessors.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/sqlalchemy/cresultproxy.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/sqlalchemy/cutils.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/tornado/speedups.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/wrapt/_wrappers.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/yaml/_yaml.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/_device.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/_poll.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/_proxy_steerable.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/_version.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/constants.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/context.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/error.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/message.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/socket.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/backend/cython/utils.cpython-39-x86_64-linux-gnu.so [43861] WARNING: file already exists but should not: /var/lib/raas/unpack/_MEIG6PmNi/zmq/devices/monitoredqueue.cpython-39-x86_64-linux-gnu.so /usr/bin/raas: error while loading shared libraries: libz.so.1: failed to map segment from shared object
Environment
VMware Aria Automation Config 8.12.x
Cause
The issue is seen on the linux system where noexec flag is set for /tmp mount. To resolve this problem you need to mount the /tmp with permission to execute during the raas installation.
Resolution
To resolve the problem, follow the steps below:
1. Display properties of the /tmp mount point, Login to the system as root via SSH or Console and run command:
mount example output: /tmp-file /tmp xfs loop,nosuid,noexec,nodev,rw 0 0
2. Remount the tmp with exec permission during raas installation