ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Сборка Postgresql
@ 2008-09-09 19:25 Denis S. Kostin
  2008-09-09 20:36 ` Konstantin Pavlov
  2008-09-11 12:26 ` Alex Gorbachenko
  0 siblings, 2 replies; 10+ messages in thread
From: Denis S. Kostin @ 2008-09-09 19:25 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте, 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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-12 15:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-09 19:25 [Comm] Сборка Postgresql Denis S. Kostin
2008-09-09 20:36 ` Konstantin Pavlov
2008-09-09 21:01   ` Denis S. Kostin
2008-09-09 21:32     ` Vitaly Lipatov
2008-09-09 21:39       ` Denis S. Kostin
2008-09-10  4:30         ` Sergey Alembekov
2008-09-10  6:24         ` Алексей Шенцев
2008-09-10  6:48         ` Sergey Alembekov
2008-09-11 12:26 ` Alex Gorbachenko
2008-09-12 15:03   ` Michael Bochkaryov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git