You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "binchen (JIRA)" <ji...@apache.org> on 2016/02/26 04:15:18 UTC
[jira] [Resolved] (HAWQ-446) Master postgres initdb failed(hawq
init cluster)
[ https://issues.apache.org/jira/browse/HAWQ-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
binchen resolved HAWQ-446.
--------------------------
Resolution: Fixed
> Master postgres initdb failed(hawq init cluster)
> ------------------------------------------------
>
> Key: HAWQ-446
> URL: https://issues.apache.org/jira/browse/HAWQ-446
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Build
> Reporter: binchen
> Assignee: Lei Chang
>
> I have built successfully hawq on centos 7 virtualmachine,but I got the message"Master Postgres initdb failed" while executing command "hawq init cluster".I open the two files (master.initdb and segments.initdb),the content is:
> 2016-02-24 12:18:52.348613 GMT,,,p7357,th1804675584,,,,0,,,seg-10000,,,,,"WARNING","01000","""fsync"": can not be set by the user and will be ignored.",,,,,,,,"set_config_option","guc.c",9945,
> 2016-02-24 20:18:52.804748 CST,,,p7357,th1804675584,,,,0,,,seg-10000,,,,,"FATAL","XX000","could not create shared memory segment: Cannot allocate memory (pg_shmem.c:183)","Failed system call was shmget(key=1, size=398258208, 03600).","This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space. To reduce the request size (currently 398258208 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4000) and/or its max_connections parameter (currently 1280).
> The PostgreSQL documentation contains more information about shared memory configuration.",,,,,,"InternalIpcMemoryCreate","pg_shmem.c",183,1 0x8b29a8 postgres errstart + 0x288
> 2 0x777a5f postgres PGSharedMemoryCreate + 0x16f
> 3 0x7c10d6 postgres CreateSharedMemoryAndSemaphores + 0x336
> 4 0x8c36b9 postgres BaseInit + 0x19
> 5 0x5544cb postgres AuxiliaryProcessMain + 0x30b
> 6 0x4a144f postgres main + 0x49f
> 7 0x7faa688c4b15 libc.so.6 __libc_start_main + 0xf5
> 8 0x4a153d postgres <symbol not found> + 0x4a153d
>
> I am sure that the hdfs work fine.
> So,what shoud I do? Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)