mongo DB 실행 오류 해결

louis220·2022년 6월 29일
0

갑자기 잘되던 VSCODE update를 진행 후(추측) mongo DB가 종료되어 재실행하려하니 오류가 났다.

해결하기 위해 진행했던 방법

  1. brew services list 로 현 상황을 확인했다

이번 경우에는 mongodb community error 513이 뜨며 실행이 안됐다.

  1. brew services restart mongodb-community
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/<myUserName>/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist` exited with 5.

에러가 나며 실행이 되지 않았다.

  1. brew services restart mongodb-community 시 재시작은 가능했지만 여전히 1. 과 같은 에러발생

  2. 정답은...정식문서에 있었다 해당 페이지에 접속해 정독후
    brew install mongodb-community@5.0
    을 실행 후 2.를 실행하자 정상적으로 실행되었다.

참고 : https://stackoverflow.com/questions/68975769/brew-services-cant-start-service-get-bootstrap-failed-5-input-output-error

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/

profile
기록을 하자

0개의 댓글