我在postgresql網站上獲得了postgresql-8.4.9.tar.bz2軟件包,並按照文件INSTALL上的說明進行安裝。但是,當我們嘗試運行它,它不工作,並拋出這個錯誤:如何在有mysql的機器上安裝(並運行)postgresql?
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
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
我不知道,也許是因爲MySQL的一些衝突。有人知道發生了什麼事嗎?
在此先感謝!
MySQL和PostgreSQL可以運行在同一臺服務器上就好了一起。這聽起來像你已經有一個Postgres運行的實例。試試'ps ax | grep postmaster「或類似文件來確定服務器守護進程是否已經在運行。 – 2012-04-24 16:57:31
它確實在運行!殺死它幾乎解決了所有問題。謝謝! – 2012-04-24 17:38:02