guardicore / monkey

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

Can't run service due to waiting for MongoDB #3810

Open IronT3cH opened 8 months ago

IronT3cH commented 8 months ago

Hi,

I run infection monkey via AppImage in Ubuntu 22.04 LTS and Kali Linux, in environment Proxmox. It always get issue _wait_for_mongo_db_server() - Waiting for MongoDB server on mongodb://localhost:27017/monkey_island image

With the same version, it run smoothly in my WSL on my windows laptop. image

Any idea?

mssalvatore commented 8 months ago

Take a look at $HOME/.monkey_island/mongodb.log to see if it offers any clues.

IronT3cH commented 8 months ago

After reading many articles, I try using mongo v.4.2.0, and it runs smoothly now. I don't know how it affects with specific only version.

mssalvatore commented 8 months ago

Infection Monkey v2.3.0 has been tested against MongoDB 6.x. You may encounter strange bugs when using an untested MongoDB version. Could you take a look at $HOME/.monkey_island/mongodb.log to see if it offers any clues?