How do I change port for the postmaster?

Поиск
Список
Период
Сортировка
От Robert Wagner
Тема How do I change port for the postmaster?
Дата
Msg-id 85256848.005E8A52.00@SIAC_NOTES_001.wisdom.siac.com
обсуждение исходный текст
Список pgsql-general
I'm attempting to run two different postmasters on two different HP-UX
servers, servicing two different apps.  The only commonality is that I'm on
one terminal.

The first starts up OK.  When I attempt to start the postmaster on the
other server, I get the error,

FATAL: StreamServerPort: bind() failed: errno=226  Is another postmaster
already running on that port? If not, remove socket node
(/tmp/.s.PGSQL.5432) and retry./usr/local/pgsql/bin/postmaster: cannot
create UNIX stream port

Tried deleting the file, /tmp/.s.PGSQL.5432 but this had no effect.

Do I need to use a different port number, to run postmaster on two
different servers?  If so, does anybody know how I can change the port
number?  Is there something else, that I'm doing wrong?

I'm looking through the docs but can't find anything.  I'd like to keep
postgres in the organization and avoid switching to (and learning) some big
commercial product like oracle!

Thanks!
Rob Wagner
Lowly Consultant,
SIAC



В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Hoffmann
Дата:
Сообщение: Re: [GENERAL] server hardware recommendations (the archives aredead)
Следующее
От: Dan Linderman
Дата:
Сообщение: "Delete" table