Re: Initdb problem - catch 22? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Initdb problem - catch 22?
Date
Msg-id 20071219142423.GE9937@alvh.no-ip.org
Whole thread Raw
In response to Initdb problem - catch 22?  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-general
Glyn Astill wrote:
> Hi people,
>
> Right I've setup postgres numerous times without a problem, and this
> time I'm using all the same stuff but running into a problem where
> initdb won't run without the postgres server running, and the
> postgres server will not run without the postgresql.conf etc that
> initdb creates!
>
> To start with I tried the following:
>
> #/usr/local/pgsql/bin/createdb SEE --encoding='LATIN1'

Keep in mind that createdb is completely different and separate from
initdb.  My guess is that you're confusing the two.


--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Glyn Astill
Date:
Subject: Initdb problem - catch 22?
Next
From: Tom Lane
Date:
Subject: Re: Password as a command line argument to createuser