pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reini Urban <rurban@x-ray.at>
To: Álvaro García Pérez <alvaro.garcia.perez@upm.es>
Cc: pgsql-cygwin@postgresql.org
Subject: Re: initdb fails
Date: Thu, 22 Jun 2006 12:25:04 +0200
Message-ID: <6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com> (raw)
In-Reply-To: <000001c6952d$74ffb5a0$9e02648a@ccupm.upm.es>
References: <000001c6952d$74ffb5a0$9e02648a@ccupm.upm.es>

2006/6/21, Álvaro García Pérez <alvaro.garcia.perez@upm.es>:
> I´m 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 -boot
> -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?


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



view thread (13+ messages)

Message-ID: <6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com>
Permalink:  ../6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com/
Also on:    postgresql.org/message-id/6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: rurban@x-ray.at, alvaro.garcia.perez@upm.es
  Subject: Re: initdb fails
  In-Reply-To: <6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com>
  References: <000001c6952d$74ffb5a0$9e02648a@ccupm.upm.es> <6910a60606220325o6d60a433n2c59ba1aa0b6cd8a@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox