Thread: install problems with ipc-daemon2

install problems with ipc-daemon2

From
Patricia Frontiera
Date:
Hi,

I'm having trouble getting a local build of postgres to run on my pc.

I have the following installed on my system:
windows 2000, cygwin 1.5.5, cygipc-2.02-1, gcc 3.3.1-3

I successfully installed postgres-7.3.4-2 using the cygwin setup.exe file
and the following commands worked fine:
$ ipc-daemon2 &
$ initdb -D /usr/share/postgresql/data

I can manually build postgres (so that I can install postgis/GEOS) like
so:
LDFLAGS=-lstdc++ ./configure --enable-multibyte --with-CXX
--prefix=/usr --sysconfdir=/etc --docdir=/usr/doc/postgresql-7.3.4

It configures, compiles and installs just fine. Yet, when I run:
$ ipc-daemon2 &
$ initdb -D /usr/local/pgsql/share/data1

I get the following error msg:
creating template1 in database in /usr/local/pgsql/share/data/base/1...
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
implemented

Any thoughts on why my locally built version doesn't work with
ipc-daemon2?
-Patty


Re: install problems with ipc-daemon2

From
pgsql@b-great.net
Date:
Hi, Patricia.

PF> I'm having trouble getting a local build of postgres to run on my pc.

PF> I have the following installed on my system:
PF> windows 2000, cygwin 1.5.5, cygipc-2.02-1, gcc 3.3.1-3

PF> I get the following error msg:
PF> creating template1 in database in
PF> /usr/local/pgsql/share/data/base/1...
PF> IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
PF> implemented

As far as I know you have to use cygipc 1.xx with PostgreSQL 7.3.xx.
Cygipc 2.xx is to be used with PostgreSQL 7.4.xx.

- Grigoriy



Re: install problems with ipc-daemon2

From
Jason Tishler
Date:
Grigoriy,

On Mon, Dec 01, 2003 at 11:20:34AM +0300, Grigoriy Puzankin wrote:
> As far as I know you have to use cygipc 1.xx with PostgreSQL 7.3.xx.
> Cygipc 2.xx is to be used with PostgreSQL 7.4.xx.

The above is not true.  I cut-over to cygipc 2.x with the Cygwin
PostgreSQL 7.3.4-2 package:

    http://cygwin.com/ml/cygwin-announce/2003-08/msg00001.html
    http://cygwin.com/ml/cygwin-announce/2003-09/msg00036.html

Unfortunately, what versions of the pre-built cygipc and PostgreSQL
packages are compatible is even more complicated... :,(

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Re: install problems with ipc-daemon2

From
Grigoriy Puzankin
Date:
Hi, Patricia.

PF> I'm having trouble getting a local build of postgres to run on my pc.

PF> I have the following installed on my system:
PF> windows 2000, cygwin 1.5.5, cygipc-2.02-1, gcc 3.3.1-3

PF> I get the following error msg:
PF> creating template1 in database in
PF> /usr/local/pgsql/share/data/base/1...
PF> IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
PF> implemented

As far as I know you have to use cygipc 1.xx with PostgreSQL 7.3.xx.
Cygipc 2.xx is to be used with PostgreSQL 7.4.xx.

- Grigoriy