Re: running two servers on one machine

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Eric Smith <eric_h_smith(at)mac(dot)com>
Subject: Re: running two servers on one machine
Date: 2009-03-28 22:37:18
Message-ID: 200903281537.19323.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday 28 March 2009 3:27:15 pm Eric Smith wrote:
> All,
>
> I'm trying to run two database clusters on a single machine, and am
> failing. I use initdb to create the two clusters... each has their
> own directory structure. I can start one server or the other with
> pg_ctl, but once the first starts, the second just hangs on "waiting
> for server to start...".

Are you pointing pg_ctl at the right DATA directory for each cluster using
the -D switch?

>
> The two servers are using different ports. I'm running v 8.3 on a
> Mac running 10.5.
>
> What's the secret step I'm missing here?
>
> Thanks,
> Eric

--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2009-03-28 22:51:35 Re: running two servers on one machine
Previous Message Eric Smith 2009-03-28 22:27:15 running two servers on one machine