PostgreSQL: initdb fails with v7.4.2 - postmaster fork error with v7.4.1

Natalie Menk n_menk@yahoo.com
Thu Jun 17 21:57:00 GMT 2004


--- Larry Hall <cygwin-lh@cygwin.com> wrote:
> At 12:27 PM 6/17/2004, you wrote
> >--- Igor Pechtchanski <pechtcha@cs.nyu.edu> 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.
> >
> >Now I get nearly the same fork errror message under postgresql 7.4.2
> >while starting postmaster.
> >It looks like this: 
> >--------------------------
> >n@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 0x30
> >000 - 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 long
> >jmp
> >LOG:  could not fork statistics buffer: Resource temporarily
> >unavailable
> >  27885 [main] postmaster 3336 fork_copy: linked dll data/bss pass 0
> >failed, 0x7
> >7B000..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.
> 
> 
> Really?  I found tons of hits with just "Win32 error 487".  I'll
> admit
> that you'd probably find it more comforting to have something that 
> mentions PostgreSQL.  But that's easy:
> 
>
<http://www.google.com/search?as_q=PostgreSQL&num=10&hl=en&ie=UTF-8&btnG=Google+Search&as_epq=Win32+error+487&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_nlo=&as_nhi=&as_occt=any&as_dt=i&as_sitesearch=cygwin.com&safe=images>
> 
> That's close enough right?  If you need more of a hint, think
> 'rebaseall'.  
> 
> 

I tried 'rebaseall' and get still the same error message.
I would use rebase but i don't know which options (especially which
BaseAdress)I should use.(So I tried 'rebase -b 0x30000 -o
0x230000'without success.)

Perhaps I have to set something in the postgresql.conf or any other
.conf-file to avoid that error?

Natalie



		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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



More information about the Cygwin mailing list