Обсуждение: Postgres installation problem

Поиск
Список
Период
Сортировка

Postgres installation problem

От
lattab kader
Дата:
Hi all
I have installed the postgresq 8.0 as a program in C:\PostgreSQL\8.0. I have also set the ENV varibale PGDATA as "C:\PostgreSQL\8.0\share" for the postgre.conf file.
 when I try to start it from C:\PostgreSQL\8.0\bin\postgres.exe then I am getting the following error:


C:\PostgreSQL\8.0\bin>postgres.exe
FATAL:  "C:/PostgreSQL/8.0/share" is not a valid data directory
DETAIL:  File "C:/PostgreSQL/8.0/share/PG_VERSION" is missing.

Could you please give some guindance. I thank you in advance.
kader Lattab


Check our comprehensive Salary Centre Overpaid or Underpaid?

Re: Postgres installation problem

От
"Usama Dar"
Дата:


On Dec 7, 2007 10:39 AM, lattab kader <lattabk@hotmail.com> wrote:
Hi all
I have installed the postgresq 8.0 as a program in C:\PostgreSQL\8.0. I have also set the ENV varibale PGDATA as "C:\PostgreSQL\8.0\share" for the postgre.conf file.
 when I try to start it from C:\PostgreSQL\8.0\bin\postgres.exe then I am getting the following error:


C:\PostgreSQL\8.0\bin>postgres.exe
FATAL:  "C:/PostgreSQL/8.0/share" is not a valid data directory
DETAIL:  File "C:/PostgreSQL/8.0/share/PG_VERSION" is missing.

Is your c:/PostgreSQL/8.0/share directory empty? did you do initdb in this directory?

--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar