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@yahoo.com.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/