ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Kostarev Alexey <kaf@nevod.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Опять 1c и postgresql-8
Date: Wed, 24 Oct 2007 11:42:57 +0600
Message-ID: <471EDB61.1030703@nevod.ru> (raw)
In-Reply-To: <105561193202947@webmail18.yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 2300 bytes --]

Дмитрий wrote:

>При запуске он выдает мне:
>[root@db1c ~]# LANG=ru_RU.utf-8 /etc/init.d/postgresql start
>Adjusting environment for postgresql:                                                                                                               [ DONE ]
>Creating default database: Файлы, сопутствующие этой системе баз данных, будут
>принадлежать пользователю "postgres". Этот пользователь
>также должен быть владельцем процесса сервера.
>Кластер баз данных будет инициализирован с локалью ru_RU.UTF-8.
>Кодировка базы по умолчанию установлена в UTF8.
>
>исправление прав на существующую директорию /var/lib/pgsql-root/var/lib/pgsql/data ... ок
>creating subdirectories ... ок
>выбирается значение по-умолчанию для max_connections ... 100
>selecting default shared_buffers/max_fsm_pages ... 24MB/153600
>создание конфигурационных файлов ... ок
>создание базы template1 в /var/lib/pgsql-root/var/lib/pgsql/data/base/1 ... FATAL:  could not create shared memory segment: Недопустимый аргумент
>ПОДРОБНОСТИ:  Failed system call was shmget(key=1, size=112754688, 03600).
>ПОДСКАЗКА:  This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter.  You can either reduce the request size or reconfigure the kernel with larger SHMMAX.  To reduce the request size (currently 112754688 bytes), reduce PostgreSQL's shared_buffers parameter (currently 12800) and/or its max_connections parameter (currently 100).
>        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 reconfiguring SHMMIN is called for.
>        The PostgreSQL documentation contains more information about shared memory configuration.
>дочерний процесс завершился с кодом возврата 1
>initdb: удаление содержимого директории данных "/var/lib/pgsql-root/var/lib/pgsql/data"
>
>я так понимаю надо значение shared_buffers изменить, тока не пойму на какое значение
>_______________________________________________
>community mailing list
>community@lists.altlinux.org
>https://lists.altlinux.org/mailman/listinfo/community
>
Лучше сделать то, что советуют - увеличить значение SHMMAX
echo новый_размер >/proc/sys/kernel/shmmax

-- 
С Уважением
Директор ООО НЕВОД
Костарев А.Ф.


[-- Attachment #2: kaf.vcf --]
[-- Type: text/x-vcard, Size: 202 bytes --]

begin:vcard
fn:Alexey Kostarev
n:Kostarev;Alexey
org:Nevod Ltd.
adr:;;;Perm;;;Russia
email;internet:kaf@nevod.ru
tel;work:(3422) 196-960 
url:http://www.nevod.ru/nevod/staff/kaf/
version:2.1
end:vcard


  parent reply	other threads:[~2007-10-24  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  5:15 Дмитрий
2007-10-24  5:41 ` Kostarev Alexey
2007-10-24  5:42 ` Kostarev Alexey [this message]
2007-10-24  7:10 ` Алексей Шенцев

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=471EDB61.1030703@nevod.ru \
    --to=kaf@nevod.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