[Comm] Сборка Postgresql
Denis S. Kostin
=?iso-8859-1?q?admin_=CE=C1_3436=2Eru?=
Вт Сен 9 23:25:33 MSD 2008
Здравствуйте, ALT.
Патаюсь собрать rpm сабжа
в конце полуцаю руганку типа
./pg_regress --temp-install=./tmp_check --top-builddir=../../.. --srcdir=/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress --temp-port=55432 --schedule=./parallel_schedule --multibyte=SQL_ASCII --load-language=plpgsql --max-connections=5
============== creating temporary installation ==============
============== initializing database system ==============
pg_regress: initdb failed
Examine ./log/initdb.log for the reason.
Command was: "/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/install//usr/bin/initdb" -D "/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/data" -L "/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/install//usr/share/pgsql" --noclean > "./log/initdb.log" 2>&1
make: *** [check] Error 2
make: Leaving directory `/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress'
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.42853 (%build)
в логе
Файл: initdb.log Ст. 0 1715 байт 100%
Running in noclean mode. Mistakes will not be cleaned up.
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.
The default database encoding has accordingly been set to SQL_ASCII.
The default text search configuration will be set to "english".
creating directory /home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 24MB/153600
creating configuration files ... ok
creating template1 database in /home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/data/base/1 ... FATAL: could not create shared memory seg
ment: Invalid argument
DETAIL: Failed system call was shmget(key=1, size=34086912, 03600).
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the req
uest size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 34086912 bytes), reduce PostgreSQL's shared_buffers parameter
(currently 3072) and/or its max_connections parameter (currently 103).
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or re
configuring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
child process exited with exit code 1
initdb: data directory "/home/admin/RPM/BUILD/postgresql-8.3.3/src/test/regress/./tmp_check/data" not removed at user's request
понимаю что где то что-то поправить нужно, но к сожалению не хватает
опыта :(
--
С уважением,
Denis mailto:admin на 3436.ru
Подробная информация о списке рассылки community