Thread: PostgreSQL .msi Installation Failure

PostgreSQL .msi Installation Failure

From
"Johnson Jesse"
Date:

I am trying to install postgreSQL v8.2.5 as a prerequisite for Firefox Bugzilla application on one of our network servers (Microsoft Server 2000).  It goes through the install and everything runs ok to a point where it is "Initializing Database Cluster (this may take a minute or two) and it pops up an error:

PostgreSQL 8.2
Failed to run initdb: 1!
Please see the logfile in 'C:\Program Files\PostgreSQL\8.2\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will automatically be removed.

The logfile reads:

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program Files/PostgreSQL/8.2/data ... ok
creating subdirectories ... initdb: could not create directory "C:/Program Files": File exists
initdb: removing contents of data directory "C:/Program Files/PostgreSQL/8.2/data"

ANY SUGGESTIONS??

Thanks!

Jesse Johnson
Picture (Metafile)
Asset Servicing - Information Technology
500 Grant St, Pittsburgh, PA 15258
412-236-6608
412-234-2019 (fax)
johnson.j2@mellon.com

The information and attachments contained in this communication should be treated as Confidential and/or Restricted.

 
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(16b)
 
Disclaimer Version MB.US.1
Attachment

Re: PostgreSQL .msi Installation Failure

From
Richard Huxton
Date:
Johnson Jesse wrote:
> I am trying to install postgreSQL v8.2.5 as a prerequisite for Firefox
> Bugzilla application on one of our network servers (Microsoft Server
> 2000).


> The logfile reads:

> fixing permissions on existing directory C:/Program
> Files/PostgreSQL/8.2/data ... ok
> creating subdirectories ... initdb: could not create directory
> "C:/Program Files": File exists
> initdb: removing contents of data directory "C:/Program
> Files/PostgreSQL/8.2/data"

I'm guessing the postgres user doesn't have permission to read C:/ so it
can't see "Program Files" and can't create it.

This message suggests the same (found by googling "postgresql install
could not create directory")

http://www.jitterbit.com/PhpBB/viewtopic.php?p=2534&sid=5c3300459a4495fc3e187d9554a35b50

--
   Richard Huxton
   Archonet Ltd