-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Port in use' check not working in older versions of macOS #789
Comments
I've tried to reproduce this bug with Postgres.app 2.7.10 on macOS 10.15.7. It works fine for me. Could it be something related to your VM? Maybe there is a weird network configuration that makes it break. The check in Postgres.app is hard coded to try opening a port on "127.0.0.1". It seems that this check in the GUI succeeds, but then PostgreSQL fails to open a port. Maybe it has something to do with listen_address? Did you change the default config? |
I've spent some more investigation on this. Thank you for the hint on
this is not perfect, but does no harm. If you alternatively
we are in an error state that is not resolvable without manual intervention: The Obviously,
This my be the same root problem as in #798 |
In macOS 10.15, the check for the 'port in use' error before being able to press the 'Initialise' or 'Start' buttons seem not to work. Instead the operation is initiated and an "pg_ctl: could not start server" error is presented. This however does not seem to be a regressions of the latest refactoring regarding PID file deletion as I can reproduce the problem even with 2.7.2. The issue does not affect macOS 12. I have not tried to reproduce this on other older versions of macOS.
The text was updated successfully, but these errors were encountered: