2018-01-20T21:00:37.623+0100 I CONTROL [initandlisten] MongoDB starting : pid=342 port=27017 dbpath=/var/lib/mongodb 64-bit host=arinzalagrinza 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] db version v3.6.1 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] git version: 025d4f4fe61efd1fb6f0005be20cb45a004093d1 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.0g 2 Nov 2017 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] allocator: tcmalloc 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] modules: none 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] build environment: 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] distarch: x86_64 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] target_arch: x86_64 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] options: { storage: { dbPath: "/var/lib/mongodb" } } 2018-01-20T21:00:37.624+0100 I STORAGE [initandlisten] exception in initAndListen: IllegalOperation: Attempted to create a lock file on a read-only directory: /var/lib/mongodb, terminating 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] now exiting 2018-01-20T21:00:37.624+0100 I CONTROL [initandlisten] shutting down with code:100