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

Re: Error when I try to run initdb under cygwin. Plz help me...

From: Flávio Henrique <flavinhohenrique(at)terra(dot)com(dot)br>
To: <pgsql-cygwin(at)postgresql(dot)org>
Cc: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
Subject: Re: Error when I try to run initdb under cygwin. Plz help me...
Date: 2004-02-17 12:00:58
Message-ID: 002c01c3f54d$b48667a0$33c8a8c0@adsl (view raw or flat)
Thread:
Lists: pgsql-cygwin
Tim... thanx... it works...
but now I have other problem that maybe you can help again...

after run 'postmaster -D /var/psql' the first messsage is:

LOG: shmdt(0x846e0000) failed: Invalid argument

after that others messages come, until "LOG: database system is ready"
but seems that the process do not finish yet, 'cause the cursor do not
appears in screen..

I must run posmaster with '&' ??
the first message (error) is real problem ?
why the process do not finish? I must open other cygwin bash sheel  ??

thanx

Flávio Henrique

----- Original Message ----- 
From: Leeuw van der, Tim
To: pgsql-cygwin(at)postgresql(dot)org
Sent: Tuesday, February 17, 2004 5:32 AM
Subject: Re: [CYGWIN] Error when I try to run initdb under cygwin. Plz help
me...


Hi,

As far as I can see you're nearly doing everything right except that you're
starting ipc-daemon (which is version 1) and you need to start ipc-daemon2.

Please install the official ipc-daemon2 package from Cygwin Setup and start
that instead, and you should be all set! :-)

regards,

--Tim

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Flávio Henrique
Sent: maandag 16 februari 2004 22:20
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] Error when I try to run initdb under cygwin. Plz help
me...


Hi all...
I'm newbie with cygwin but I'm receiving a error message when I try to run
'initdb' here...

Look:
I'm using win98 and I want to run postgresql...
I installed cygwin from Internet and everything goes fine...
I open a bash shell and run 'ipc-daemon &'... ok...
When I run 'initdb -D /var/psql' the error:

    The files belonging to this database system will be owned by user "dug".
    This user must also own the server process.
    The database cluster will be initialized with locale C.
    fixing permissions on existing directory /var/psql... ok
    creating directory /var/psql/base... ok
    creating directory /var/psql/global... ok
    creating directory /var/psql/pg_xlog... ok
    creating directory /var/psql/pg_clog... ok
    selecting default max_connections... 10
    selecting default shared_buffers... 50
    creating configuration files... ok
    creating template1 database in /var/psql/base/1...
    FATAL: could not create shared memory segment: Function not implemented
    DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
    initdb: failed

What's wrong? some package that I don't install ?
what now ?

thanx for any hint

Flávio Henrique


In response to

pgsql-cygwin by date

Next:From: Leeuw van der, TimDate: 2004-02-17 12:21:27
Subject: Re: Error when I try to run initdb under cygwin. Plz help me...
Previous:From: Leeuw van der, TimDate: 2004-02-17 08:32:18
Subject: Re: Error when I try to run initdb under cygwin. Plz help me...

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