MarTinazzI
MarTinazzI

Reputation: 61

Mongodb stop working: Aborted (core dumped)

After restarting the server, MongoDB, stopped working.

When I start service mongod start and gives the default message: mongodb start/running, process 6986

But it so soon after, does not give error messages and even saved log.

And when I start which wants executable: mongo / mongod / mongorestore / etc ..

it gives the following message:

Attempt to add global initializer failed, status: DuplicateKey ForkServer
Aborted (core dumped)

I'm using MongoDB 3.2 on Ubuntu 14.04.2

I've reinstalled the MongoDB already made a downgrade and keep getting the same message.

Thanks in advance.

Upvotes: 6

Views: 14856

Answers (3)

Anton_Mniski
Anton_Mniski

Reputation: 11

I had this error on last version, that now is 5. I installed old 4.4 version, and all works perfect.

Upvotes: 1

Gajarajan K
Gajarajan K

Reputation: 497

To troubleshoot this problem you have to uninstall and completely remove all files related to MongoDB by using this link

and then run one by one

sudo apt update
sudo apt install mongodb
sudo systemctl status mongodb

That's it this steps are working for me

Upvotes: 0

Wladimir Gramacho
Wladimir Gramacho

Reputation: 647

I ended up having this same problem. I received the error message mongodb.service: Failed with result 'core-dump'. To fix it, you should run:

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

Upvotes: 7

Related Questions