| От | Tom Lane |
|---|---|
| Тема | Re: BUG #1549: initdb doesn't work |
| Дата | |
| Msg-id | 8977.1111167716@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #1549: initdb doesn't work (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-bugs |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Daniel van Eeden wrote:
>> creating template1 database in /opt/postgresql/data/base/1 ... FATAL:
>> semctl(10977333, 16, SETVAL, 536) failed: Invalid argument
> That is a problem with semaphores in your kernel. Have you modified
> your postgresql.conf from the default? If so, you should read the
> PostgreSQL documentation on how to modify your kernel for larger
> settings.
But it's failing at semctl() not semget(). So it seems he hasn't run
out of semaphores. I wonder if SEMVMX is unusually small on his setup
(ie, less than 536). My Linux semctl man page says that that case would
return ERANGE not EINVAL, but ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера