当前位置:网站首页>Tidb cannot start after modifying the configuration file
Tidb cannot start after modifying the configuration file
2022-07-07 16:25:00 【shy_ snow】
tiup cluster edit-config tidb-dev Restart the cluster discovery after modifying the configuration file pd Component failed to start :
Error: failed to start pd: failed to start: pd 10.37.62.111:2379, please check the instance's log(/data01/MPP/tidb/tidb-deploy/pd-2379/log) for more detail.: timed out waiting for port 2379 to be started after 2m0s
Verbose debug logs has been written to /home/xx/.tiup/logs/tiup-cluster-debug-2022-07-06-10-33-32.log.
Error: run `/home/xx/.tiup/components/cluster/v1.3.2/tiup-cluster` (wd:/home/tydic/.tiup/data/TAloSQM) failed: exit status 1
Check debugger The log found that it passed ssh Remote start pd After the service, it has been unable to detect pd The port of ,2 Minutes later, there will be an error .
Put the command in the log : systemctl start pd-2379.service
see pd-2379.service The content of :
exec bin/pd-server \
--name="pd-192.168.129.110-2379" \
--client-urls="http://0.0.0.0:2379" \
--advertise-client-urls="http://192.168.129.110:2379" \
--peer-urls="http://0.0.0.0:2380" \
--advertise-peer-urls="http://192.168.129.110:2380" \
--data-dir="/data01/MPP/tidb/tidb-data/pd-2379" \
--initial-cluster="pd-192.168.129.111-2379=http://192.168.129.111:2380,pd-192.168.129.112-2379=http://192.168.129.112:2380,pd-192.168.129.113-2379=http://192.168.129.113:2380,pd-192.168.129.114-2379=http://192.168.129.114:2380,pd-192.168.129.110-2379=http://192.168.129.110:2380" \
--config=conf/pd.toml
Copy it out and execute , It is found that the error is pd.toml There is an unrecognized configuration in , Directly modifying pd.toml, then sudo systemctl start pd-2379.service Successful startup pd, Other nodes are also started ;
And then through tiup cluster start cluster-name Successful launch .
边栏推荐
猜你喜欢

平衡二叉树(AVL)

torch.numel作用

【Vulnhub靶场】THALES:1

95. (cesium chapter) cesium dynamic monomer-3d building (building)

Continuous creation depends on it!

谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题
![[vulnhub range] thales:1](/img/fb/721d08697afe9b26c94fede628c4d1.png)
[vulnhub range] thales:1

Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench

Xcode Revoke certificate
通知Notification使用全解析
随机推荐
leetcode 241. Different ways to add parentheses design priority for operational expressions (medium)
Migration and reprint
Laravel5.1 Routing - routing packets
laravel 是怎么做到运行 composer dump-autoload 不清空 classmap 映射关系的呢?
Numpy -- data cleaning
分步式監控平臺zabbix
统计学习方法——感知机
Mysql database basic operation DQL basic query
TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
Balanced binary tree (AVL)
You Yuxi, coming!
Shandong old age Expo, 2022 China smart elderly care exhibition, smart elderly care and aging technology exhibition
Mysql database backup script
HAVE FUN | “飞船计划”活动最新进展
A link opens the applet code. After compilation, it is easy to understand
Continuous creation depends on it!
Vs tool word highlight with margin
Bidding announcement: Fujian Rural Credit Union database audit system procurement project (re bidding)
平衡二叉树(AVL)
如何快速检查钢网开口面积比是否符合 IPC7525