Re: running two servers on one machine - Mailing list pgsql-general

From Eric Smith
Subject Re: running two servers on one machine
Date
Msg-id B5830BE5-683E-45C9-B532-1EF11BCB772F@mac.com
Whole thread Raw
In response to Re: running two servers on one machine  (Adrian Klaver <aklaver@comcast.net>)
Responses Re: running two servers on one machine  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Yes, if I start one, but not the other, the process works just great.
It's only when trying to run both that I have a problem.

Thanks,
Eric

On Mar 28, 2009, at 3:37 PM, Adrian Klaver wrote:

> 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@comcast.net


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Where and What To Do for JDBC
Next
From: Tom Lane
Date:
Subject: Re: running two servers on one machine