Postgres.app Could not start on port 5432

后端 未结 24 1132
暗喜
暗喜 2021-01-29 22:24

I\'m using http://postgresapp.com. In the menubar it gives the error \" Could not start on port 5432.\" Similarly if I try to start the server from the terminal, I get:

24条回答
  •  感情败类
    2021-01-29 23:05

    It can also happen that the PID is taken. This ocurred to me when the Computer suffered an unexpected reboot.

    If so, you must go to:

    ˜/Library/Application Support/Postgres/var-9.4
    

    You can check that path in Postgres.app Preferences dialog.

    And then, just remove the pid file

    sudo rm postmaster.pid
    

    And the server starts up right away.

提交回复
热议问题