Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 447
MarTinazzI Avatar asked Mar 02 '16 03:03

MarTinazzI


1 Answers

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
like image 192
Wladimir Gramacho Avatar answered Oct 18 '22 13:10

Wladimir Gramacho