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