Re: pgsql on cygwin problem - Mailing list pgsql-cygwin

From Igor Pechtchanski
Subject Re: pgsql on cygwin problem
Date
Msg-id Pine.GSO.4.63.0508290938440.27062@slinky.cs.nyu.edu
Whole thread Raw
Responses Re: pgsql on cygwin problem  ("jmbigi (sent by Nabble.com)" <lists@nabble.com>)
List 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
/usr/share/doc/Cygwin/postgresql-7.4.5.README:

---------------
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:

    /usr/share/doc/cygwin/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
properly.
---------------

Looks like that's what's happening in your case.
HTH,
    Igor
--
                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_        pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_        igor@watson.ibm.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

pgsql-cygwin by date:

Previous
From: Alain Bouju
Date:
Subject: Trouble initdb Postgresql 8.0.3 Cygwin
Next
From: yuri@nnov.mts.ru
Date:
Subject: pgsql on cygwin problem