pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cory Kempf <ckempf@enigami.com>
To: pgsql-hackers@postgresql.org.pgsql-admin
Subject: Re: postgresql installation
Date: Wed, 12 Jan 2000 16:23:35 GMT
Message-ID: <5faembw96k.fsf@singularity.enigami.com> (raw)
References: <387c40b0@feednews.internext.fr>

"Netra systems" <julien@netra-systems.com> writes:

> hello,
> i have pb with the postgre sql installation :
> i compile all .. ok
> but when i want to run postmaster or anything else it say : no db dir :
> data/../template1 ...
> i have no data dir in my postgre dinstalled dir ....
> how can i have this dir with all into ?

Have you run initdb?  My guess is no.

Also, when you run initdb, the data directory it uses (I use /var/lib/pgsql,
which I set up by having my .zshrc file export PGDATA=/var/lib/pgsql
for my postgres account) needs to be the same as that passed to postmaster
via the -D option.

Oh, initdb really should be run as the postgres user.  Definately not as
root!  Make sure your permissions are set up ahead of time!

+C



-- 
Have you signed up to be a bone marrow doner?  All it takes is a simple 
blood test, and it can save a life.  <http://www.marrow.org;

Cory Kempf           Macintosh / Unix Consulting & Software Development
ckempf@enigami.com   <http://www.enigami.com/~ckempf/;



view thread (14+ messages)  latest in thread

Message-ID: <5faembw96k.fsf@singularity.enigami.com>
Permalink:  ../5faembw96k.fsf@singularity.enigami.com/
Also on:    postgresql.org/message-id/5faembw96k.fsf@singularity.enigami.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-admin@postgresql.org
  Cc: ckempf@enigami.com, pgsql-hackers@postgresql.org.pgsql-admin
  Subject: Re: postgresql installation
  In-Reply-To: <5faembw96k.fsf@singularity.enigami.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