Request for Postgres help

Поиск
Список
Период
Сортировка
От TALMAN@LNS62.LNS.CORNELL.EDU
Тема Request for Postgres help
Дата
Msg-id 01JHQUJSCJ2A8XYPSV@LNS62.LNS.CORNELL.EDU
обсуждение исходный текст
Список pgsql-ports
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



В списке pgsql-ports по дате отправления:

Предыдущее
От: Ryan Kirkpatrick
Дата:
Сообщение: Possible invalid Pgsql-Alpha patch floating around...
Следующее
От: "Mario Simeone"
Дата:
Сообщение: subscribe