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

Re: pgsql on cygwin problem

From: Igor Pechtchanski <pechtcha(at)cs(dot)nyu(dot)edu>
To: yuri(at)nnov(dot)mts(dot)ru
Cc: pgsql-cygwin(at)postgresql(dot)org, cygwin(at)cygwin(dot)com
Subject: Re: pgsql on cygwin problem
Date: 2005-08-29 13:42:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
On Mon, 29 Aug 2005, yuri wrote:

> Hello. I had a problem at installation postgesql as service nt. I do all
> under the documentation which is in a file
> /usr/share/doc/Cygwin/postgresql-7.4.5.README
> On item 8 at me there is a mistake at initialization of a database.
> $ initdb -D /var/postgresql/data
> The files belonging to this database system will be owned by user
> "postgres".
> [snip]
> Signal 12
> initdb: failed
> Prompt please in what there can be a problem.

Signal 12 is "Bad system call".  Quoting from

Regardless of the installation type, the first step is to add "server" to
your CYGWIN environment variable setting and start cygserver.  See the
cygserver README:


for more details.  If the CYGWIN variable is not set correctly and/or
cygserver is not running then initdb and postmaster will fail to run

Looks like that's what's happening in your case.
      |\      _,,,---,,_		pechtcha(at)cs(dot)nyu(dot)edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor(at)watson(dot)ibm(dot)com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

In response to


pgsql-cygwin by date

Next:From: Alain BoujuDate: 2005-08-31 08:11:44
Subject: Trouble initdb Postgresql 8.0.3 Cygwin
Previous:From: yuriDate: 2005-08-29 13:35:25
Subject: pgsql on cygwin problem

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