pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: simonrodan <simon.rodan@sjsu.edu>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6120: Problem running post-install step in Mac OS X Lion (GM)
Date: Wed, 3 Aug 2011 21:26:31 -0700 (PDT)
Message-ID: <1312431991679-4665117.post@n5.nabble.com> (raw)
In-Reply-To: <CA+OCxowtS2Sa+KL1KvmsL-WH+zix2zJSxVJzQ4=F3DSFre-T+g@mail.gmail.com>
References: <201107170101.p6H11AcP030256@wwwmaster.postgresql.org>
	<CA+OCxows6y7DDwNxrxC7CMrFOyw5ZPqGQNvR9r=zouVbELb=fQ@mail.gmail.com>
	<CA+OCxowtS2Sa+KL1KvmsL-WH+zix2zJSxVJzQ4=F3DSFre-T+g@mail.gmail.com>

I have worked around this by adding the postgres user by hand:

sudo dscl . -create /users/postgres
sudo mkdir -p /usr/local/pgsql/data
sudo chown postgres /usr/local/pgsql/data
sudo dscl . -passwd /users/postgres <pw>
su postgres chmod 755 /Library/PostgreSQL/9.0/bin/initdb
su postgres /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/pgsql/data

(There is a predefined user in OS X Lion: "_postgres" but that's not the one
the installer is expecting... ) 


--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (6+ messages)  latest in thread

Message-ID: <1312431991679-4665117.post@n5.nabble.com>
Permalink:  ../1312431991679-4665117.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1312431991679-4665117.post@n5.nabble.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 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: simon.rodan@sjsu.edu
  Subject: Re: BUG #6120: Problem running post-install step in Mac OS X Lion (GM)
  In-Reply-To: <1312431991679-4665117.post@n5.nabble.com>
  References: <201107170101.p6H11AcP030256@wwwmaster.postgresql.org> <CA+OCxows6y7DDwNxrxC7CMrFOyw5ZPqGQNvR9r=zouVbELb=fQ@mail.gmail.com> <CA+OCxowtS2Sa+KL1KvmsL-WH+zix2zJSxVJzQ4=F3DSFre-T+g@mail.gmail.com> <1312431991679-4665117.post@n5.nabble.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