Re: Unhelpful initdb error message

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Thom Brown <thom(at)linux(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Unhelpful initdb error message
Date: 2012-03-06 17:45:38
Message-ID: 201203060945.39323.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday, March 06, 2012 9:25:17 am Thom Brown wrote:

>
> These are in my env output:
>
> PATH=/home/thom/Development/psql/bin/:/usr/lib/lightdm/lightdm:/usr/local/s
> bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> PGDATA=/home/thom/Development/data/
> PGPORT=5488
>
> This appears in my build script before configure:
>
> export PGDATA=$HOME/Development/data/
> export PATH=$HOME/Development/psql/bin/:$PATH
> export PGPORT=5488
>
> And those 3 lines also appear in my .bashrc file without any variation:
>
> export PGDATA=$HOME/Development/data/
> export PATH=$HOME/Development/psql/bin/:$PATH
> export PGPORT=5488

And you are sure there is no pg_ctl or initdb outside
/usr/lib/postgresql/9.1/bin or /home/thom/Development/psql/bin and in your PATH?

Just for grins what happens if you try an initdb using an explicit reference to
the binary /home/thom/Development/psql/bin/initdb and the -D
/home/thom/Development/data/ ?

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-03-06 17:46:31 Re: Unhelpful initdb error message
Previous Message Tom Lane 2012-03-06 17:43:00 Re: Unhelpful initdb error message