macOS: Bootstrap failed: 5: Input/output error / launchctl load: Load failed: 5: Input/output error
launchd couldn't load a LaunchAgent/Daemon plist — it's invalid, already loaded, or has the wrong ownership/permissions.
Load failed: 5: Input/output errorBootstrap failed: 5: Input/output errorlaunchctl: Load failed: 5: Input/output errorCould not find specified service launchctlService is disabled launchctl Meaning
Validate with plutil -lint file.plist, check permissions (LaunchDaemons must be owned by root:wheel and not group-writable), and unload the old job first (launchctl bootout gui/$(id -u) path). Prefer bootstrap/bootout over deprecated load/unload. log show --predicate 'subsystem == "com.apple.xpc.launchd"' --last 5m reveals details.
Common causes
- Invalid plist syntax or missing keys
- Service already loaded
- Wrong owner/permissions on the plist
- Program path doesn't exist or isn't executable
- Loading a system daemon without sudo
⚡ Quick fix
plutil -lint ~/Library/LaunchAgents/x.plistlaunchctl bootout gui/$(id -u)/labelthenlaunchctl bootstrap gui/$(id -u) pathsudo chown root:wheel /Library/LaunchDaemons/x.plist && sudo chmod 644
Detailed fix by platform
macOS
launchctl print gui/$(id -u)/com.example.jobshows state and last exit status
How to diagnose
- Plist — Valid?
- State — Already loaded?
- Perms — root:wheel 644?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Docker Desktop requires privileged access (vmnetd) macOS: Docker Desktop needs privileged access / com.docker.vmnetd could not be started
- fork: Resource temporarily unavailable macOS: -bash: fork: Resource temporarily unavailable (process limit reached)
- Homebrew Cask: It seems there is already an App at Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'
Most viewed in macOS
- is damaged and can’t be opened macOS: “App” is damaged and can’t be opened. You should move it to the Trash.
- Operation not permitted (macOS privacy) macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)
- zsh: command not found: brew macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 5 Nov 2026