Mail Archives: cygwin/2004/06/17/13:12:23
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 -