【TiDB 使用环境】测试
【TiDB 版本】
【操作系统】redhat 8.5
【部署方式】自己的台式机上的虚拟机部署
【问题复现路径】做过哪些操作出现的问题?
安装tiup 以及执行tiup cluster也报同样的错误
【遇到的问题:问题现象及影响】
[root@tidb-control ~]# su - tidb
[tidb@tidb-control ~]$ curl --proto ‘=https’ --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5781k 100 5781k 0 0 1461k 0 0:00:03 0:00:03 --:–:-- 1461k
Failed to set mirror: Get “https://tiup-mirrors.pingcap.com/root.json”: dial tcp: lookup tiup-mirrors.pingcap.com on 192.168.0.1:53: read udp 10.0.3.51:48771->192.168.0.1:53: read: connection refused
Error: Get “https://tiup-mirrors.pingcap.com/root.json”: dial tcp: lookup tiup-mirrors.pingcap.com on 192.168.0.1:53: read udp 10.0.3.51:48771->192.168.0.1:53: read: connection refused
Detected shell: bash
Shell profile: /home/tidb/.bash_profile
/home/tidb/.bash_profile has been modified to add tiup to PATH
open a new terminal or source /home/tidb/.bash_profile to use it
Installed path: /home/tidb/.tiup/bin/tiup
Have a try: tiup playground
tiup cluster报错:
[tidb@tidb-control ~]$ tiup cluster
Please check for root manifest file, you may download one from the repository mirror, or try tiup mirror set
to force reset it.
Error: initial repository from mirror(https://tiup-mirrors.pingcap.com/) failed: error loading manifest root.json: open /home/tidb/.tiup/bin/root.json: no such file or directory
【复制黏贴 ERROR 报错的日志】