Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Natalie Menk 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: References: <20040617162712 DOT 35830 DOT qmail AT web11001 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Thu, 17 Jun 2004, Natalie Menk wrote: > --- Igor Pechtchanski wrote: . > > 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: (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/