guardicore / monkey

Infection Monkey - An open-source adversary emulation platform
https://www.guardicore.com/infectionmonkey/
GNU General Public License v3.0
6.62k stars 772 forks source link

MongoDB is not starting on CentOS 7 #1355

Closed ilija-lazoroski closed 3 years ago

ilija-lazoroski commented 3 years ago

Describe the bug

While running the AppImage on CentOS 7, the Island log showed that MongoDB has started successfully and then stuck on waitng for MongoDB server. The mongodb log shows that libcrypto.so.1.1 is missing.

To Reproduce

Steps to reproduce the behavior:

  1. Run AppImage
  2. Check the Island log
  3. See error in .monkey_island/mongodb.log

Expected behavior

The MongoDB should have started without errors.

Screenshots

image

image

Machine version (please complete the following information):

ilija-lazoroski commented 3 years ago

Missing: openssl11-libs installed with yum glibc-2.18 installed with

# yum install gcc
wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxf glibc-2.18.tar.gz 
cd glibc-2.18/
mkdir build
cd build/
../configure --prefix=/usr
make -j4
make install
mssalvatore commented 3 years ago

We should include the missing libraries in the AppImage so that the user does not have to take extra steps.