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

* Re: [Comm] Сборка Postgresql
  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-11 12:26 ` Alex Gorbachenko
  1 sibling, 1 reply; 10+ messages in thread
From: Konstantin Pavlov @ 2008-09-09 20:36 UTC (permalink / raw)
  To: ALT Linux Community general discussions

2008/9/9 Denis S. Kostin <admin@3436.ru>:
> Здравствуйте, ALT.
>
> Патаюсь собрать rpm сабжа

Откуда брали .src.rpm ?

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

* Re: [Comm] Сборка Postgresql
  2008-09-09 20:36 ` Konstantin Pavlov
@ 2008-09-09 21:01   ` Denis S. Kostin
  2008-09-09 21:32     ` Vitaly Lipatov
  0 siblings, 1 reply; 10+ messages in thread
From: Denis S. Kostin @ 2008-09-09 21:01 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте, Konstantin.

Вы писали 10 сентября 2008 г., 0:36:51:

> 2008/9/9 Denis S. Kostin <admin@3436.ru>:
>> Здравствуйте, ALT.
>>
>> Патаюсь собрать rpm сабжа

> Откуда брали .src.rpm ?
И с сайта 1С и из Сизифа
смысл в том что нужно под 1С собрать...

> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community


-- 
С уважением,
 Denis                          mailto:admin@3436.ru




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

* Re: [Comm] Сборка Postgresql
  2008-09-09 21:01   ` Denis S. Kostin
@ 2008-09-09 21:32     ` Vitaly Lipatov
  2008-09-09 21:39       ` Denis S. Kostin
  0 siblings, 1 reply; 10+ messages in thread
From: Vitaly Lipatov @ 2008-09-09 21:32 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On 10 сентября 2008, Denis S. Kostin wrote:
> Здравствуйте, Konstantin.
>
> Вы писали 10 сентября 2008 г., 0:36:51:
> > 2008/9/9 Denis S. Kostin <admin@3436.ru>:
> >> Здравствуйте, ALT.
> >>
> >> Патаюсь собрать rpm сабжа
> >
> > Откуда брали .src.rpm ?
>
> И с сайта 1С и из Сизифа
> смысл в том что нужно под 1С собрать...
В чём проблема с
http://sisyphus.ru/srpm/Sisyphus/postgresql-8.2eter
?

-- 
С уважением,
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


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

* Re: [Comm] Сборка Postgresql
  2008-09-09 21:32     ` Vitaly Lipatov
@ 2008-09-09 21:39       ` Denis S. Kostin
  2008-09-10  4:30         ` Sergey Alembekov
                           ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Denis S. Kostin @ 2008-09-09 21:39 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте, Vitaly.

Вы писали 10 сентября 2008 г., 1:32:22:

> On 10 сентября 2008, Denis S. Kostin wrote:
>> Здравствуйте, Konstantin.
>>
>> Вы писали 10 сентября 2008 г., 0:36:51:
>> > 2008/9/9 Denis S. Kostin <admin@3436.ru>:
>> >> Здравствуйте, ALT.
>> >>
>> >> Патаюсь собрать rpm сабжа
>> >
>> > Откуда брали .src.rpm ?
>>
>> И с сайта 1С и из Сизифа
>> смысл в том что нужно под 1С собрать...
> В чём проблема с
> http://sisyphus.ru/srpm/Sisyphus/postgresql-8.2eter
> ?


другую брал
http://sisyphus.ru/srpm/Sisyphus/postgresql8.2_1C
ну и 8.3 с сайта 1С

сдается мне что руки у меня не из того места...


-- 
С уважением,
 Denis                          mailto:admin@3436.ru




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

* Re: [Comm] Сборка Postgresql
  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
  2 siblings, 0 replies; 10+ messages in thread
From: Sergey Alembekov @ 2008-09-10  4:30 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от Wednesday 10 September 2008 01:39:51 Denis S. Kostin 
написал(а):
> другую брал
> http://sisyphus.ru/srpm/Sisyphus/postgresql8.2_1C
> ну и 8.3 с сайта 1С
>
> сдается мне что руки у меня не из того места...
Неужели вам необходимо именно postgresql8.3 с 1С? Может просто возьмёте 
работающую сборку 8.2 из Сизифа?


-- 
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt at jabber.ru

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

* Re: [Comm] Сборка Postgresql
  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
  2 siblings, 0 replies; 10+ messages in thread
From: Алексей Шенцев @ 2008-09-10  6:24 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Wednesday 10 September 2008 01:39:51 Denis S. Kostin wrote:
> другую брал
> http://sisyphus.ru/srpm/Sisyphus/postgresql8.2_1C
> ну и 8.3 с сайта 1С
> сдается мне что руки у меня не из того места...
Вас уже спросили какова причина пересбора? В alt linux'е не просто так собрали 
свой pg1c, а собрали с учётом особенностей alt linux'а и его требований.
P.S.: не берите с сайта 1С их поделия, они на столько кривы ...
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

* Re: [Comm] Сборка Postgresql
  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
  2 siblings, 0 replies; 10+ messages in thread
From: Sergey Alembekov @ 2008-09-10  6:48 UTC (permalink / raw)
  To: community

В сообщении от Wednesday 10 September 2008 01:39:51 Denis S. Kostin 
написал(а):

> другую брал
> http://sisyphus.ru/srpm/Sisyphus/postgresql8.2_1C
> ну и 8.3 с сайта 1С
Кстати, 
8.2eter сейчас наиболее актуальная и поддерживаемая.

-- 
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt at jabber.ru

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

* Re: [Comm] Сборка Postgresql
  2008-09-09 19:25 [Comm] Сборка Postgresql Denis S. Kostin
  2008-09-09 20:36 ` Konstantin Pavlov
@ 2008-09-11 12:26 ` Alex Gorbachenko
  2008-09-12 15:03   ` Michael Bochkaryov
  1 sibling, 1 reply; 10+ messages in thread
From: Alex Gorbachenko @ 2008-09-11 12:26 UTC (permalink / raw)
  To: community

On Tue, 9 Sep 2008 23:25:33 +0400
Denis wrote:

>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.

какие слова перевести ? поцгрецу при сборке не хватает шареной памяти.
обойти это можно двумя способами, и оба описаны выше, в квоте.

1. увеличить значения kernel.shmmax и kernel.shmall в /etc/sysctl.conf;
2. уменьшить значение shared_buffers в конфиге, с которым запускается
регресс-тест. 



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

* Re: [Comm] Сборка Postgresql
  2008-09-11 12:26 ` Alex Gorbachenko
@ 2008-09-12 15:03   ` Michael Bochkaryov
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Bochkaryov @ 2008-09-12 15:03 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Alex Gorbachenko пишет:
> On Tue, 9 Sep 2008 23:25:33 +0400
> Denis wrote:
> 
>> 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.
> 
> какие слова перевести ? поцгрецу при сборке не хватает шареной памяти.
> обойти это можно двумя способами, и оба описаны выше, в квоте.

многабукав? :)))

> 1. увеличить значения kernel.shmmax и kernel.shmall в /etc/sysctl.conf;

Если использовать на этой же системе - лучше так и сделать.
Увеличение доступной разделяемой памяти редко вредит постгресу.

Да и разово вызвать sysctl -w kernel.shmmax=134217728 проще

> 2. уменьшить значение shared_buffers в конфиге, с которым запускается
> регресс-тест. 

Если только ради единичной сборки - лишний гемор, JIMHO.

-- 
Michael Bochkaryov


^ 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