From: | "Manuel Tejada" <mantemu(at)terra(dot)com(dot)pe> |
---|---|
To: | <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | problem upgrading to PostgreSQL 7.4 |
Date: | 2003-12-15 00:49:01 |
Message-ID: | 001a01c3c2a5$3be28840$fee430c8@alejo |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
I was working with PostgreSQL 7.3.4 easily.
Yesterday I decided to made an upgrade to PostgreSQL 7.4.2.
After upgrading from internet with the setup.exe I followed the normal
procedure to inicializate the postgre. Observe that The initdb failed.
-------------------------------------
admin(at)alejo ~
$ ipc-daemon &
[1] 935405
admin(at)alejo ~
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "admin".
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:
could 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"
admin(at)alejo ~
---------------------------------------------
My questions are:
a) Why I get the FATAL error if I have started the ipc daemon before the
initdb?
b) How to fix this?
Note.- This is no the first upgrade I made. The upgrading from version 7.2
to 7.3 was without problem.
I'll appreciate any answer
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Natoli | 2003-12-15 00:56:29 | Re: problem upgrading to PostgreSQL 7.4 |
Previous Message | Mike Leahy | 2003-12-13 20:23:42 | Re: INITDB error |