delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/29/09:43:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 29 Aug 2005 09:42:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
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
In-Reply-To: <OFEA2CCDFD.D4C872D1-ONC325706C.004A8186-C325706C.004AA7E7@mts.ru>
Message-ID: <Pine.GSO.4.63.0508290938440.27062@slinky.cs.nyu.edu>
References: <OFEA2CCDFD DOT D4C872D1-ONC325706C DOT 004A8186-C325706C DOT 004AA7E7 AT mts DOT ru>
MIME-Version: 1.0

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019