7.4.1 install problems on OS X 10.3

From: beyaRecords - The home Urban music <uzo(at)beya-records(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: 7.4.1 install problems on OS X 10.3
Date: 2003-12-29 20:48:32
Message-ID: 5D32E76C-3A40-11D8-BD9C-0003938366A4@beya-records.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-sql

Hi,
I have been forced to re-buid postgresql 7.4.1 but am encountering a
problem when i do the following:

1. /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

the error I get is as follows:

fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:
could not create shared memory segment: Cannot allocate memory
DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
HINT: This error usually means that PostgreSQL's request for a shared
memory segment exceeded available memory or swap space. To reduce the
request size (currently 1081344 bytes), reduce PostgreSQL's
shared_buffers parameter (currently 50) and/or its max_connections
parameter (currently 10).
The PostgreSQL documentation contains more information about
shared memory configuration.

initdb: failed

Any ideas as to how I can rectify this, taking into consideration that
I am a complete novice in the wonderful world of unix ;-)

regards

Uzo

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message chandra K 2003-12-29 20:56:33 installation error.
Previous Message Tom Lane 2003-12-29 16:04:06 Re: date validation problem

Browse pgsql-sql by date

  From Date Subject
Next Message Theodore Petrosky 2003-12-29 22:05:42 Re: [SQL] 7.4.1 install problems on OS X 10.3
Previous Message Michael Fuhr 2003-12-29 19:28:13 Re: Installing pgplsql on postgresql ver. 7.4 on os x 10.3