bash-4.4# mkdir -p var/mongodb/db
bash-4.4# mongod --config mongod.conf
2021-02-17T06:19:07.814+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ānoneā
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] MongoDB starting : pid=339 port=27000 dbpath=ā/var/mongodb/db/" 64-bit host=v147QNwYtB8ZeWXoJP
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] db version v4.0.5
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] git version: 3739429dd92b92d1b0ab120911a23d50bf03c412
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1g 21 Apr 2020
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] allocator: system
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] modules: none
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] build environment:
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] distarch: x86_64
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] target_arch: x86_64
2021-02-17T06:19:07.826+0000 I CONTROL [initandlisten] options: { config: āmongod.confā, net: { bindIp: ālocalhostā, port: 27000 }, security: { authorization: āenabledā }, storage: { dbPath: āā/var/mongodb/db/ā" } }
2021-02-17T06:19:07.874+0000 I STORAGE [initandlisten] exception in initAndListen: NonExistentPath: Data directory ā/var/mongodb/db/" not found., terminating
2021-02-17T06:19:07.874+0000 I NETWORK [initandlisten] shutdown: going to close listening socketsā¦
2021-02-17T06:19:07.874+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27000.sock
2021-02-17T06:19:07.874+0000 I CONTROL [initandlisten] now exiting
2021-02-17T06:19:07.874+0000 I CONTROL [initandlisten] shutting down with code:100
i am getting this error and my config file is this
storage:
dbPath: ā/var/mongodb/db/"
net:
bindIp : localhost
port : 27000
security:
authorization: enabled
whats the error pls tell