匿名用户mogdb无法启动
ptk安装集群后无法启动,请问怎么排查,怎么处理。
启动日志:
[xxx@node2 ~]$ ptk cluster -n xxx_cluster start
INFO[2023-09-15T02:34:59.282] operation: start
INFO[2023-09-15T02:34:59.282] ========================================
ERRO[2023-09-15T02:34:59.334] execute cm_ctl command failed
COMMAND: . ~/.ptk_mogdb_env; /opt/mogdb/app/bin/cm_ctl start -t 600
ERROR: exit status 255
OUTPUT: cm_ctl: checking cluster status.
cm_ctl: checking cluster status.
cm_ctl: checking finished in 33 ms.
cm_ctl: Failed to execute the shell command with the pssh exit code 127.
cm_ctl: failed to check the cluster running status.
exit status 255
[xxx@node2 ~]$
cm日志:
2023-09-15 02:34:59.279 tid=15570 DEBUG1: ip: "192.168.60.192", cmd: "cm_ctl query -v -C -i".
2023-09-15 02:34:59.279 tid=15570 DEBUG1: 460 : connect to cmserver failed: could not connect to server:
Is the server running on host "192.168.60.192" and accepting
TCP/IP connections on port 15300?
.
2023-09-15 02:34:59.279 tid=15570 DEBUG1: can't connect to cm_server node 1 node_name node2
2023-09-15 02:34:59.280 tid=15570 DEBUG1: 460 : connect to cmserver failed: could not connect to server:
Is the server running on host "192.168.60.191" and accepting
TCP/IP connections on port 15300?
.
2023-09-15 02:34:59.280 tid=15570 DEBUG1: can't connect to cm_server node 2 node_name node3
2023-09-15 02:34:59.280 tid=15570 DEBUG1: CMServer State: node=1 nodeName=node2 ip=192.168.60.192 instanceId=1 DataPath= state=Down
2023-09-15 02:34:59.280 tid=15570 DEBUG1: CMServer State: node=2 nodeName=node3 ip=192.168.60.191 instanceId=2 DataPath= state=Down
2023-09-15 02:34:59.280 tid=15570 DEBUG1: query_kerberos: MPPDB_KRB5_FILE_PATH get fail.
2023-09-15 02:34:59.280 tid=15570 ERROR: can't connect to cm_server.
Maybe cm_server is not running, or timeout expired. Please try again.
2023-09-15 02:34:59.298 tid=15572 DEBUG1: ip: "192.168.60.192", cmd: "cm_ctl start -t 600".
2023-09-15 02:34:59.298 tid=15572 DEBUG1: [InitResStat] no custom resource config.
2023-09-15 02:34:59.298 tid=15572 LOG: checking cluster status.
2023-09-15 02:34:59.298 tid=15572 LOG: checking cluster status.
2023-09-15 02:34:59.298 tid=15572 DEBUG1: start check cluster running status with command if [ -f "/etc/profile" ]; then source /etc/profile; fi; if [ -f "$HOME/.bashrc" ]; then source $HOME/.bashrc; fi; if [ -f "" ]; then source ; fi; pssh -t 60 -O ConnectTimeout=5 -O ConnectionAttempts=3 -O ServerAliveInterval=15 -O ServerAliveCountMax=3 -h /opt/mogdb/app/bin/hosts " if [ -f \"/etc/profile\" ]; then source /etc/profile; fi; if [ -f \"\$HOME/.bashrc\" ]; then source \$HOME/.bashrc; fi; if [ -f \"\" ]; then source ; fi; /opt/mogdb/app/bin/cm_ctl check -B cm_agent -T /opt/mogdb/app/bin/cm_agent > /dev/null; " 2>&1; .
2023-09-15 02:34:59.332 tid=15572 DEBUG1: /usr/bin/env: python3: No such file or directory
2023-09-15 02:34:59.332 tid=15572 LOG: checking finished in 33 ms.
2023-09-15 02:34:59.332 tid=15572 ERROR: Failed to execute the shell command with the pssh exit code 127.
2023-09-15 02:34:59.332 tid=15572 ERROR: failed to check the cluster running status.
我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏

评论
