1024programmer Java Mongodb on LinuxMint I get error mongodb.service: Main process exited with code 62/n/a

Mongodb on LinuxMint I get error mongodb.service: Main process exited with code 62/n/a

I am running

DISTRIB_ID=LinuxMint
 DISTRIB_RELEASE=18.2
 DISTRIB_CODENAME=sonya
 DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya
 

I have installed mongodb

db version v3.6.1
 git version: 025d4f4fe61efd1fb6f0005be20cb45a004093d1
 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
 allocator: tcmalloc
 modules: none
 build environment:
     distmod: ubuntu1604
     distance: x86_64
     target_arch: x86_64
 

This error occurs when running mongod

Jan 10 09:34:35 kat35601-Precision-7510 systemd[1]: Started High-performance, schema-free document-oriented database.
 Jan 10 09:34:36 kat35601-Precision-7510 systemd[1]: mongodb.service: Main process exited, code=exited, status=62/n/a
 Jan 10 09:34:36 kat35601-Precision-7510 systemd[1]: mongodb.service: Unit entered failed state.
 Jan 10 09:34:36 kat35601-Precision-7510 systemd[1]: mongodb.service: Failed with result 'exit-code'.
 

What’s wrong? ? ? ?

1> Alex Blex..:


The exit status is logged at https://github.com/mongodb/mongo/blob/master/ src/mongo/util/exit_code.h

status=62 In particular:

EXIT_NEED_DOWNGRADE = 62, //The current binary version is not suitable for running on the existing data files.

This indicates that there are binary files in your data directory that are incompatible with the binary version and were created by a previous version of the database.

You can downgrade the database to a matching version, or you can downgrade the mongodump/mongorestore data to match the version of the database.

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/772393

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索