Re: PostgreSQL in Windows2000 PRO

From: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
To: <victor(dot)filho(at)caixa(dot)gov(dot)br>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: PostgreSQL in Windows2000 PRO
Date: 2004-08-06 10:18:00
Message-ID: BF88DF69D9E2884B9BE5160DB2B97A85010D6CC8@nlshl-exch1.eu.uis.unisys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi,

Please double check that cygserver is actually running. It might fail to run.
That could be due to various permission errors.

Also, please double-check that you CYGWIN environment variable has been set to include the word "server", and that it's export if you do this in bash.

Mike G, the instructions on the website are no longer out of date! I just verified. They're updated as of 20-07-2004.

--Tim

-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of
victor(dot)filho(at)caixa(dot)gov(dot)br
Sent: woensdag 4 augustus 2004 18:19
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] PostgreSQL in Windows2000 PRO

Hi,
I am trying to install PostGres in my machine with OS windows 2000 PRO as instructions in the site http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN , but I am not having success.

I follow the instructions but when I am not able to init the db ( please see below ) .
What´s wrong ? What may I do ?

Thank you very much for the help,

Victor
Brazil/Rio de Janeiro/RJ

c053102(at)CR7260ET292 ~
$ /usr/sbin/cygserver &
[1] 1676

c053102(at)CR7260ET292 ~
$ cygserver: Initialization complete. Waiting for requests.
initdb -D /usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user "c053102".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal 12

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"

c053102(at)CR7260ET292 ~
$

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message John Wilcher 2004-08-06 14:59:11 initdb failure
Previous Message Leeuw van der, Tim 2004-08-06 10:14:43 Re: initdb failing