pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: iihero <iihero@qq.com>
To: Terrance Chen <naturalchen@yahoo.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Could not find your PostgreSQL installation in /var/lib/pgsql
Date: Fri, 6 Apr 2012 07:19:34 +0800
Message-ID: <tencent_0A0EFEE9242B62C44D35EEC2@qq.com> (raw)

You've used : su - root
Before this, you possibly need populate some environment variables from your postgre user.


------------------
----------------------------------------------------------
iihero(Xiong He)  http://www.sql9.com
----------------------------------------------------------
 


------------------ Original ------------------
From:  "Terrance Chen"<naturalchen@yahoo.com>;
Date:  Thu, Apr 5, 2012 11:14 PM
To:  "pgsql-bugs@postgresql.org"<pgsql-bugs@postgresql.org>; 

Subject:  [BUGS] Could not find your PostgreSQL installation in /var/lib/pgsql

 
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

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

view thread (4+ messages)  latest in thread

Message-ID: <tencent_0A0EFEE9242B62C44D35EEC2@qq.com>
Permalink:  ../tencent_0A0EFEE9242B62C44D35EEC2@qq.com/
Also on:    postgresql.org/message-id/tencent_0A0EFEE9242B62C44D35EEC2@qq.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: iihero@qq.com, naturalchen@yahoo.com
  Subject: Re: Could not find your PostgreSQL installation in /var/lib/pgsql
  In-Reply-To: <tencent_0A0EFEE9242B62C44D35EEC2@qq.com>
  References: <tencent_0A0EFEE9242B62C44D35EEC2@qq.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