Re: service 'postmaster' failed: signal 12 raised

From: Reini Urban <rurban(at)x-ray(dot)at>
To: Leong_Kuong_Fai <Leong_Kuong_Fai(at)yahoo(dot)com(dot)hk>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: service 'postmaster' failed: signal 12 raised
Date: 2006-01-20 12:57:33
Message-ID: 6910a60601200457m542bc142v@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Why don't you use a binary build from cygwin.com/setup.exe ?
For debugging postgresql service problems it's advised to use a bash
running under the account SYSTEM, which is called "sysbash" (search
the cygwin mailinglist)

Trick:
Start a bash via AT in the next minute.

signal 12:
#define SIGSYS 12 /* bad argument to system call */
looks like you compiled your postgresql against the old ipcserver2 libs,
which is picked up by configure if you have still installed it.

2006/1/17, Leong_Kuong_Fai <Leong_Kuong_Fai(at)yahoo(dot)com(dot)hk>:
> Dear admin,
>
> I follow the offical tutorial to compile pgsql7.4.11 under cygwin on xp
> sp2, every things work fine, I can initdb and startup postmaster -D path -i.
>
> but when I try to use cygrunsrv -I postmaster -p /usr/bin/postmaster -a
> "-D /usr/share/postgresql/data -i" -y cygserver -s INT -u postgres –o
> ...the service cannot startup , and event log display "service
> 'postmaster' failed: signal 12 raised " ...what's that problem? I'm make
> sure cygserver running fine and I can find it on process explorer. the
> user postgres was also assigned to the service group.
--
Reini Urban
http://phpwiki.org/
http://spacemovie.mur.at/

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message pobox@verysmall.org 2006-01-23 20:32:28 Re: Trouble in using initdb
Previous Message gopa pragna 2006-01-19 11:35:07 Trouble in using initdb