【 TiDB 使用环境】生产环境
【 TiDB 版本】v5.2.0
【复现路径】tiup cluster stop tidb-cluster -N 192.xx.xx.12:9000
【遇到的问题:问题现象及影响】
/etc/profile.d/history.sh: line 5: ifconfig: command not found
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
/etc/profile.d/history.sh: line 5: ifconfig: command not found
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
Error: failed to stop tiflash: failed to stop: 1xx.xx.xx.xx tiflash-9000.service, please check the instance’s log(/data/tidb-deploy/tiflash-9000/log) for more detail.: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@1xx.xx.xx.xx:10022’ {ssh_stderr: /etc/profile.d/history.sh: line 5: ifconfig: command not found
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c “systemctl daemon-reload && systemctl stop tiflash-9000.service”}, cause: exit status 1