Thread: initdb:failed ; What is problem?

initdb:failed ; What is problem?

From
Çetin TAS
Date:
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

Re: initdb:failed ; What is problem?

From
mike g
Date:
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