From: "Denis S. Kostin" <admin@3436.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] Сборка Postgresql Date: Tue, 9 Sep 2008 23:25:33 +0400 Message-ID: <354375841.20080909232533@3436.ru> (raw) Здравствуйте, 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
next reply other threads:[~2008-09-09 19:25 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-09-09 19:25 Denis S. Kostin [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=354375841.20080909232533@3436.ru \ --to=admin@3436.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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