Обсуждение: could not bind IPv4 socket

Поиск
Список
Период
Сортировка

could not bind IPv4 socket

От
Ana Carolina Brito de Almeida
Дата:
Hi all,<br /><br />I installed postgresql 8.3.5 with these commands:<br />- ./configure --enable-thread-safety (I need
thisbecause of dbt2)<br />- make<br />- make install<br /><br />I executed initdb. It's ok. I changed "postgresql.conf"
file:listen_addresses = '*'.<br /> So, when I started postgresql, I receive these messages:<br /><br />$ pg_ctl
start<br/>server starting<br />$<b> LOG:  could not bind IPv4 socket: Address already in use<br />HINT:  Is another
postmasteralready running on port 5432? If not, wait a few seconds and retry.</b><br /> LOG:  database system was shut
downat 2009-03-18 11:32:55 BRT<br />LOG:  autovacuum launcher started<br />LOG:  database system is ready to accept
connections<br/><br />What's wrong? Why do I receive these messages (about IPv4 socket and HINT)? Can you help me?<br
/><br/>Thanks,<br />Ana Carolina<br /><br /><br /><br /><br /> 

Re: could not bind IPv4 socket

От
Ana Carolina Brito de Almeida
Дата:
Hi all,

I resolved this problem. I had another postgresql installed and it started automatically when I restarted my computer.

Thanks.

2009/3/18 Ana Carolina Brito de Almeida <anacrl@ig.com.br>
Hi all,

I installed postgresql 8.3.5 with these commands:
- ./configure --enable-thread-safety (I need this because of dbt2)
- make
- make install

I executed initdb. It's ok. I changed "postgresql.conf" file: listen_addresses = '*'.
So, when I started postgresql, I receive these messages:

$ pg_ctl start
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:  database system was shut down at 2009-03-18 11:32:55 BRT
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections

What's wrong? Why do I receive these messages (about IPv4 socket and HINT)? Can you help me?

Thanks,
Ana Carolina