0
/data/db 파일을 만들었고이 파일을 사용하여 작동했는데 변경된 사항은 확실하지 않지만 새 스키마를 만들고 시도했을 때 mongod
내가 수동으로뿐만 아니라 /data/db/mongod.lock
파일을 생성해야합니까,/data/db 파일을 만들었음에도 불구하고 'mongod'가 실행되지 않음
2017-12-26T11:08:35.428-0500 I CONTROL [initandlisten] MongoDB starting : pid=41342 port=27017 dbpath=/data/db 64-bit host=Carloss-MBP.home
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] db version v3.4.10
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2m 2 Nov 2017
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] allocator: system
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] modules: none
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] build environment:
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] distarch: x86_64
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] target_arch: x86_64
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] options: {}
2017-12-26T11:08:35.429-0500 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: /data/db/mongod.lock Resource temporarily unavailable. Is a mongod instance already running?, terminating
2017-12-26T11:08:35.429-0500 I NETWORK [initandlisten] shutdown: going to close listening sockets...
2017-12-26T11:08:35.429-0500 I NETWORK [initandlisten] shutdown: going to flush diaglog...
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] now exiting
2017-12-26T11:08:35.429-0500 I CONTROL [initandlisten] shutting down with code:100
몽고 서버가 명령 mongo
와 잘 실행 : 나는 다음과 같은 오류가있어? 여기에 무슨 일이 일어나고 있는지 확실하지 않습니다 ....