Mongdb Start Error

Source: Internet
Author: User
Tags mongodb openssl openssl version

2018-08-19t12:25:31.707+0800 I CONTROL [main] automatically disabling TLS 1.0, to force-enable TLS 1.0 specify--SSLDISABL Edprotocols ' None '
About-to-fork child process, waiting until server was ready for connections.
Forked process:14732
Error:child process failed, exited with error number 100
To see additional information in this output, start without the "--fork" option.

I installed the MongoDB startup times on my centeros7 today.

View Log discovery as a configuration file issue

[email protected] log]# cat Mongod.log
2018-08-19t12:25:31.734+0800 I CONTROL [Initandlisten] MongoDB starting:pid=14732 port=27017dbpath=/usr/mongodb/bin/data/64-bit Host=localhost.localdomain
2018-08-19t12:25:31.735+0800 I CONTROL [initandlisten] DB version v4.0.1
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] git VERSION:54F1582FC6EB01DE4D4C42F26FC133E623F065FB
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] OpenSSL Version:openssl 1.0.1e-fips 2013
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] Allocator:tcmalloc
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] Modules:none
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] Build environment:
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] Distmod:rhel62
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] distarch:x86_64
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] target_arch:x86_64
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] options: {config: ". /conf/mongodb.conf ", net: {port:27017}, Processmanagement: {fork:true}, storage: {dbPath:" data/", Directoryperdb: True}, Systemlog: {destination: ' file ', path: '. /log/mongod.log "}}
2018-08-19t12:25:31.735+0800 I STORAGE [Initandlisten] exception in Initandlisten:nonexistentpath:Data Directory/usr/mongodb/bin/data/not found., terminating
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] now exiting
2018-08-19t12:25:31.735+0800 I CONTROL [Initandlisten] shutting down with code:100

Configuration file mongodb.conf

Port = 27017
DBPath = data/
LogPath =.. /log/mongod.log
Directoryperdb = True
Fork = True

DBPath corrected to : /data/

Startup success

[Email protected] bin]# mongod-f. /conf/mongodb.conf
2018-08-19t12:35:48.593+0800 I CONTROL [main] automatically disabling TLS 1.0, to force-enable TLS 1.0 specify--SSLDISABL Edprotocols ' None '
About-to-fork child process, waiting until server was ready for connections.
Forked process:14778
Child process started successfully, parent exiting

Mongdb Start Error

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.