【发布时间】:2015-07-23 03:24:02
【问题描述】:
在整个崩溃过程中,我已经多次通过 brew 卸载并重新安装了 postgresql。
我正在尝试过渡到使用 postgresql.app... 但是每当我尝试启动程序时,我都会收到一条错误消息,并告诉我检查日志。
LOG: could not bind IPv6 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not bind IPv6 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not bind IPv6 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
此时我不知道该怎么办...我正在尝试删除与 postgresql 相似的任何内容。任何建议将不胜感激。
【问题讨论】:
-
这是一个linux盒子?尝试执行 ps -eaf | grep postgres 查看进程是否正在运行。也试试 ss -an | grep 5432 查看 5432 处运行的内容。
标签: postgresql homebrew