Re: Could not find your PostgreSQL installation in /var/lib/pgsql - Mailing list pgsql-bugs

From Scott Mead
Subject Re: Could not find your PostgreSQL installation in /var/lib/pgsql
Date
Msg-id CAKq0gvLtB-1f0cpqsnijo4hzBm-4VUc-iW3-Q2TyuDne+OM0FQ@mail.gmail.com
Whole thread Raw
In response to Could not find your PostgreSQL installation in /var/lib/pgsql  (Terrance Chen <naturalchen@yahoo.com>)
List pgsql-bugs
On Thu, Apr 5, 2012 at 8:14 AM, Terrance Chen <naturalchen@yahoo.com> wrote:

> system=fedora15
> software env=all  software in DVD are completely installed(include pgsql
> psql) and some thing like pppoe
> postgresql are install with fedora by default option,
> /etc/passwd/:            postgres  PostgreSQL
> Server:/var/lib/pgsql:/bin/bash
>
> operations:
> su - postgres
> initdb  -D /var/lib/pgsql/data -E UTF-8
> pg_ctl -D /var/lib/pgsql/data -l logfile start
> pg_ctl status      {terminal  return       pg_ctl: (PID: 3052)/usr/bin/postgres
> "-D" "/var/lib/pgsql/data"}
> createdb DatabaseName
> psql DatabaseName
> su - root
> cd /home/download/pgadmin3-1.14.0
> ./configure --with-pgsql=/var/lib/pgsql
>

/var/lib/pgsql is your data directory.  --with-pgsql is looking for
binaries.

try ./configure --with-pgsql=/usr/
or
./configure --with-pgsql=/usr/bin/

--Scott



>
> { Could not find your PostgreSQL installation in /var/lib/pgsql }
>

pgsql-bugs by date:

Previous
From: "iihero"
Date:
Subject: Re: pg_ctl wrong status info on Windows
Next
From: Amit Kapila
Date:
Subject: Re: BUG #6522: PostgreSQL does not start