Re: Could not find your PostgreSQL installation in /var/lib/pgsql

Поиск
Список
Период
Сортировка
От iihero
Тема Re: Could not find your PostgreSQL installation in /var/lib/pgsql
Дата
Msg-id tencent_0A0EFEE9242B62C44D35EEC2@qq.com
обсуждение исходный текст
Ответ на Could not find your PostgreSQL installation in /var/lib/pgsql  (Terrance Chen <naturalchen@yahoo.com>)
Список pgsql-bugs
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 ------------------
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 }

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Terrance Chen
Дата:
Сообщение: Could not find your PostgreSQL installation in /var/lib/pgsql
Следующее
От: "iihero"
Дата:
Сообщение: Re: pg_ctl wrong status info on Windows