delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/17/13:12:23

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 17 Jun 2004 13:12:10 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Natalie Menk <n_menk AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: PostgreSQL: initdb fails with v7.4.2 - postmaster fork error with v7.4.1
In-Reply-To: <20040617162712.35830.qmail@web11001.mail.yahoo.com>
Message-ID: <Pine.GSO.4.58.0406171300050.3356@slinky.cs.nyu.edu>
References: <20040617162712 DOT 35830 DOT qmail AT web11001 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 17 Jun 2004, Natalie Menk wrote:

> --- Igor Pechtchanski <pechtcha AT XX DOT XXX DOT XXX> wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.

> > On Thu, 17 Jun 2004, Natalie Menk wrote:
> >
> > > [...initdb fails with postgresql 7.4.2]
> > >
> >       o build against cygserver instead of cygipc
> >   [...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I build cyserver instead of cygipc and initdb works.

Huh?  You didn't need to build anything -- just start the cygserver daemon
instead of ipc-daemon2...  Did you actually read the README?

> Now I get nearly the same fork errror message under postgresql 7.4.2
> while starting postmaster.
> It looks like this:
> --------------------------
> n AT n ~
> $ CYGWIN=server postmaster -D edge_inline -h localhost -i
> WARNING:  dup(0) failed after 3195 successes: Bad file descriptor
> C:\cygwin\bin\postgres.exe (2164): *** fork: can't reserve memory for stack 0x30000 - 0x230000, Win32 error 487
>       5 [main] postmaster 3336 proc_subproc: Couldn't duplicate my handle<0x7F4> for pid 2164, Win32 error 5
>     396 [main] postmaster 3336 sync_with_child: child 2164(0x668) died before in itialization with status code 0x1
>     517 [main] postmaster 3336 sync_with_child: *** child state waiting for longjmp
> LOG:  could not fork statistics buffer: Resource temporarily unavailable
>   27885 [main] postmaster 3336 fork_copy: linked dll data/bss pass 0 failed, 0x77B000..0x787880, done 0, windows pid 3780, Win32 error 487
> LOG:  could not fork startup process: Resource temporarily unavailable
> -----------------------------------
> [...]
> >
> > As for your fork error, try Googling for the exact error message --
> > there
> > are plenty of threads on the subject.
> >       Igor
>
> I coulnd't find something helpful with Google, googling for the exact
> error message or parts from it. Because of that I'm asking here.
>
> Thanks for helping,
> Natalie

That's pretty strange.  I've got at least 2 relevant hits with things to
try:
<http://google.com/search?q=cygwin+%22win32+error+487%22+%22can%27t+reserve+memory+for+stack%22>
(the "things to try" mentioned there are updating Windows and rebasing).
	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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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