homebrew. Cant start service. get "Bootstrap failed: 5: Input/output error - Postgres - Mac
27
votes
8
answers
75628
views
I am trying to re-install Postgres via home-brew on Mac.
I uninstalled Postgres, updated home-brew and ran the install command for
install postgres
when I run services start postgresql
I get the below error message:
Bootstrap failed: 5: Input/output error
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/edac/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
exited with 5.
When I try to start a server through the Postgres app I receive this message:
Required PostgreSQL version not installed
The data directory was initialized with PostgreSQL 13.
This copy of Postgres.app includes the following PostgreSQL versions: 14.
Please try downloading a different release of Postgres.app.
originally when I installed Postgres all I did was run the home-brew cli and install the app and I was good to go. Not sure what's gone wrong.
Asked by edwrdcodeu
(391 rep)
Oct 17, 2021, 09:58 AM
Last activity: Mar 13, 2025, 03:18 PM
Last activity: Mar 13, 2025, 03:18 PM