Thread: Help with initdb

Help with initdb

From
Paulino Ng
Date:
Hi!

I'm having trouble to install postgreSQL/cygwin in winXP systems.
I tried 3 differents PCs with winXP pro and each time I get into the same
problem:
- initdb is unable to finish - in debug mode it stops after the following
message
----------- .... --------------------------------------------
creating template1 database in /usr/local/pgsql/data/base/1... DEBUG:  invoking
IpcMemoryCreate(size=1081344)
Signal 12

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
---------- ..... ----------------------------------------------

I tried to change /etc/cygserver.conf with:
kern.ipc.semmns 80
kern.ipc.semmsl 80
kern.ipc.shmmaxpgs 16384
kern.ipc.shmmni 16384
kern.ipc.shmseg 16384

But I've got the same results.

What should I do?

Thanx!

paulino
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
by NuCC-INTERNET


Re: Help with initdb

From
mike g
Date:
The docs or webpage you are using for the install are out of date.
Cygserver is now used instead of ipc-daemon2.

See the readme included now located in /usr/share/doc/Cygwin

Mike

On Tue, 2004-08-03 at 08:13, Paulino Ng wrote:
> Hi!
>
> I'm having trouble to install postgreSQL/cygwin in winXP systems.
> I tried 3 differents PCs with winXP pro and each time I get into the same
> problem:
> - initdb is unable to finish - in debug mode it stops after the following
> message
> ----------- .... --------------------------------------------
> creating template1 database in /usr/local/pgsql/data/base/1... DEBUG:  invoking
> IpcMemoryCreate(size=1081344)
> Signal 12
>
> initdb: failed
> initdb: removing data directory "/usr/local/pgsql/data"
> ---------- ..... ----------------------------------------------
>
> I tried to change /etc/cygserver.conf with:
> kern.ipc.semmns 80
> kern.ipc.semmsl 80
> kern.ipc.shmmaxpgs 16384
> kern.ipc.shmmni 16384
> kern.ipc.shmseg 16384
>
> But I've got the same results.
>
> What should I do?
>
> Thanx!
>
> paulino
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> by NuCC-INTERNET
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

Re: Help with initdb

From
"Leeuw van der, Tim"
Date:
Check that the cygserver service, which you have configured, is actually running. Either you forgot to start the
service,or the service fails to start due to permission issues. 

--Tim

-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Paulino Ng
Sent: dinsdag 3 augustus 2004 15:13
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Help with initdb


Hi!

I'm having trouble to install postgreSQL/cygwin in winXP systems.
I tried 3 differents PCs with winXP pro and each time I get into the same
problem:
- initdb is unable to finish - in debug mode it stops after the following
message
----------- .... --------------------------------------------
creating template1 database in /usr/local/pgsql/data/base/1... DEBUG:  invoking
IpcMemoryCreate(size=1081344)
Signal 12

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
---------- ..... ----------------------------------------------

I tried to change /etc/cygserver.conf with:
kern.ipc.semmns 80
kern.ipc.semmsl 80
kern.ipc.shmmaxpgs 16384
kern.ipc.shmmni 16384
kern.ipc.shmseg 16384

But I've got the same results.

What should I do?

Thanx!

paulino
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
by NuCC-INTERNET


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