How to fix: mongod.service Failed with result core-dump / Mongodb stop working: Aborted (core dumped)

if you are Ubuntu 20.04.3 LTS (Focal Fossa) user then this issue is inevitable.

Reason: This is an issue that persisted on the version MongoDB version 5.0, So roll back to version 4.4.

Follow these steps to the smooth install of MongoDB

  1. Uninstall the previous current version on your pc by using these commands in the terminal.
sudo service mongod stop
sudo apt-get purge mongodb-org*
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongodb

2. Install version 4.4

Once you are done with the commands in the following article below

https://docs.mongodb.com/v4.4/tutorial/install-mongodb-on-ubuntu/

Your error will be resolved !!

So don't waste your time spending on this worthless error.

Other ways too existed

I can't guarantee your success, follow this article from stack overflow

sudo mongod --repair --dbpath /path/to/mongodb

--

--