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

Shared memory fault in Solaris 2.6 and Postgresql 6.5.2

From: P(dot)Knowles(at)bolton(dot)ac(dot)uk
To: PGSQL-PORTS(at)POSTGRESQL(dot)ORG
Subject: Shared memory fault in Solaris 2.6 and Postgresql 6.5.2
Date: 1999-10-05 10:51:30
Message-ID: 009DF2A8.0B85B93F.34@bolton.ac.uk (view raw or flat)
Thread:
Lists: pgsql-ports
Hi pgsql-ports

I have been trying to install postgresql version 6.5.2 on a dual processor Sun E250 running Solaris 2.6 (revision 5/98).

I had quite a few errors when compiling with Suns' own lex and make. I downloaded and installed Bison 1.25, flex 2.5.4a
and gcc 2.8.0. and recompiled. All the errors disappeared and it compiled cleanly with only a few warnings. However,
when I attempt to start postmaster after initialising the database with initdb (initdb ran OK) I get the following
error:

$ postmaster -i
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001, size=1073152, permission=600
FATAL 1:  ShmemCreate: cannot create region

I am logged in as superuser postgres and in the postgres home directory with the following environment variables set:

LD_LIBRARY_PATH=/servers/postgresql/lib
LOGNAME=postgres
PATH=/usr/bin::/servers/postgresql/bin
PGDATA=/servers/postgresql/data
PGLIB=/servers/postgresql/lib
SHELL=/bin/sh
TERM=vt100
TZ=GB
USER=postgres

Could you please give me an idea of where I went wrong and what I can do to fix it?

Best regards

Phil Knowles

System Administrator
Faculty Of Technology
Bolton Institute
Bolton 
England
Tel: +44 1204 903077


pgsql-ports by date

Next:From: Henry MolinaDate: 1999-10-05 14:32:52
Subject: Information request
Previous:From: P.KnowlesDate: 1999-10-05 10:06:35
Subject: shared memory fault in postgresql 6.5.2 and solaris 2.6

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