Re: BUG #1090: initdb does not work

From: "Suresh Babu(dot)A(dot)G" <agsuresh(at)hotmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Cc: simon(dot)huang(at)miusi(dot)com
Subject: Re: BUG #1090: initdb does not work
Date: 2004-03-03 20:23:39
Message-ID: BAY8-F42JrfzLXTi6WU0003032d@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

Use ipc-daemon2.exe instead of ipc-daemon.exe

I had the same problem and the same message when I upgraded to the latest
version. Using the ipc-demon2.exe solved the problem

TIP the message
selecting default max_connections... 10 should be 100 after starting
ipc-daemon2.exe

>From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
>To: pgsql-bugs(at)postgresql(dot)org
>Subject: [BUGS] BUG #1090: initdb does not work
>Date: Tue, 2 Mar 2004 23:07:59 -0400 (AST)
>
>The following bug has been logged online:
>
>Bug reference: 1090
>Logged by: Simon
>
>Email address: simon(dot)huang(at)miusi(dot)com
>
>PostgreSQL version: 7.4
>
>Operating system: windows and cygwin
>
>Description: initdb does not work
>
>Details:
>
>hi,
>I installed the last version of cygwin(the version of the setup.exe is
>2.416) in my windows XP, when I want to init the postgres, it throw a error
>could you please tell me how to solve this problem
>
>thanks in advanced
>Simon
>
>-----------------------------------------
>$ initdb -D /usr/share/postgresql/data
>The files belonging to this database system will be owned by user "Simon
>Huang".
>
>This user must also own the server process.
>
>The database cluster will be initialized with locale C.
>
>creating directory /usr/share/postgresql/data... ok
>creating directory /usr/share/postgresql/data/base... ok
>creating directory /usr/share/postgresql/data/global... ok
>creating directory /usr/share/postgresql/data/pg_xlog... ok
>creating directory /usr/share/postgresql/data/pg_clog... ok
>selecting default max_connections... 10
>selecting default shared_buffers... 50
>creating configuration files... ok
>creating template1 database in /usr/share/postgresql/data/base/1... FATAL:
>coul
>d not create shared memory segment: Function not implemented
>DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
>
>initdb: failed
>initdb: removing data directory "/usr/share/postgresql/data"
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag
Only on www.shaadi.com. Register now!

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-03-03 23:27:07 Re: Integer parsing bug?
Previous Message Steve Atkins 2004-03-03 17:41:41 Re: Integer parsing bug?