Skip site navigation (1) Skip section navigation (2)

Re: initdb fails

From: "Reini Urban" <rurban(at)x-ray(dot)at>
To: Álvaro García Pérez <alvaro(dot)garcia(dot)perez(at)upm(dot)es>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb fails
Date: 2006-06-22 10:25:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
2006/6/21, Álvaro García Pérez <alvaro(dot)garcia(dot)perez(at)upm(dot)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
> 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    

In response to

  • initdb fails at 2006-06-21 12:23:09 from Álvaro García Pérez

pgsql-cygwin by date

Next:From: George DobbinsDate: 2006-07-01 15:23:28
Subject: Client Only Installation On Windows XP
Previous:From: Reini UrbanDate: 2006-06-22 05:56:21
Subject: Re: problem enabling postgres in php

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group