❯ brew services start yqrashawn/goku/goku
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/alexeykotomin/Library/LaunchAgents/homebrew.mxcl.goku.plist exited with 5.
Assistant
The error you're encountering:
code
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/alexeykotomin/Library/LaunchAgents/homebrew.mxcl.goku.plist` exited with 5.
indicates that launchctl failed to start the service, and the exit code 5 means an I/O error occurred during the bootstrap.
Here are several steps to troubleshoot and hopefully resolve this issue:
1. Check the plist file for errors
The .plist file (here /Users/alexeykotomin/Library/LaunchAgents/homebrew.mxcl.goku.plist) might be malformed or have incorrect paths.
Open the plist in an editor or use plutil to validate:
Make sure to replace 501 with your actual user ID (id -u).
If this provides more information, it can lead to resolution steps.
Summary
Most errors like this are caused by either a malformed or incompatible plist, permission issues, or corrupted service state. Removing the plist and service files and reinstalling usually helps.
If none of these work, please provide:
Output of plutil -lint /Users/alexeykotomin/Library/LaunchAgents/homebrew.mxcl.goku.plist