--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
[gpadmin@mdw2 ~]$ cat /etc/redhat-release[gpadmin@mdw2 ~]$ cat hostfile_segonly20160229:18:36:49:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Dumping gpinitsystem_config to logfile for reference
ARRAY_NAME="MyGP"
SEG_PREFIX=gpseg
PORT_BASE=40000
declare -a DATA_DIRECTORY=(/home/gpadmin/gpdata/gpdatap1 /home/gpadmin/gpdata/gpdatap2)
MASTER_HOSTNAME=mdw2
MASTER_DIRECTORY=/home/gpadmin/gpdata/gpmaster
MASTER_PORT=5432
TRUSTED_SHELL=ssh
CHECK_POINT_SEGMENTS=8
ENCODING=UNICODE
MIRROR_PORT_BASE=50000
REPLICATION_PORT_BASE=41000
MIRROR_REPLICATION_PORT_BASE=51000
declare -a MIRROR_DATA_DIRECTORY=(/home/gpadmin/gpdata/gpdatam1 /home/gpadmin/gpdata/gpdatam2)MACHINE_LIST_FILE=/home/gpadmin/hostfile_segonly
20160229:18:39:59:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Parallel process exit status20160229:18:39:59:025435 gpinitsystem:mdw2:gpadmin-[INFO]:------------------------------------------------20160229:18:39:59:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Total processes marked as completed = 520160229:18:39:59:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Total processes marked as killed = 020160229:18:39:59:025435 gpinitsystem:mdw2:gpadmin-[WARN]:-Total processes marked as failed = 1 <<<<<
20160229:18:40:31:025435 gpinitsystem:mdw2:gpadmin-[FATAL]:-Errors generated from parallel processes20160229:18:40:31:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Dumped contents of status file to the log file20160229:18:40:31:025435 gpinitsystem:mdw2:gpadmin-[INFO]:-Building composite backout file20160229:18:39:04:010697 gpcreateseg.sh:mdw2:gpadmin-[FATAL][5]:-Failed to start segment instance database sdw5 /home/gpadmin/gpdata/gpdatap2/gpseg5
20160229:18:40:31:gpinitsystem:mdw2:gpadmin-[FATAL]:-Failures detected, see log file /home/gpadmin/gpAdminLogs/gpinitsystem_20160229.log for more detail Script Exiting!20160229:18:40:31:025435 gpinitsystem:mdw2:gpadmin-[WARN]:-Script has left Greenplum Database in an incomplete state..
creating directory /home/gpadmin/gpdata/gpdatap2/gpseg5 ... okcreating subdirectories ... okselecting default max_connections ... 180selecting default shared_buffers/max_fsm_pages ... 125MB/200000creating configuration files ... okcreating template1 database in /home/gpadmin/gpdata/gpdatap2/gpseg1/base/1 ... 2016-02-29 10:39:03.762725 GMT,,,p19508,th1459763264,,,,0,,,seg-1,,,,,"WARNING","01000","""fsync"": can not be set by the user and will be ignored.",,,,,,,,"set_config_option","guc.c",4336,initdb: error 256 from: "/usr/local/gpdb/bin/postgres" --boot -x0 -F -c max_connections=180 -c shared_buffers=4000 -c max_fsm_pages=200000 < "/dev/null" > "/home/gpadmin/gpdata/gpdatap2/gpseg5.initdb" 2>&1initdb: removing data directory "/home/gpadmin/gpdata/gpdatap2/gpseg5"180selecting default shared_buffers/max_fsm_pages ... 125MB/200000creating configuration files ... okcreating template1 database in /home/gpadmin/gpdata/gpdatap2/gpseg3/base/1 ... 2016-02-29 10:39:04.055714 GMT,,,p12218,th804448320,,,,0,,,seg-1,,,,,"WARNING","01000","""fsync"": can not be set by the user and will be ignored.",,,,,,,,"set_config_option","guc.c",4336,2016-02-29 10:39:03.765776 GMT,,,p27759,th-28538816,,,,0,,,seg-1,,,,,"WARNING","01000","""fsync"": can not be set by the user and will be ignored.",,,,,,,,"set_config_option","guc.c",4336,2016-02-29 18:39:03.933586 CST,,,p27759,th-28538816,,,,0,,,seg-1,,,,,"FATAL","XX000","could not create shared memory segment: 无法分配内存 (pg_shmem.c:183)","Failed system call was shmget(key=2, size=170729952, 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 170729952 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4000) and/or its max_connections parameter (currently 180).The PostgreSQL documentation contains more information about shared memory configuration.",,,,,,"InternalIpcMemoryCreate","pg_shmem.c",183,1 0x8bc698 postgres errstart + 0x2782 0x76032f postgres PGSharedMemoryCreate + 0x16f3 0x7b2fc9 postgres CreateSharedMemoryAndSemaphores + 0x3694 0x8cd729 postgres BaseInit + 0x195 0x53bbbf postgres AuxiliaryProcessMain + 0x31f20160229:18:39:04:010697 gpcreateseg.sh:mdw2:gpadmin-[FATAL][5]:-Failed to start segment instance database sdw5 /home/gpadmin/gpdata/gpdatap2/gpseg5ok在 2016年2月29日,21:31,Keaton Adams <kad...@pivotal.io> 写道:Hello Andy,Here are a few ideas.1.) When the database failed to initialize, did you run the backout script, as noted in the gpinitsystem output? If a gpinitsystem fails for some reason, it is important to review the content of /home/gpadmin/gpAdminLogs and $MASTER_DATA_DIRECTORY/pg_log to see what went wrong, hopefully fix the problem and then, before attempting another gpinitsystem, run the backout_gpinitsystem script to properly clean up from the last failed run:20160225:19:04:43:025577 gpinitsystem:mdw1:gpadmin-[WARN]:-Run command /bin/bash /home/gpadmin/gpAdminLogs/backout_gpinitsystem_gpadmin_20160225_184719 to remove these changes
2.) Are you using the Greenplum Database documentation available on the Pivotal.io Website to help get through the installation process? There are certain OS and kernel parameters that need to be set on each machine in the GPDB cluster before Greenplum Database will initialize and operate properly. All relevant documentation can be found found at the URL below. Of particular interest should be the "Clustering Concepts" guide, the "Best Practices" guide, the "Administrator" guide, and of course, the "Installation" guide. The installation guide will walk step-by-step on how to properly configure the OS and cluster, and actually go though the process of initializing a Greenplum Database:
3.) You are also attempting to use CentOS 7, which Greenplum Database just recently became certified on. Compared to CentOS 6.x, version 7 has major changes to several key aspects of the Operating System, which many GPDB DBA's are still familiarizing themselves with. I have attached my personal notes that I have been working on with some additional / supplemental commands on how to properly set up a Cent 7 system to run Greenplum Database. Use the official "GPDB Install" guide first, with the addition of the attached notes to help properly configure CentOS 7 before attempting a gpinitsystem for the first time.
4.) If, after reviewing the docs on the Pivotal site and what is attached here, GPDB will still not initialize successfully, then I would need more information about the environment to assist further. VMs or physical hardware? What type of network for the GPDB interconnect? Amount of RAM and number of CPU cores per server? Disk configuration? Are you using XFS for the data volumes with the tuning parameters GPDB requires? For the hardware requirements of GPDB, please to refer to the "Cluster Configuration" guide, as well as to this blog post on the Pivotal P.O.V. site: https://blog.pivotal.io/big-data-pivotal/features/how-to-build-a-hardware-cluster-for-pivotal-greenplum-database
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
<GPDB_CentOS7_Supplemental.pdf>邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
What systen are you running on that has 2G of memory? That is an extremely small amount and you will probably need to tune down a bunch of things in order to run. Is it possible to get the systems in the cluster more memory?
Andy
Hello Scott,
Andy
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+unsubscribe@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+unsubscribe@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+unsubscribe@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+unsubscribe@greenplum.org.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
Andy
Hello Scott,
Andy
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To post to this group, send email to gpdb-...@greenplum.org.
Visit this group at https://groups.google.com/a/greenplum.org/group/gpdb-users/.
For more options, visit https://groups.google.com/a/greenplum.org/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.