pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian C. Doyle <bcdoyle@mindspring.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Alternate Database Locations
Date: Thu, 26 Oct 2000 06:08:39 -0400
Message-ID: <5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com> (raw)
In-Reply-To: <3971.972528180@sss.pgh.pa.us>
References: <5.0.0.25.2.20001025151441.088d35d0@pop.mindspring.com>
	<4.3.2.7.2.20001024190037.00e2fa80@pop.mindspring.com>
	<5.0.0.25.2.20001025151441.088d35d0@pop.mindspring.com>

Okay I am still doing something wrong here

I set PGDATA2=/home/user1/database
export PGDATA2

then I start postmaster
postmaster -d PGDATA2 -i -p  5431 &
and i get

Can't create pid file: /usr/local/pgsql/data/postmaster.pid
Is another postmaster (pid: 10686) running?

What am I missing... I know it must be simple!!!

Thanks for all of your help!


At 10:43 PM 10/25/00 -0400, Tom Lane wrote:
>"Brian C. Doyle" <bcdoyle@mindspring.com> writes:
> > I am still trying to find out how to get multiple postmasters running on
> > different ports at the same time.  Does anyone have any clue how to do 
> that?
>
>Uh, you just do it.  Start each postmaster in a different data directory
>and with a different port number (-D and -P switches) and you're set.
>
>Unless you run out of shared memory or some such, in which case some
>tweaking of kernel parameters is called for...
>
>                         regards, tom lane




view thread (12+ messages)  latest in thread

Message-ID: <5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com>
Permalink:  ../5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com/
Also on:    postgresql.org/message-id/5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bcdoyle@mindspring.com, tgl@sss.pgh.pa.us
  Subject: Re: Alternate Database Locations
  In-Reply-To: <5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox