mongod output:
vagrant@m103:~$ mongod --config /shared/config/config.conf
2020-03-11T12:14:55.635+0000 I CONTROL [initandlisten] MongoDB starting : pid=7962 port=27000 dbpath=/var/mongodb/db 64-bit host=m103
2020-03-11T12:14:55.636+0000 I CONTROL [initandlisten] db version v3.6.17
2020-03-11T12:14:55.637+0000 I CONTROL [initandlisten] git version: 3d6953c361213c5bfab23e51ab274ce592edafe6
2020-03-11T12:14:55.638+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
2020-03-11T12:14:55.639+0000 I CONTROL [initandlisten] allocator: tcmalloc
2020-03-11T12:14:55.640+0000 I CONTROL [initandlisten] modules: enterprise
2020-03-11T12:14:55.641+0000 I CONTROL [initandlisten] build environment:
2020-03-11T12:14:55.642+0000 I CONTROL [initandlisten] distmod: ubuntu1404
2020-03-11T12:14:55.642+0000 I CONTROL [initandlisten] distarch: x86_64
2020-03-11T12:14:55.643+0000 I CONTROL [initandlisten] target_arch: x86_64
2020-03-11T12:14:55.643+0000 I CONTROL [initandlisten] options: { config: “/shared/config/config.conf”, net: { bindIp: “127.0.0.1,192.168.103.100”, port: 27000 }, security: { authorization: “enabled” }, storage: { dbPath: “/var/mongodb/db” } }
2020-03-11T12:14:55.644+0000 I - [initandlisten] Detected data files in /var/mongodb/db created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.
2020-03-11T12:14:55.644+0000 I STORAGE [initandlisten]
2020-03-11T12:14:55.644+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2020-03-11T12:14:55.644+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2020-03-11T12:14:55.644+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=488M,cache_overflow=(file_max=0M),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),
2020-03-11T12:14:56.271+0000 I STORAGE [initandlisten] WiredTiger message [1583928896:271249][7962:0x7fae67658ac0], txn-recover: Main recovery loop: starting at 5/6144
2020-03-11T12:14:56.367+0000 I STORAGE [initandlisten] WiredTiger message [1583928896:367414][7962:0x7fae67658ac0], txn-recover: Recovering log 5 through 6
2020-03-11T12:14:56.424+0000 I STORAGE [initandlisten] WiredTiger message [1583928896:424816][7962:0x7fae67658ac0], txn-recover: Recovering log 6 through 6
2020-03-11T12:14:56.473+0000 I STORAGE [initandlisten] WiredTiger message [1583928896:473694][7962:0x7fae67658ac0], txn-recover: Set global recovery timestamp: 0
2020-03-11T12:14:56.503+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory ‘/var/mongodb/db/diagnostic.data’
2020-03-11T12:14:56.504+0000 I NETWORK [initandlisten] listening via socket bound to 127.0.0.1
2020-03-11T12:14:56.504+0000 I NETWORK [initandlisten] listening via socket bound to 192.168.103.100
2020-03-11T12:14:56.504+0000 I NETWORK [initandlisten] listening via socket bound to /tmp/mongodb-27000.sock
2020-03-11T12:14:56.504+0000 I NETWORK [initandlisten] waiting for connections on port 27000
2020-03-11T12:16:09.630+0000 I NETWORK [listener] connection accepted from 192.168.103.100:50715 #1 (1 connection now open)
2020-03-11T12:16:09.631+0000 I NETWORK [conn1] received client metadata from 192.168.103.100:50715 conn1: { application: { name: “MongoDB Shell” }, driver: { name: “MongoDB Internal Client”, version: “3.6.17” }, os: { type: “Linux”, name: “Ubuntu”, architecture: “x86_64”, version: “14.04” } }
mongo output:
vagrant@m103:~$ mongo --host 192.168.103.100:27000
MongoDB shell version v3.6.17
connecting to: mongodb://192.168.103.100:27000/?gssapiServiceName=mongodb
Implicit session: session { “id” : UUID(“384ca6aa-d2c5-4193-a41e-9b40dfb8ae8a”) }
MongoDB server version: 3.6.17
MongoDB Enterprise >