需要这个?

gpperfmon_install --enable --password gpmon --port 5432

-bash: gpperfmon_install: command not found

直接安装?

unzip gpcc.zip

报错

Failed to connect to database postgres on 127.0.0.1:5432 as gpadmin: libgssapi_krb5.so: cannot open shared object file: No such file or director

Failed to connect to database postgres on 127.0.0.1:5432 as gpadmin???
psql命令能进啊,为什么这里不能连?

libgssapi_krb5.so这是啥?No such file

百度搜libgssapi_krb5.so
缺少东西,需要安装

yum install krb5-libs

安装了没效果!

找到/usr/lib64里的同名文件


名字不一样啊,复制一个改名叫libgssapi_krb5.so试试

终于,开始安装

./gpccinstall-6.2.0

报错

Would you like to continue with gpcc installation? Yy/Nn (Default=N)
yINSTALLATION IN PROGRESS...
Failed to connect to database as gpmon pq: password authentication failed for user "gpmon"
Failed to connect to database as gpmon pq: password authentication failed for user "gpmon"
Failed to connect to database as gpmon pq: password authentication failed for user "gpmon"
Failed to connect to gpperfmon as gpmon.

gpmon不能连上数据库!密码验证失败

修改pg_hba.conf
给gpmon trust,保证他能连上

local       all           gpmon  127.0.0.1/28   trust
host       all           gpmon  127.0.0.1/28   md5
host       all           gpmon  ::1/128        md5
host       all           gpmon  samenet        md5

命令行/navicat进入数据库gpperfmon,修改gpmon密码

ALTER ROLE gpmon WITH ENCRYPTED PASSWORD 'gpmon';


重新安装

./gpccinstall-6.2.0 -W

密码gpmon,这次能成功了

Would you like to continue with gpcc installation? Yy/Nn (Default=N)
yINSTALLATION IN PROGRESS...********************************************************************************
*                                                                              *
* INSTALLATION COMPLETED SUCCESSFULLY                                          *
*                                                                              *
* Source the gpcc_path.sh or add it to your bashrc file to use gpcc command    *
* utility.                                                                     *
*                                                                              *
* To see the GPCC web UI, you must first start the GPCC webserver.             *
*                                                                              *
* To start the GPCC webserver on the current host, run gpcc start.             *
*                                                                              *
********************************************************************************To manage Command Center, use the gpcc command-line utility.
Usage:gpcc [OPTIONS] <command>Application Options:-v, --version   Show Greenplum Command Center version--settings  Print the current configuration settingsHelp Options:-h, --help      Show this help messageAvailable commands:help        Print list of commandskrbdisable  Disables kerberos authenticationkrbenable   Enables kerberos authenticationstart       Starts Greenplum Command Center webserver and metrics collection agentswith [-W] option to force password prompt for GPDB user gpmon [optional]status      Print agent statuswith [-W] option to force password prompt for GPDB user gpmon [optional]stop        Stops Greenplum Command Center webserver and metrics collection agentswith [-W] option to force password prompt for GPDB user gpmon [optional]

启动

在/tmp/下找到gpcc文件夹

source gpcc_path.shgpcc start -W
gpcc stop //停止
http://xxx.xx.x.x.:28080/


看到有error,明天再解决,下班了。agent没有启动

[gpadmin@site92 /]$ gpcc status
2020-08-19 18:05:25 GPCC webserver: running
2020-08-19 18:05:27 GPCC agents: 0/3 agents running
2020-08-19 18:05:27 Agent is stopped on site91
2020-08-19 18:05:27 Agent is stopped on site92
2020-08-19 18:05:27 Agent is stopped on site90

需要安装metrics_collector扩展

error

[gpadmin@site92 gppkg]$ psql gpperfmon -c 'create extension metrics_collector'
ERROR:  extension can only be created when shared_preload_libraries contains metrics_collector

设置shared_preload_libraries=metrics_collector
需要重启gp

哦豁,集群启不动了

[gpadmin@site92 extension]$ gpstart -a
20200821:14:34:39:015506 gpstart:site92:gpadmin-[INFO]:-Starting gpstart with args: -a
20200821:14:34:39:015506 gpstart:site92:gpadmin-[INFO]:-Gathering information and validating the environment...
20200821:14:34:39:015506 gpstart:site92:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 6.9.0 build commit:ef010af28862a0fed172ca96620cc1037aac71a0'
20200821:14:34:40:015506 gpstart:site92:gpadmin-[INFO]:-Greenplum Catalog Version: '301908232'
20200821:14:34:40:015506 gpstart:site92:gpadmin-[INFO]:-Starting Master instance in admin mode
20200821:14:34:40:015506 gpstart:site92:gpadmin-[CRITICAL]:-Failed to start Master instance in admin mode
20200821:14:34:40:015506 gpstart:site92:gpadmin-[CRITICAL]:-Error occurred: non-zero rc: 1Command was: 'env GPSESSID=0000000000 GPERA=None $GPHOME/bin/pg_ctl -D /home/gpdata/data/master/gpseg-1 -l /home/gpdata/data/master/gpseg-1/pg_log/startup.log -w -t 600 -o " -p 5432 -c gp_role=utility " start'
rc=1, stdout='waiting for server to start.... stopped waiting
', stderr='pg_ctl: could not start server
Examine the log output.
'
[gpadmin@site92 extension]$ gpstart -a

这个错误我原来不知道是咋造成的,启动log里面没有error,只有正常的info.没办法,找不到错误在哪,就重新初始化集群了。重新初始化,安装gpcc,当我修改了pg_hba.conf后,错误重现了,可是我格式没问题啊,而且删了之后,还是报错。又重现初始化,反复几次,我决定不安装这个垃圾GPCC了,垃圾玩意!

【Greenplum 6.9.0】Greenplum Command Center 6.2安装失败教程相关推荐

  1. A7 ~ A11处理器(iphone5s~iphoneX) 14.0 ~ 14.8.1免越狱安装Trollstore教程

    A7 ~ A11处理器(iphone5s~iphoneX) 14.0 ~ 14.8.1免越狱安装Trollstore教程 前言:本教程适用于A7 ~ A11处理器 14.0 ~ 14.8.1免越狱安装 ...

  2. ESET Nod32 4.0版本手动卸载(用于安装失败无法卸载的状况)。

    1.ESET的高级设置中,取消自我保护(需要重启). 2.将下列脚本存为.bat文件,并运行之: sc config ekrn start= disabled taskkill /im ekrn.ex ...

  3. mysql8.0.13解压版安装密码设置_windows下mysql8.0.13解压版安装图文教程

    本文为大家分享了mysql8.0.13安装图文教程,供大家参考,具体内容如下 1.1. 下载: 我下载的是64位系统的zip包: 下载地址 下载zip的包 1.2.配置环境变量: 变量名:MYSQL_ ...

  4. 戴尔Alienware Command Center重装方法

    当戴尔Alienware Command Center软件出现故障时,官方建议是直接重装,但是重装该软件的难点在于如何卸载干净,本文着重介绍"戴尔技术支持"提供的"卸载干 ...

  5. Dell安装Alienware command center失败解决方案

    1.卸载上一个版本的外星人软件 卸载方法:按win+x 组合键.–应用和功能-中间搜索框,输入alienware 将alienware command center 和alienware comman ...

  6. intel Graphics Command Center

    在win10自带的应用商店中下载了intel Graphics Command Center这个软件,还有一个beta版本的,功能都一样.如果显卡对画面进行了处理或者增强,那么显示器上显示的画面就是显 ...

  7. Hyperledger Fabric 2.0 官方文档中文版 第6章 教程(上)

    Hyperledger Fabric 2.0 官方文档中文版第6章 教程上 总目录 6.教程(上) 将智能合约部署到通道 启动网络 Logspout设置 打包智能合约 安装链码包 批准链码定义 将链码 ...

  8. pip installl lap安装失败 error: Microsoft Visual C++ 14.0 or greater is required.

    lap是使用Jonker-Volgenant算法求解稠密(LAPJV)或稀疏(LAPMOD)矩阵的线性分配问题求解器 为了使用模块lap,结果pip install lap安装失败,命令行提示如下 E ...

  9. node-sass安装失败 error D:\xxx\xxx\node_modules\node-sass: Command failed.(window + mac M1 pro)

    error D:\xxx\xxx\node_modules\node-sass: Command failed. 导言:运行老项目的时候经常遇到node-sass安装不下来的问题,百度搜索更是千篇一律 ...

最新文章

  1. 微生物培养的福音:一个直接用16S rDNA序列来预测其培养基配方的网站
  2. 饥荒机器人怎么用避雷针充电_新款iPhone充电线怎么这么好看~安卓也可以用!...
  3. python qq机器人框架有哪些_使用Python的Tornado框架实现一个简单的WebQQ机器人
  4. php用while循环做出1到10的乘积,PHP实现笛卡尔积算法的实例讲解
  5. mysql binlog查看工具_【使用 Rust 写 Parser】4. 解析 binlog
  6. OSChina 周日乱弹 —— 快喊爸爸
  7. SQL:统计一个数据库中所有表记录的数量
  8. 第0003 天:论团队分工、成长
  9. HtmlTextWriter类的学习
  10. 3.sf2 核心目录及文件结构
  11. ViewState - 页面状态保留
  12. fftshift函数详解
  13. 二维傅里叶变换的意义
  14. 修改域名dns服务器地址,易名中国域名如何修改DNS设置方法
  15. 使用VMware Workstation安装FusionCompute CNA和VRM
  16. CPU的内部架构和工作原理(简介)
  17. 一篇很好的《数据分析》文章
  18. 开机后我的计算机打不开,电脑开机后图标打不开怎么办
  19. 电商运营裂变新玩法—分销渠道系统模式
  20. 今日金融词汇--- 技术面分析

热门文章

  1. 网站域名备案后,被提示公安备案,如何操作?有什么区别?一文读懂!
  2. 我崩溃了!说一下springboot启动时的自动装配过程,大厂直通车!
  3. 正益工场,构建社区型移动众包平台
  4. ES6之遍历器Iterator
  5. Python爬虫|反爬初体验
  6. [转贴]第九届中国国际软件博览会参评软件产品获奖名单揭晓(2005-6-28)
  7. Excel 2010 VBA 入门 056 获取当前Windows登录用户名(Environ)
  8. Altium Designer基础 | AD画图基础设置
  9. div边框的定义方法
  10. 怎么用JS端实现图片、视频时直接下载而不是打开预览