Mongodb unable to start exiting with status code 14


#1

Hi,

I have a problem where my mongodb is unable to start and is exiting with status code 14. After some googling it seems that this happens when a server is shutdown unexpectedly. I have tried restarting it sudo service snap.rocketchat-server.rocketchat-mongo start. However i am returned with the below error when running sudo service snap.rocketchat-server.rocketchat-mongo status.

snap.rocketchat-server.rocketchat-mongo.service - Service for snap application rocketchat-server.rocketchat-mongo
Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-mongo.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2018-11-26 18:03:19 CET; 1s ago
Process: 2706 ExecStart=/usr/bin/snap run rocketchat-server.rocketchat-mongo (code=exited, status=14)
Main PID: 2706 (code=exited, status=14)

Nov 26 18:03:19 sw-vm-ub-rocket rocketchat-server.rocketchat-mongo[2706]: 2018-11-26T18:03:19.066+0100 I - [initandlisten]
Nov 26 18:03:19 sw-vm-ub-rocket rocketchat-server.rocketchat-mongo[2706]: ***aborting after invariant() failure
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Main process exited, code=exited, status=14/n/a
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Unit entered failed state.
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Failed with result ‘exit-code’.
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Service hold-off time over, scheduling restart.
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-mongo.
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: snap.rocketchat-server.rocketchat-mongo.service: Start request repeated too quickly.
Nov 26 18:03:19 sw-vm-ub-rocket systemd[1]: Failed to start Service for snap application rocketchat-server.rocketchat-mongo.

Both rocketchat-caddy and rocketchat-server are running and active.

Does anyone have any idea what needs to be done ?

Thanks