10-MONGODB Boot Error

Source: Internet
Author: User
Tags mongodb mongodb server openssl openssl version file permissions

1. Error message
[Email protected]:~$ mongod2018- Geneva-22t17: Geneva:54.672+0800I CONTROL [Initandlisten] MongoDB starting:pid=8016port=27017dbpath=/data/db --bit host=Ubuntu2018- Geneva-22t17: Geneva:54.673+0800I CONTROL [Initandlisten] DB version v3.4.02018- Geneva-22t17: Geneva:54.673+0800I CONTROL [initandlisten] git version:f4240c60f005be757399042dc12f6addbc3170c12018- Geneva-22t17: Geneva:54.673+0800I CONTROL [Initandlisten] OpenSSL Version:openssl1.0.2g-fips1Mar .2018- Geneva-22t17: Geneva:54.674+0800I CONTROL [Initandlisten] Allocator:tcmalloc2018- Geneva-22t17: Geneva:54.674+0800I CONTROL [Initandlisten] Modules:none2018- Geneva-22t17: Geneva:54.674+0800I CONTROL [Initandlisten] Build environment:2018- Geneva-22t17: Geneva:54.675+0800I CONTROL [Initandlisten] distmod:ubuntu16042018- Geneva-22t17: Geneva:54.675+0800I CONTROL [Initandlisten] distarch:x86_642018- Geneva-22t17: Geneva:54.675+0800I CONTROL [Initandlisten] target_arch:x86_642018- Geneva-22t17: Geneva:54.675+0800I CONTROL [Initandlisten] options: {}2018- Geneva-22t17: Geneva:54.676+0800I STORAGE [Initandlisten] exceptioninchInitandlisten: -Attempted to create aLockFile on a read-only directory:/data/db, terminating2018- Geneva-22t17: Geneva:54.676+0800I NETWORK [Initandlisten] shutdown:going to close listening sockets ...2018- Geneva-22t17: Geneva:54.677+0800I NETWORK [Initandlisten] shutdown:going to flush diaglog ...2018- Geneva-22t17: Geneva:54.677+0800I CONTROL [Initandlisten] now exiting2018- Geneva-22t17: Geneva:54.677+0800I CONTROL [Initandlisten] shutting down with code: -

    • Administrator start
    • Reference Blog http://www.cnblogs.com/kekemm/p/6785616.html

  

2,/data/db Storage database file permissions are not correct, modify permissions

3. Delete files and create files with MongoDB users

4. Running MongoDB server in the background

10-MONGODB Boot Error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.