Skip site navigation (1) Skip section navigation (2)

Re: Trouble in using initdb

From: "pobox(at)verysmall(dot)org" <pobox(at)verysmall(dot)org>
To: pragna526(at)yahoo(dot)co(dot)in, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Trouble in using initdb
Date: 2006-01-23 20:44:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

it seems that you are missing cygserver.

I am just doing some testing of 8.0.4 vs 8.1.2 under cygwin and I get
the same when I forget cygserver.

After you install cygwin, do the following -

export CYGWIN=server (not clear if needed, try without it)
unset LANG (not clear if needed, try without it)
export PATH=/usr/bin:/usr/sbin:/usr/local/pgsql/bin:$PATH
cygserver &

Then you do -

make install

in the source directory.

Then -

export CYGWIN=server (makes initdb use the cygserver)
initdb -D /usr/local/pgsql/data

This should work.


pgsql-cygwin by date

Next:From: pobox@verysmall.orgDate: 2006-01-23 23:46:01
Subject: PostgreSQL 8.1.2 crashes diring import - 8.0.4 does not
Previous:From: pobox@verysmall.orgDate: 2006-01-23 20:41:37
Subject: Re: can't get postgresql to start on cygwin...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group