ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Опять 1c и postgresql-8
@ 2007-10-24  5:15 Дмитрий
  2007-10-24  5:41 ` Kostarev Alexey
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Дмитрий @ 2007-10-24  5:15 UTC (permalink / raw)
  To: community

При запуске он выдает мне:
[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 изменить, тока не пойму на какое значение


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

* Re: [Comm] Опять 1c и postgresql-8
  2007-10-24  5:15 [Comm] Опять 1c и postgresql-8 Дмитрий
@ 2007-10-24  5:41 ` Kostarev Alexey
  2007-10-24  5:42 ` Kostarev Alexey
  2007-10-24  7:10 ` Алексей Шенцев
  2 siblings, 0 replies; 4+ messages in thread
From: Kostarev Alexey @ 2007-10-24  5:41 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: text/plain, Size: 2199 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
>


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


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


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

* Re: [Comm] Опять 1c и postgresql-8
  2007-10-24  5:15 [Comm] Опять 1c и postgresql-8 Дмитрий
  2007-10-24  5:41 ` Kostarev Alexey
@ 2007-10-24  5:42 ` Kostarev Alexey
  2007-10-24  7:10 ` Алексей Шенцев
  2 siblings, 0 replies; 4+ messages in thread
From: Kostarev Alexey @ 2007-10-24  5:42 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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


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

* Re: [Comm] Опять 1c и postgresql-8
  2007-10-24  5:15 [Comm] Опять 1c и postgresql-8 Дмитрий
  2007-10-24  5:41 ` Kostarev Alexey
  2007-10-24  5:42 ` Kostarev Alexey
@ 2007-10-24  7:10 ` Алексей Шенцев
  2 siblings, 0 replies; 4+ messages in thread
From: Алексей Шенцев @ 2007-10-24  7:10 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от Wednesday 24 October 2007 09:15:47 Дмитрий написал(а):
> При запуске он выдает мне:
> [root@db1c ~]# LANG=ru_RU.utf-8 /etc/init.d/postgresql start
> Adjusting environment for postgresql:                                      
>                                                                         [
> DONE ] Creating default database: Файлы, сопутствующие этой системе баз
Вот любопытная статья по теме.
http://www.nclug.ru/content.php?article.160
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

end of thread, other threads:[~2007-10-24  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24  5:15 [Comm] Опять 1c и postgresql-8 Дмитрий
2007-10-24  5:41 ` Kostarev Alexey
2007-10-24  5:42 ` Kostarev Alexey
2007-10-24  7:10 ` Алексей Шенцев

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