Cannot launch mongod

Last login: Sun Oct 20 04:36:21 2019 from
vagrant@m103:~$ mongod
2019-10-20T04:59:50.903+0000 I CONTROL [initandlisten] MongoDB starting : pid=7524 port=27017 dbpath=/data/db 64-bit host=m103
2019-10-20T04:59:50.904+0000 I CONTROL [initandlisten] db version v3.6.14
2019-10-20T04:59:50.904+0000 I CONTROL [initandlisten] git version: cbef87692475857c7ee6e764c8f5104b39c342a1
2019-10-20T04:59:50.905+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
2019-10-20T04:59:50.905+0000 I CONTROL [initandlisten] allocator: tcmalloc
2019-10-20T04:59:50.906+0000 I CONTROL [initandlisten] modules: enterprise
2019-10-20T04:59:50.906+0000 I CONTROL [initandlisten] build environment:
2019-10-20T04:59:50.907+0000 I CONTROL [initandlisten] distmod: ubuntu1404
2019-10-20T04:59:50.908+0000 I CONTROL [initandlisten] distarch: x86_64
2019-10-20T04:59:50.908+0000 I CONTROL [initandlisten] target_arch: x86_64
2019-10-20T04:59:50.908+0000 I CONTROL [initandlisten] options: {}
2019-10-20T04:59:50.909+0000 I - [initandlisten] Detected data files in /data/db created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.
2019-10-20T04:59:50.910+0000 I STORAGE [initandlisten]
2019-10-20T04:59:50.910+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-10-20T04:59:50.911+0000 I STORAGE [initandlisten] ** See
2019-10-20T04:59:50.911+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=488M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release=“3.0”,require_max=“3.0”),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2019-10-20T04:59:51.539+0000 I STORAGE [initandlisten] WiredTiger message [1571547591:539505][7524:0x7f186e5d9ac0], txn-recover: Main recovery loop: starting at 3/8576
2019-10-20T04:59:51.612+0000 I STORAGE [initandlisten] WiredTiger message [1571547591:612414][7524:0x7f186e5d9ac0], txn-recover: Recovering log 3 through 4
2019-10-20T04:59:51.657+0000 I STORAGE [initandlisten] WiredTiger message [1571547591:657424][7524:0x7f186e5d9ac0], txn-recover: Recovering log 4 through 4
2019-10-20T04:59:51.696+0000 I STORAGE [initandlisten] WiredTiger message [1571547591:696611][7524:0x7f186e5d9ac0], txn-recover: Set global recovery timestamp: 0
2019-10-20T04:59:51.712+0000 I CONTROL [initandlisten]
2019-10-20T04:59:51.713+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2019-10-20T04:59:51.713+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2019-10-20T04:59:51.714+0000 I CONTROL [initandlisten]
2019-10-20T04:59:51.714+0000 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
2019-10-20T04:59:51.714+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
2019-10-20T04:59:51.715+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip to specify which IP
2019-10-20T04:59:51.715+0000 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
2019-10-20T04:59:51.715+0000 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
2019-10-20T04:59:51.715+0000 I CONTROL [initandlisten] ** server with --bind_ip to disable this warning.
2019-10-20T04:59:51.715+0000 I CONTROL [initandlisten]
2019-10-20T04:59:51.719+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory ‘/data/db/’
2019-10-20T04:59:51.720+0000 I NETWORK [initandlisten] waiting for connections on port 27017

No problem here @Mireille_33672 . Remember what happens when you run mongod without specifying --fork? It was mentioned in the The Mongod lecture.

1 Like