pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: linehanp@tcd.ie
To: pgsql-bugs@postgresql.org
Subject: BUG #6488: Installation instructions slightly wrong.
Date: Sat, 25 Feb 2012 10:16:16 +0000
Message-ID: <E1S1Efo-000577-8u@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6488
Logged by:          Paul Linehan
Email address:      linehanp@tcd.ie
PostgreSQL version: 9.1.2
Operating system:   Linux (Ubuntu 10.04)
Description:        


The short version of the instructions say

========================
Short Version

./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
=================================

but, there should be an "exit" between
the lines
chown postgres /usr/local/pgsql/data
su - postgres
otherwise, the system gets confused with
file permissions for the data directory
and throws the error 
==========================
FATAL:  data directory "/usr/local/pgsql/data" has group or world access
==========================

Should you require any further 
information, please don't hesitate
to contact me.

Rgs,

Paul...






view thread (2+ messages)  latest in thread

Message-ID: <E1S1Efo-000577-8u@wrigleys.postgresql.org>
Permalink:  ../E1S1Efo-000577-8u@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1S1Efo-000577-8u@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: linehanp@tcd.ie
  Subject: Re: BUG #6488: Installation instructions slightly wrong.
  In-Reply-To: <E1S1Efo-000577-8u@wrigleys.postgresql.org>
  References: <E1S1Efo-000577-8u@wrigleys.postgresql.org>

* 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