我在 Windows Server 2008 R2 上将 Postgresql 9.4 作为服务运行。它通常是一种魅力,但现在有一种情况,服务器显然正在运行(我可以连接到它,任务管理器显示正在运行的进程),但 Windows 服务似乎已停止。
我尝试使用 pg_ctl,但我得到:
$>pg_ctl restart -D c:\psqldata94
pg_ctl: old server process (PID: 1436) seems to be gone
starting server anyway
server starting
2016-02-23 09:59:00 CET LOG: could not bind IPv6 socket: No error
2016-02-23 09:59:00 CET HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2016-02-23 09:59:00 CET LOG: could not bind IPv4 socket: No error
2016-02-23 09:59:00 CET HINT: Is another …
Run Code Online (Sandbox Code Playgroud)