개발환경/Server
[ubuntu] mongodb를 실행할 때 등장하는 다양한 오류 해결
1. 첫번째 오류 "msg":"Failed to unlink socket file","attr":{"path":"/tmp/mongodb-27017.sock","error":"Operation not permitted"} mongod 명령어로 몽고DB를 실행했을 때, 오류가 위처럼 뜨면 mongodb-27017.sock 파일을 삭제해주면 됩니다. sudo rm -rf /tmp/mongodb-27017.sock 2. 두번째 오류 No TransportLayer configured during NetworkInterface startup... 또는 NonExistentPath: Data directory /data/db not found. Create the missing directory or specify..