Centos7安装greenplum遇到的问题

简介: Centos7安装greenplum遇到的问题

Centos7安装greenplum遇到的问题

问题1:gpcheck的时候xfs文件系统报错

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-dedupe hostnames

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-Detected platform: Generic Linux Cluster

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-generate data on servers

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-copy data files from servers

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-delete remote tmp files

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-Using gpcheck config file: /home/hahahahah/greenplum-db/./etc/gpcheck.cnf

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-root has 6 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-root is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-home has 7 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-home is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/sda1 has 7 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/sda1 is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): potential NTPD issue.  gpcheck end time (Wed Jul 25 09:02:10 2018) time on machine (Wed Jul 25 09:02:13 2018)

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-23): XFS filesystem on device /dev/mappe

 

网络解决方法:修改/etc/fstab的配置如下:

/dev/mapper/cl-root     /                       xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

UUID=2d2cd8de-8d11-4cf0-8780-070a806a0fbb /boot                   xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

/dev/mapper/cl-home     /home                   xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

/dev/mapper/cl-swap     swap                    swap    nodev,noatime,inode64,nobarrier,allocsize=16m      0 0

重启不生效!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

解决办法:修改gpcheck的代码:注释掉一行,绕过XFS mounts检查。

 

 

问题2:gp初始化segment节点启动失败,查看日志,问题如下:

20180725:14:15:18:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[WARN]:-Failed to insert port=40000 in /home/iflytek/greenplum/data/primary/gpseg1/postgresql.conf on bigdata-3-24

20180725:14:15:18:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[INFO]:-End Function ED_PG_CONF

20180725:14:15:19:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[FATAL][1]:-Failed Update port number to 40000

主节点操作不了从节点的文件,因为没有安装ed编辑器ed-1.1-3.3.el6.x86_64。安装完之后,初始化成功。

相关文章
|
3天前
|
Linux 网络安全 Python
linux centos上安装python3.11.x详细完整教程
这篇文章提供了在CentOS系统上安装Python 3.11.x版本的详细步骤,包括下载、解压、安装依赖、编译配置、解决常见错误以及版本验证。
27 1
linux centos上安装python3.11.x详细完整教程
|
30天前
|
消息中间件 Linux API
centos7 安装rabbitmq自定义版本及配置
centos7 安装rabbitmq自定义版本及配置
|
1月前
|
安全 关系型数据库 MySQL
Linux(CentOS6)安装MySQL5.6
Linux(CentOS 6)系统上安装MySQL 5.6版本的详细步骤,包括准备数据存放目录、创建用户、下载安装包、初始化数据库、配置服务脚本、设置环境变量等操作。
132 1
|
1天前
|
消息中间件 Linux
centos7安装rabbitmq
centos7安装rabbitmq
|
28天前
|
弹性计算 关系型数据库 MySQL
centos7 mysql安装及配置
本文详细介绍了在阿里云服务器ECS上通过yum源安装MySQL 8.0.12的过程,包括更新yum源、下载并安装MySQL源、解决安装过程中可能遇到的问题等步骤。此外,还介绍了如何启动MySQL服务、设置开机自启、配置登录密码、添加远程登录用户以及处理远程连接异常等问题。适合初学者参考,帮助快速搭建MySQL环境。
139 8
centos7 mysql安装及配置
|
2天前
|
NoSQL Linux Redis
linux之centos安装redis
linux之centos安装redis
|
25天前
|
存储 Linux Docker
CentOS 7.6安装Docker实战案例及存储引擎和服务进程简介
关于如何在CentOS 7.6上安装Docker、介绍Docker存储引擎以及服务进程关系的实战案例。
86 3
CentOS 7.6安装Docker实战案例及存储引擎和服务进程简介
|
1月前
|
Linux 开发工具 数据安全/隐私保护
CentOS7安装流程步骤详细教程
【8月更文挑战第22天】
255 2
CentOS7安装流程步骤详细教程
|
1天前
|
Docker 容器
centos7.3之安装docker
centos7.3之安装docker
|
2天前
|
Linux Python
Linux之centos安装clinkhouse以及python如何连接
Linux之centos安装clinkhouse以及python如何连接