5

Please help me with the solution as i am trying to install mongodb via brew on mac M1 air.

It is throwing me this error

Bootstrap failed: 5: Input/output error
Error: Failure while executing;
/bin/launchctl bootstrap gui/501 /Users/shrirajdesai/Library/LaunchAgents/[email protected]
exited with 5.
1
  • Check the logs (probably in /opt/homebrew/var/log/mongodb) what is the problem and add here some more information so we can try to help you. Commented Nov 12, 2021 at 10:38

1 Answer 1

1

I had a similar error when I tried to run brew services restart postgresql and I got this error:

 Bootstrap failed: 5: Input/output error
 Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/user/Library/LaunchAgents/homebrew.mxcl.postgresql.plist exited with 5.

This solution worked for me: brew services. Cant start service. get "Bootstrap failed: 5: Input/output error"

In my case I replaced the mongodb-community with postgresql. I am currently running macOS Big Sur version 11.6.2.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.