reassign 338085 postgresql-common
tag 338085 moreinfo unreproducible
thanks

Hi Andres!

Andres Junge [2005-11-10 22:01 -0300]:
> >>After a dual installation (psql-7.4 and 8.0 on the same machine) the
> >>postgresql-server 8.0 does not bind to default port 5433. It has to be
> >>changed in the postgresql.conf file, to use port 5432, and then it
> >>works.
> > 
> > 
> > Can you please clarify this a bit? If you installed 7.4 first, and 8.0
> > second, then the default 7.4 cluster will listen to 5432, and the
> > default 8.0 one to 5433. Port assignments starts at 5432.
> > 
> 
> Exactly. 7.4 first (in 5432) and 8.0 next (in 5433).

Ok, so everything seems to work as it should.

> The problem is that version 8.0 won't start. It start only if I
> change port from 5433 to 5432. Got it?

No, that cannot work. You cannot start two postmasters at the same
port.

> Version Cluster   Port Status Owner    Data directory                     Log 
> file
> 7.4     main      5432 down   postgres /var/lib/postgresql/7.4/main
> /var/log/postgresql/postgresql-7.4-main.log
> 8.0     main      5432 down   postgres /var/lib/postgresql/8.0/main
> /var/log/postgresql/postgresql-8.0-main.log

As I said, this can't work. Both clusters are down, so you cannot talk
to either of them.

If 8.0 does not start, the problem cannot be the 5433 port, the
problem is somewhere else.

Please change the 8.0 port back to 5433 and send me the output of the
following commands (as root):

 /etc/init.d/postgresql-7.4 start
 /etc/init.d/postgresql-8.0 start
 pg_lsclusters

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to