Re: initdb fails

"Reini Urban" <[email protected]> Thu, 22 Jun 2006 12:25:04 +0200
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
2006/6/21, =C1lvaro Garc=EDa P=E9rez <[email protected]>:
> I=B4m trying to run postgreSQL 7.4.13 on cygwin under Windows XP.
> I compile the source and install postgre, but when I run initdb it fails:

when you compiled the source by yourself only you can/should know to
which ipc library you linked against.
ipc-daemon2 or cygwin via cygserver

> creating template1 database in /usr/local/pgsql/data/base/1...
> /usr/local/pgsql/
>
> bin/initdb: line 644:  1752 Bad system call         "$PGPATH"/postgres -b=
oot
> -x1
>
>  $PGSQL_OPT $BOOTSTRAP_TALK_ARG template1
>
>
>
> initdb: failed
>
>
>
> I've read some about ipc services and think maybe that's the problem. In =
the
> latest cygwin version there's no ipc-daemon nor ipc-daemon2 command.

yes, that's the problem. there is no ipc daemon running. or
the CYGWIN env does not contain "server".

> Instead
> there's cygserver. I've tried running the cygserver before and after
> installation, but initdb always fails.
>
>
>
> Anybody knows what could be the problem?


--=20
Reini Urban
http://phpwiki.org/              http://murbreak.at/
http://spacemovie.mur.at/   http://helsinki.at/

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend