gpt4 book ai didi

macos - 无法在 mac os x 上重启 postgres

转载 作者:行者123 更新时间:2023-11-29 11:23:39 27 4
gpt4 key购买 nike

<分区>

我无法在 Mac OS X 上重新启动 postgres 服务器。我该如何解决这个问题?

尝试了两种方式:

pg_ctl 重启返回:

pg_ctl: PID file "usr/local/var/postgres:/postmaster.pid" does not exist
Is server running?
starting server anyway
pg_ctl: could not read file "usr/local/var/postgres:/postmaster.opts"

服务器不重启

pg_ctl -D/usr/local/var/postgres restart 结果:

   pg_ctl: PID file "/usr/local/var/postgres/postmaster.pid" does not exist
Is server running?
starting server anyway
server starting
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.
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.
WARNING: could not create listen socket for "*"
FATAL: could not create any TCP/IP sockets

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com