Sto installando tramite brew.PostgreSQL non è stato in grado di creare alcun socket TCP/IP 'Mavericks
Il messaggio di errore (s):
Quando chiamo
postgres
ricevo l'errore
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
Esecuzione
postgres -D /usr/local/var/postgres
Crea lo stesso errore
createdb
Mi chiede la password due volte, poi dice,
createdb: could not connect to database template1: FATAL: password authentication failed for user "thomasmurphy"
quello che ho provato * disinstallare e reinstallare la gemma pg, disinstallare e reinstallare postgres * Aggiornamento strumenti da riga di comando * satisying tutte le esigenze birra del medico * modifica i permessi di pg_hba.conf * modificando .bash_profile per essere sicuri che comprende le directory di cui sopra
Ho Postgres perfettamente funzionante sul mio computer di lavoro, anche su Mavericks, quindi questo mi sembra un caso marginale. Quali altri vettori posso colpire per cercare di risolvere questo?
'Un altro postmaster è già in esecuzione sulla porta 5432?' - beh, vero? –
@RichardHuxton Domanda giusta. Ma no, nessuna connessione è in esecuzione su 5432. –
come hai controllato? –