Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5CD632E0032 for ; Sun, 16 Dec 2007 15:45:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 05252-06 for ; Sun, 16 Dec 2007 15:45:35 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 676FB2E003E for ; Sun, 16 Dec 2007 15:45:34 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so973392nfh.23 for ; Sun, 16 Dec 2007 11:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=FNQG7cT+NS0EaRo2fyOiAiqvtbF2mJKcuTHJn/q6cs0=; b=ncZruISII0hT7B20op9QhVgZ0VxofHLgiJELoNpTa7Mj105GPxsWAJxtxWJ32Iq4tpAjOQ3R90ZyShQqBMFiOv7UPjgi1pEoBaKaLjLN+pcAlNN6ToDTnLRMc5avLGEgiSO2/WGpo91zPrUKA2CDHzo15DwQUEfpftBUhbnXeZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hLIxcBS33Vh5cnxWraJuYn55/1IOVgupcPwuaezG2zpJ0K0gZ7NFooMrQGw7NMZra4ZJ86l86hEY7yqQiK+qWIwfHRSGxeYHoNPElWxdx7XAhrBWpgp+mCQELm8LnYVIYYCd32MMG9ru9JXIzKENaYeTa4V59hZA+TpS1saQ3As= Received: by 10.78.171.20 with SMTP id t20mr7247051hue.41.1197834333133; Sun, 16 Dec 2007 11:45:33 -0800 (PST) Received: by 10.78.151.9 with HTTP; Sun, 16 Dec 2007 11:45:33 -0800 (PST) Message-ID: Date: Mon, 17 Dec 2007 00:45:33 +0500 From: "Usama Dar" To: "lattab kader" Subject: Re: Postgres installation problem Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5657_9534714.1197834333111" References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/128 X-Sequence-Number: 27645 ------=_Part_5657_9534714.1197834333111 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Dec 7, 2007 10:39 AM, lattab kader 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 ------=_Part_5657_9534714.1197834333111 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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
------=_Part_5657_9534714.1197834333111--