This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, 17 Jun 2004, Natalie Menk wrote:

> The installed cygwin is version 1.5.10-3 and I use cygipc 2.03-2.
> MS Win XP
> --------------------------------
>
> n@n ~
> $ psql --version
> psql (PostgreSQL) 7.4.2
> contains support for command-line editing
>
> n@n ~
> $ ipc-daemon2 &
> [1] 2840
>
> n@n ~
> $ initdb -D edge_inline
> The files belonging to this database system will be owned by user "n".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory edge_inline... ok
> creating directory edge_inline/base... ok
> creating directory edge_inline/global... ok
> creating directory edge_inline/pg_xlog... ok
> creating directory edge_inline/pg_clog... ok
> selecting default max_connections... Signal 12
> Signal 12

$ kill -l
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGEMT       8) SIGFPE
 9) SIGKILL     10) SIGBUS      11) SIGSEGV     12) SIGSYS
[...]                                               ^^^^^^
$ grep SIGSYS /usr/include/sys/signal.h
#define SIGSYS  12      /* bad argument to system call */
$

> [snip]
> initdb: failed
> initdb: removing data directory "edge_inline"

Did you read the announcement:
<http://cygwin.com/ml/cygwin/2004-06/msg00457.html>?  Quoting:

> The following are the notable changes since the previous release:
>
>     o build against cygserver instead of cygipc
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     o upgrade to PostgreSQL 7.4.2

This information should also be in the Cygwin-specific README
(/usr/share/doc/Cygwin/postgresql-7.4.2.README), which contains the
instructions on running the new PostgreSQL.

As for your fork error, try Googling for the exact error message -- there
are plenty of threads on the subject.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]