-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 4.2.8
-
Component/s: None
-
None
-
Server Triage
-
ALL
Whenever I run the command mongod, this output is showing.
2020-06-22T09:51:19.613+0530 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2020-06-22T09:51:19.678+0530 W ASIO [main] No TransportLayer configured during NetworkInterface startup
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] MongoDB starting : pid=11097 port=27017 dbpath=/data/db 64-bit host=mikhil-HP-Laptop-15-bs0xx
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] db version v4.2.8
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] git version: 43d25964249164d76d5e04dd6cf38f6111e21f5f
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] allocator: tcmalloc
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] modules: none
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] build environment:
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] distmod: ubuntu1804
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] distarch: x86_64
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] target_arch: x86_64
2020-06-22T09:51:19.679+0530 I CONTROL [initandlisten] options: {}
2020-06-22T09:51:19.679+0530 E NETWORK [initandlisten] Failed to unlink socket file /tmp/mongodb-27017.sock Operation not permitted
2020-06-22T09:51:19.679+0530 F - [initandlisten] Fatal Assertion 40486 at src/mongo/transport/transport_layer_asio.cpp 684
2020-06-22T09:51:19.680+0530 F - [initandlisten]
***aborting after fassert() failure
I tried deleting the file /tmp/mongodb-27017.sock. But whenever I starts the mongod using sudo systemctl start mongod, that file is creating again and again. What should I do now?