当前位置:网站首页>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 .
边栏推荐
- There are many ways to realize the pause function in JS
- Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
- Lecturer solicitation order | Apache seatunnel (cultivating) meetup sharing guests are in hot Recruitment!
- Vs tool word highlight with margin
- Unity的三种单例模式(饿汉,懒汉,MonoBehaviour)
- Xcode Revoke certificate
- 用手机在通达信上开户靠谱吗?这样炒股有没有什么安全隐患
- TCP framework___ Unity
- PHP实现微信小程序人脸识别刷脸登录功能
- MySQL数据库基本操作-DQL-基本查询
猜你喜欢

模仿企业微信会议室选择

【Vulnhub靶场】THALES:1

Excessive dependence on subsidies, difficult collection of key customers, and how strong is the potential to reach the dream of "the first share of domestic databases"?

Numpy -- epidemic data analysis case

torch. Numel action

Tragedy caused by deleting the console statement

Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench

The unity vector rotates at a point

Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)

Xcode Revoke certificate
随机推荐
Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
laravel构造函数和中间件执行顺序问题
Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"
How does geojson data merge the boundaries of regions?
Aerospace Hongtu information won the bid for the database system research and development project of a unit in Urumqi
Laravel post shows an exception when submitting data
PHP实现执行定时任务的几种思路详解
The unity vector rotates at a point
[hcsd celebrity live broadcast] teach the interview tips of big companies in person - brief notes
SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
Odoo集成Plausible埋码监控平台
hellogolang
通知Notification使用全解析
95. (cesium chapter) cesium dynamic monomer-3d building (building)
JS modularization
目标跟踪常见训练数据集格式
Vs tool word highlight with margin
spark调优(三):持久化减少二次查询
Application example of infinite list [uigridview]
Odoo integrated plausible embedded code monitoring platform