Mindlessly followed instructions using
Vanilla Solaris 5.7
gcc sparc-sun-solaris2.7
setting up user postgres (~ = a/usr/local/pgsql) and doing
everything as postgres.

$ cd /usr/src/pgsql
$ gunzip -c ~/postgresql-6.5.2.tar.gz | tar xvf -
Perhaps your instructions leave out a step since, instead of
$ cd /usr/src/pgsql/src
I had to move something, or make link, or (what I did) use
$ cd /usr/src/pgsql/postgresql-6.5.2/src
$ ./configure --without-CXX
(since libpq++ failed; I don't care) and otherwise accepted
all defaults.

Entire build and installation went as advertised.

Set environment variables as instructed
LD_LIBRARY_PATH=/usr/local/pgsql/lib
PATH=$PATH:/usr/local/pgsql/bin
MANPATH=$MANPATH:/usr/local/pgsql/man
PGLIB=/usr/local/pgsql/lib
PGDATA=/usr/local/pgsql/data

Left /usr/local/pgsql/data/pg_hba.conf unchanged

Ran $ initdb

We are initializing the database system with username postgres (uid=1003).
This user will own all the files and must also own the server process.
Creating Postgres database system directory /usr/local/pgsql/data
Creating Postgres database system directory /usr/local/pgsql/data/base
Creating template database in /usr/local/pgsql/data/base/template1
Creating global classes in /usr/local/pgsql/data/base
Adding template1 database to pg_database...
Vacuuming template1
Creating public pg_user view
Creating view pg_rules
Creating view pg_views
Creating view pg_tables
Creating view pg_indexes
Loading pg_description

Which I took to be satisfactory. But then things failed as follows
$ nohup postmaster -i > pgserver.log 2>&1 &
$ cat pgserver.log

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

Any help on what have I failed to do? Thanks.

Richard Talman

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedOct 30, '99 at 4:26p
activeOct 30, '99 at 4:26p
posts1
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

Talman: 1 post

People

Translate

site design / logo © 2022 Grokbase