我正在通過brew進行安裝。PostgreSQL無法創建任何TCP/IP套接字小牛隊
該錯誤消息(一個或多個):
當我打電話
postgres
我收到錯誤
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.
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 "localhost"
FATAL: could not create any TCP/IP sockets
運行
postgres -D /usr/local/var/postgres
創建相同的錯誤
createdb
提示我要我的密碼兩次,然後說,
createdb: could not connect to database template1: FATAL: password authentication failed for user "thomasmurphy"
我已經試過 *卸載和重新安裝PG寶石,卸載並重新安裝的Postgres *更新的命令行工具 *滿足釀酒醫生的所有需求 *編輯pg_hba.conf的權限 *編輯.bash_profile以確保它包含上述目錄
我的Postgres在我的工作電腦上運行得很完美,也是在小牛隊,所以這讓我覺得有點像邊緣情況。我可以嘗試解決這個問題還有哪些其他的方法?
'另一位郵差管理員已經在端口5432上運行了嗎?' - 是嗎? –
@RichardHouxton公平的問題。但是,不,5432上沒有連接。 –
您是如何檢查的? –