initdb "file not found" - Mailing list pgsql-novice

From Warren Massengill
Subject initdb "file not found"
Date
Msg-id F89nccYTjr8cU6xfPTe0002459a@hotmail.com
Whole thread Raw
List pgsql-novice
Trying to install a beta native Win port of Pg on
Win XP home edition

Made it through steps 1 & 2 below but initdb produced a "file not found"
error.

It appears to run if I enter a literal path. C:\pgsql\bin\initdb, initdb
does run and creates the data directory�K

But pg is not running on reboot �K and will not start�K

Any suggestions?

Warren
------------------------------------------------------
Excerpts from the PeerDirect instructions:

PeerDirect PostgreSQL

If, however, you prefer a more widely tested Windows release then the beta
version of the PeerDirect native Windows port of PostgreSQL 7.2.1, called
UltraSQL would be better.
Following are step by step instructions for setting it up. These steps were
successful on Windows 2000 but may also work on other versions of Windows.
ftp://209.61.187.152/postgres/postgres_beta4.zip
Installing Create a directory to install to, eg C:\pgsql.
1. Extract all files to this new directory.

2. Move the files from the subdirectory postgres_beta4 that has been
created, directly into the pgsql directory.
�h Now set the required environment variables.
�h The first variable name to create is PGHOME, and it points to C:\pgsql

�h Now repeat this process for the following variables:
  Variable Name: PGDATA    Variable Value: %PGHOME%\data
  Variable Name: PGLIB     Variable Value: %PGHOME%\lib
  Variable Name: PGHOST    Variable Value: localhost
�h Next click on Path in the list of System Variables, then click on Edit.
Add the following to the end of the Variable Value:
�h   ;%PGHOME%\bin

3. The next step is to initialise the Data directory. To do this click on
Start then Run and type:
initdb
4. To install the service click on Start then Run and type:
post_svc -install



_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Function Comit
Next
From: Aspire Something
Date:
Subject: Re: Function Comit