Re: [GENERAL] Boneheaded Setup?

From: Simon Drabble <simon(at)eskimo(dot)com>
To: Shawn Pursley <shawn(dot)pursley(at)acorncomputers(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Boneheaded Setup?
Date: 1999-08-24 16:45:37
Message-ID: Pine.LNX.3.96.990824124143.17871A-100000@dragon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general pgsql-interfaces

On Tue, 24 Aug 1999, Shawn Pursley wrote:

> Simon, et al...
>
> >From the regress_log
>
> /usr/bin/postmaster does not find the database system. Expected to find it
> in \
> the PGDATA directory "/usr/local/pgsql/data", but unable to open file with
> path\
> name "/usr/local/pgsql/data/base/template1/pg_class".
>
> No data directory -- can't proceed.
>
>
> It appears that part of my problem is the fact that postgres is not the
> owner and therefore cannot read what's in the base/. What next?
>
> TIA,
> Shawn

As root, recursively chown the files in $PGDATA to postgres - this will allow
you to start the postmaster process. You will also need to (as postgres) run
createuser <powner> (if you haven't already) to allow powner to access the db
system.

# chown -r postgres /usr/local/pgsql/

$ su - postgres
$ createuser
Enter name of user to add --->

etc.

Simon.

--
"This message will expire soon. Please contact your vendor for an update."

Simon Drabble It's like karma for your brain.
simon(at)eskimo(dot)com

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Shawn Pursley 1999-08-24 17:14:54 Re: [GENERAL] Boneheaded Setup?
Previous Message Shawn Pursley 1999-08-24 16:38:14 Re: [GENERAL] PostgreSQL, Inc Site Redone ...

Browse pgsql-general by date

  From Date Subject
Next Message Rick Henry 1999-08-24 16:48:31 RE: [GENERAL] newbe question
Previous Message Shawn Pursley 1999-08-24 16:38:14 Re: [GENERAL] PostgreSQL, Inc Site Redone ...

Browse pgsql-interfaces by date

  From Date Subject
Next Message Rusty Brooks 1999-08-24 16:54:32 Re: [INTERFACES] pgaccess
Previous Message Shawn Pursley 1999-08-24 16:38:14 Re: [GENERAL] PostgreSQL, Inc Site Redone ...