急需,为什么我跟着文档做安装部署他显示启动成功但是没有ps -ef | grep gbase8s没有进程呢
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:gbase8s我也不太清楚
【操作系统】:[root@gbase-rss ~]# uname -a
Linux gbase-rss 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@gbase-rss ~]#
【CPU】:
【问题描述】*:为什么我跟着文档做安装部署他显示启动成功但是没有ps -ef | grep gbase8s没有进程呢,感觉没安装好但是提示
./gha_ctl install -p /home/gbase/ -c gbase安装的时候提示成功,启动 gha_ctl start all -l http://10.225.20.68:2379的时候也提示下面的成功
{
"ret":0,
"msg":"Success"
}但是实际上查询不到进程而且[gbase@gbase-rss ~]$ gha_ctl monitor all -l http://10.225.20.68:2379 -H
+----+-------------+--------------+-------+---------+--------+
| No | name | host | port | state | leader |
+----+-------------+--------------+-------+---------+--------+
| 0 | gha_server1 | 10.225.20.68 | 20001 | running | True |
+----+-------------+--------------+-------+---------+--------+
+----+-------+-------+--------------+-------+-----------------+----------+---------+
| No | group | name | host | port | work_dir | state | role |
+----+-------+-------+--------------+-------+-----------------+----------+---------+
| 0 | dn1 | dn1_1 | 10.225.20.68 | 15432 | /data/dn1/dn1_1 | unstable | primary |
| 1 | dn1 | dn1_2 | 10.225.20.69 | 15432 | /data/dn1/dn1_2 | unstable | standby |
| 2 | dn1 | dn1_3 | 10.225.20.70 | 15432 | /data/dn1/dn1_3 | unstable | standby |
+----+-------+-------+--------------+-------+-----------------+----------+---------+
+----+--------------------------+--------+---------+----------+
| No | url | name | state | isLeader |
+----+--------------------------+--------+---------+----------+
| 0 | http://10.225.20.70:2379 | node_2 | healthy | False |
| 1 | http://10.225.20.68:2379 | node_0 | healthy | False |
| 2 | http://10.225.20.69:2379 | node_1 | healthy | True |
+----+--------------------------+--------+---------+----------+也没问题为什么呀谁帮我解答一下急需。
评论
+----+-------------+--------------+-------+---------+--------+
| No | name | host | port | state | leader |
+----+-------------+--------------+-------+---------+--------+
| 0 | gha_server1 | 10.225.20.68 | 20001 | running | True |
+----+-------------+--------------+-------+---------+--------+
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| No | group | name | host | port | work_dir | state | role |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| 0 | dn1 | dn1_1 | 10.225.20.68 | 15432 | /data/dn1/dn1_1 | stopped | primary |
| 1 | dn1 | dn1_2 | 10.225.20.69 | 15432 | /data/dn1/dn1_2 | stopped | standby |
| 2 | dn1 | dn1_3 | 10.225.20.70 | 15432 | /data/dn1/dn1_3 | stopped | standby |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
+----+--------------------------+--------+---------+----------+
| No | url | name | state | isLeader |
+----+--------------------------+--------+---------+----------+
| 0 | http://10.225.20.70:2379 | node_2 | healthy | False |
| 1 | http://10.225.20.68:2379 | node_0 | healthy | False |
| 2 | http://10.225.20.69:2379 | node_1 | healthy | True |
+----+--------------------------+--------+---------+----------+
这是返回的结果您看一下是否成功
| 1 | dn1 | dn1_2 | 10.225.20.69 | 15432 | /data/dn1/dn1_2 | stopped | standby |
| 2 | dn1 | dn1_3 | 10.225.20.70 | 15432 | /data/dn1/dn1_3 | stopped | standby |
dn节点状态都是stopped的,服务没起来,先确定一下版本,发一下安装包的名称
GBase8sV8.8_S3.0.0B01_Centos7.8_x86_64_om.tar.gz这样。
然后我刚刚在10.225.20.69这个主机执行了一下启动命令他没有报错,您看一下。
[gbase@gbase-hdr dn1_2]$ gha_ctl start all -l http://10.225.20.69:2379
{
"ret":0,
"msg":"Success"
}
[gbase@gbase-hdr dn1_2]$ gha_ctl monitor all -l http://10.225.20.68:2379 -H
+----+-------------+--------------+-------+---------+--------+
| No | name | host | port | state | leader |
+----+-------------+--------------+-------+---------+--------+
| 0 | gha_server1 | 10.225.20.68 | 20001 | running | True |
+----+-------------+--------------+-------+---------+--------+
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| No | group | name | host | port | work_dir | state | role |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| 0 | dn1 | dn1_1 | 10.225.20.68 | 15432 | /data/dn1/dn1_1 | stopped | primary |
| 1 | dn1 | dn1_2 | 10.225.20.69 | 15432 | /data/dn1/dn1_2 | stopped | standby |
| 2 | dn1 | dn1_3 | 10.225.20.70 | 15432 | /data/dn1/dn1_3 | stopped | standby |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
+----+--------------------------+--------+---------+----------+
| No | url | name | state | isLeader |
+----+--------------------------+--------+---------+----------+
| 0 | http://10.225.20.70:2379 | node_2 | healthy | False |
| 1 | http://10.225.20.68:2379 | node_0 | healthy | False |
| 2 | http://10.225.20.69:2379 | node_1 | healthy | True |
+----+--------------------------+--------+---------+----------+
+----+-------------+--------------+-------+---------+--------+
| No | name | host | port | state | leader |
+----+-------------+--------------+-------+---------+--------+
| 0 | gha_server1 | 10.225.20.68 | 20001 | running | True |
+----+-------------+--------------+-------+---------+--------+
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| No | group | name | host | port | work_dir | state | role |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
| 0 | dn1 | dn1_1 | 10.225.20.68 | 15432 | /data/dn1/dn1_1 | running | primary |
| 1 | dn1 | dn1_2 | 10.225.20.69 | 15432 | /data/dn1/dn1_2 | running | standby |
| 2 | dn1 | dn1_3 | 10.225.20.70 | 15432 | /data/dn1/dn1_3 | running | standby |
+----+-------+-------+--------------+-------+-----------------+---------+---------+
+----+--------------------------+--------+---------+----------+
| No | url | name | state | isLeader |
+----+--------------------------+--------+---------+----------+
| 0 | http://10.225.20.70:2379 | node_2 | healthy | False |
| 1 | http://10.225.20.68:2379 | node_0 | healthy | False |
| 2 | http://10.225.20.69:2379 | node_1 | healthy | True |
+----+--------------------------+--------+---------+----------+现在呢,现在状态是正常吗
我的文档名叫GBase 8s V8.8_安装部署手册_V2.7_20230606
GBase 8s V8.8_安装部署手册_V2.7_20230606






FATAL: no pg hba.conf entry for host "10.225.40.10"FATAL: no pg hba.conf entry for host "10.225.40.10
但是我明明选择的是常规连接然后主机名和主机都是10.225.20.68然后端口是15432这个端口对吗因为我记得进数据库命令是这个端口gsql -d postgres -p 15432然后数据库是postgres用户名就是gbase安装的这个用户
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526