Thread: Cannot start postmaster

Cannot start postmaster

From
"Moishe Groger"
Date:
I just finished compiling and installing the newest versions of cygwin, cygipc, and postgresql 7.1 beta 6. When I attempt to run "postmaster -D /usr/local/pgsql/data", however, I receive the following error message:
 
C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_fork_failed
/usr/local/pgsql/bin/postmaster: Startup proc 924 exited with status 256 - abort
 
And if I run postres directly, this is the error:
 
DEBUG: database system was shut down at 2001-03-17 17:06:38
DEBUG: CheckPoint record at (0, 1564296)
DEBUG: Redo record at (0, 1564296); Undo record at (0, 0); Shutdown TRUE
DEBUG: NextTransactionId: 615; NextOid: 18720
DEBUG: database system is in production state
FATAL 1: Database "moishe groger" does not exist in the system catalog.
DEBUG: shutting down
DEBUG: database system is shut down
 
Does anyone have any suggestions for me? I had some trouble in the installation because of a space in my username (mostly bad symlinks). Could this also be related to that space?
 
Thanks!
Moishe Groger

Re: Cannot start postmaster

From
"Brent R. Matzelle"
Date:
3/17/2001 1:32:53 PM, "Moishe Groger" <groger@techfeasibility.com> wrote:
>   I just finished compiling and installing the newest versions of cygwin,
>   cygipc, and postgresql 7.1 beta 6. When I attempt to run "postmaster -D
>   /usr/local/pgsql/data", however, I receive the following error message:
>
>   C:\cygwin\usr\local\pgsql\bin\postgres.exe: ***
>   recreate_mmaps_after_fork_failed
>   /usr/local/pgsql/bin/postmaster: Startup proc 924 exited with status 256

The current version of Cygwin, 1.1.8, has a bug in mmap()/fork() that causes
that particular error.  You can refer to this bug report:
http://sources.redhat.com/ml/cygwin/2001-02/msg00203.html.  The bug has been
fixed and has been placed in the current CVS.  I personally have not tried
it.

Brent