initdb:failed ; What is problem?

Lists: pgsql-cygwin
From: Çetin TAS <cetin(at)sir(dot)com(dot)tr>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: initdb:failed ; What is problem?
Date: 2004-06-18 10:01:29
Message-ID: 002101c4551b$3a425480$371910ae@CETINSVR
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Dear Sir(s),

i downlaod cygwin from internet with Database Install Mode and install it.
Then Execute cygwin.bat shell comand cygserver-config . execute cygserver and cygrunsvr as service on Windows 2000. Then write command initdb -D /var/postgresql/data and initdb:failed. as see follow error detail:

$ initdb -D /var/postgresql/data
The files belonging to this database system will be owned by user "cetin".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /var/postgresql/data... ok
creating directory /var/postgresql/data/base... ok
creating directory /var/postgresql/data/global... ok
creating directory /var/postgresql/data/pg_xlog... ok
creating directory /var/postgresql/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 /var/postgresql/data/base/1... Signal 12

initdb: failed
initdb: removing data directory "/var/postgresql/data"

What can i do to solve this problem and to run cygwin database postgresql.

Best Regards


From: mike g <mike(at)thegodshalls(dot)com>
To: Çetin TAS <cetin(at)sir(dot)com(dot)tr>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb:failed ; What is problem?
Date: 2004-06-21 04:31:34
Message-ID: 1087792294.2187.16.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin


That error is because cygserver is not being found. Make sure you
install the new cygserver package, just released for the first time
about a week ago, start it, and make sure the CYGWIN=server is in your
path.

On Fri, 2004-06-18 at 05:01, etin TAS wrote:
> Dear Sir(s),
>
> i downlaod cygwin from internet with Database Install Mode and install
> it.
> Then Execute cygwin.bat shell comand cygserver-config . execute
> cygserver and cygrunsvr as service on Windows 2000. Then write command
> initdb -D /var/postgresql/data and initdb:failed. as see follow error
> detail:
>
> $ initdb -D /var/postgresql/data
> The files belonging to this database system will be owned by user
> "cetin".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /var/postgresql/data... ok
> creating directory /var/postgresql/data/base... ok
> creating directory /var/postgresql/data/global... ok
> creating directory /var/postgresql/data/pg_xlog... ok
> creating directory /var/postgresql/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 /var/postgresql/data/base/1... Signal
> 12
>
> initdb: failed
> initdb: removing data directory "/var/postgresql/data"
>
>
> What can i do to solve this problem and to run cygwin database
> postgresql.
>
> Best Regards