Skip site navigation (1) Skip section navigation (2)

Re: It's dead and won't get up!!

From: Francisco Reyes <lists(at)natserv(dot)com>
To: "KUCHARSKI, DAVID R(dot)" <dave(at)iemco(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Pgsql Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: It's dead and won't get up!!
Date: 2001-11-08 23:18:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On Thu, 8 Nov 2001, KUCHARSKI, DAVID R. wrote:

> when I try:
> #su postgres
> $ postmaster
> I get the following:
> /usr/bin/postmaster doesn't know where to find database system data.  You
> must specify the directory that contains the database system either by
> specifying the -D invocation option or by setting the PGDATA environment
> variable.

Try "su - postgres".
The error you are seeing is basically a lack of configuration.
I believe there is an OS variable "pgdata" which gets set when the
postgres user is started and this is how the database knows where the
database directory is.

In response to


pgsql-novice by date

Next:From: Francisco ReyesDate: 2001-11-08 23:24:57
Subject: Benchmarking
Previous:From: Josh BerkusDate: 2001-11-08 23:11:46
Subject: Re: It's dead and won't get up!!

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group