I don't know why this is happening.
I have installed mongodb but It is not starting. I have resinstall many times with not success: here is the error when I check mongo status:
● mongodb.service - An object/document-oriented database
Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-10-07 17:01:43 CEST; 5min ago
Docs: man:mongod(1)
Process: 18564 ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf (code=exited, status=62)
Main PID: 18564 (code=exited, status=62)
Okt 07 17:01:43 user systemd[1]: Started An object/document-oriented database.
Okt 07 17:01:43 user systemd[1]: mongodb.service: Main process exited, code=exited, status=62/n/a
Okt 07 17:01:43 user systemd[1]: mongodb.service: Failed with result 'exit-code'.
Can you help me to solve this ?
Status 62 means you have too new of Mongo installed for the DB files that are present on the host. You can downgrade Mongo and then upgrade back up in stages to keep the data, dump out the data and restore it, or delete it and start fresh.