pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kent Morrison <kmorrison@metrostudy.com>
To: Magnus Hagander <mha@sollentuna.net>
To: pgsql-ports@postgresql.org
Subject: Re: Problem Installing on Windows 2000 Server
Date: Wed, 21 Dec 2005 13:23:27 -0600
Message-ID: <JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.com> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE6C7DC4@algol.sollentuna.se>

Yes there is a c:\Program Files directory.

I tried to install to e:\PostgreSQL and still got the same error.

-----Original Message-----
From: pgsql-ports-owner@postgresql.org
[mailto:pgsql-ports-owner@postgresql.org]On Behalf Of Magnus Hagander
Sent: Wednesday, December 21, 2005 1:07 PM
To: Kent Morrison; pgsql-ports@postgresql.org
Subject: Re: [PORTS] Problem Installing on Windows 2000 Server


>
> With each version 8.0.4 and 8.1.1, I have tried at different times to
> install:
>
> * on a clean machine with no folders or users previously created.
> * on a machine with E:/Program Files/PostgreSQL created and
> the service user created with permissions set to full control
>
> I got the following message:
>
> Failed to run initdb: 1!
> Please see the logfile in "E:\Program
> Files\PostgreSQL\8.1\tmp\initdb.log
>
> The log file:
>
> creating directory E:/ProgramFiles/PostgreSQL/8.1/data/global
> ... initdb:
> could not create directory "E:/Program Files": File exists
> initdb: removing contents of data directory "E:/Program
> Files/PostgreSQL/8.1/data"
>
> The odd thing is that this log entry happens even when the
> PostgresSQL folder was not present before the install program
> ran. What would cause the install program to be able to
> create the PostgresSQL directory during one step and then not
> be able to create other directories later?

The first steps are run as your account, the step that fails runs as the
service user.


> Searching the archives, it appears that others have had this
> problem in the past and it was a permissions problem, but as
> I stated before, I tried creating the service account before
> the install and granting it full control of the install dir
> and it still did not work.
>
> Anyone have any ideas?

I've seen similar issues when there was a directory or file on the
system called C:\Program, causing windows to get confused abotu the
path. Any chance that's your case?

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005





view thread (5+ messages)  latest in thread

Message-ID: <JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.com>
Permalink:  ../JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.com/
Also on:    postgresql.org/message-id/JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.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-ports@postgresql.org
  Cc: kmorrison@metrostudy.com, mha@sollentuna.net
  Subject: Re: Problem Installing on Windows 2000 Server
  In-Reply-To: <JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.com>
  References: <6BCB9D8A16AC4241919521715F4D8BCE6C7DC4@algol.sollentuna.se> <JMEOICPKFKLLGODKMNGOMELICLAA.kmorrison@metrostudy.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