案例说明:
KingbaseES R6集群启动时,出现“incorrect command permissions for the virtual ip”故障,本案例介绍了如何分析和解决此案例方法和步骤。
数据库版本:
test=# select version();
version ----------------------------------------------------------------------------------------------------------------------
KingbaseES V008R006C005B0023 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46), 64-bit
(1 row)
集群架构:
一、集群启动失败
[kingbase@node3 bin]$ ./sys_monitor.sh start2021-03-01 13:27:26 Ready to start all DB …2021-03-01 13:27:26 begin to start DB on “[192.168.7.243]”.
incorrect command permissions for the virtual ip.
waiting for server to start… done
server started2021-03-01 13:27:30 execute to start DB on “[192.168.7.243]” success, connect to check it.2021-03-01 13:27:31 DB on “[192.168.7.243]” start success.2021-03-01 13:27:32 Try to ping trusted_servers on host 192.168.7.248 …2021-03-01 13:27:34 Try to ping trusted_servers on host 192.168.7.243 …2021-03-01 13:27:37 begin to start DB on “[192.168.7.248]”.
incorrect command permissions for the virtual ip.
waiting for server to start… done
server started2021-03-01 13:27:40 execute to start DB on “[192.168.7.248]” success, connect to check it.2021-03-01 13:27:41 DB on “[192.168.7.248]” start success.ERROR: No execute permission for “/home/kingbase/cluster/R6C5/R6C5R//kingbase/bin/arping”
incorrect command permissions for the virtual ip.2021-03-01 13:27:41 There is no primary DB running, will do nothing and exit.
=从以上错误信息可知&
金仓数据库KingbaseES V8R6集群启动‘incorrect command permissions for the virtual ip’故障案例
![](https://img-home.csdnimg.cn/images/20240711042549.png)