I have fixed this issue myself, by deleting the mongodb-27017.sock
file . I ran the service after deleting this file, which worked fine. However, I am still not sure the root cause of the issue. The output of the command ls - lat /tmp/mongodb-27017.sock
is now
srwx------ 1 mongodb nogroup 0 Apr 23 06:24 /tmp/mongodb-27017.sock
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…