initdb "file not found"

From: "Warren Massengill" <warrenmassengill(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Cc: warrenmassengill(at)hotmail(dot)com
Subject: initdb "file not found"
Date: 2003-02-27 18:02:00
Message-ID: F89nccYTjr8cU6xfPTe0002459a@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 directoryK

But pg is not running on reboot K and will not startK

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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Aspire Something 2003-02-27 18:10:47 Re: Function Comit
Previous Message Josh Berkus 2003-02-27 17:15:30 Re: Function Comit