Обсуждение: Problems with initdb

Поиск
Список
Период
Сортировка

Problems with initdb

От
denise@dadm.mar.mil.br
Дата:
Hi,


I tried installed PostgreSql using CygWin in Windows 2000.
I got the following error when I tried to run initdb.



creating configuration files... ok
> creating template1 database in /usr/share/postgresql/data/bas
> d not create shared memory segment: Function not implemented
> DETAIL: Failed system call was shmget(key=1, size=1081344, 0
>
> initdb: failed

Could  you help me to solve this problem?

Thanks in advance,

Denise & Glenda

Re: Problems with initdb

От
Chris Travers
Дата:
Hi Denise,

I ran into this problem for quite a while until I read the README that
came with the PostgreSQL installation (under /usr/share/doc, I think).

I highly recommend referring to this document.  There could be a couple
causes of your error, and since cygwin handles the Sysv IPC calls
differently than UNIX, the process, while straight-forward, is not
intuitive if you have never done it.

Best Wishes,
Chris Travers

On Fri, 2003-12-12 at 03:40, denise@dadm.mar.mil.br wrote:
> Hi,
>
>
> I tried installed PostgreSql using CygWin in Windows 2000.
> I got the following error when I tried to run initdb.
>
> creating configuration files... ok
> > creating template1 database in /usr/share/postgresql/data/bas
> > d not create shared memory segment: Function not implemented
> > DETAIL: Failed system call was shmget(key=1, size=1081344, 0
> >
> > initdb: failed
> Could  you help me to solve this problem?
>
> Thanks in advance,
>
> Denise & Glenda
>