当前位置:网站首页>[redis sentinel] failed listening on port 26379 (TCP) & sentinel mode no response problem solved
[redis sentinel] failed listening on port 26379 (TCP) & sentinel mode no response problem solved
2022-06-12 23:13:00 【Wave point rabbit】
List of articles
problem 1 Failed listening on port 26379 (TCP)
The error information is as follows , This problem is usually caused by the port being occupied , Kill the sentinel process and restart a sentinel process .
[email protected]:/usr/local/bin# redis-sentinel myredisconfig/sentinel.conf
423:X 28 Feb 2022 09:22:32.725 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
423:X 28 Feb 2022 09:22:32.725 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=423, just started
423:X 28 Feb 2022 09:22:32.725 # Configuration loaded
423:X 28 Feb 2022 09:22:32.726 * Increased maximum number of open files to 10032 (it was originally set to 1024).
423:X 28 Feb 2022 09:22:32.726 * monotonic clock: POSIX clock_gettime
423:X 28 Feb 2022 09:22:32.726 # Warning: Could not create server TCP listening socket 127.0.0.1:26379: bind: Address already in use
423:X 28 Feb 2022 09:22:32.726 # Failed listening on port 26379 (TCP), aborting.
ps -ef|grep redis // View sentry progress
kill -9 Sentry progress number
At this point, the sentinel process can be started normally .
problem 2 Sentinel mode is not responding
This problem is usually caused by the configuration file settings , In the green box below 2 The representative should have 2 Sentinels detected master It's down. , Will really think it's dead , And I have only one sentry here , So this is set as 2, It will always wait for other sentinels to decide , The step of re-election never happened . Change to 1 After the error is solved .
simulation 6379 Downtime
After finishing , The re-election process can be carried out normally
Change hands ,6380 Succeeded in usurping the throne
6379 Resurrection can only be 6380 Of slave
Now let 6379 resurrection , You will find that it is no longer master, It became 6380 Of slave.
problem 3-broken pipe
This problem need not be solved , It takes time to update information ~~~
边栏推荐
- Zhengzhou University of light industry -- development and sharing of harmonyos pet health system
- Modify the text color of the menu on the right of toobar
- PostgreSQL 中文社区黑龙江分会和辽宁分会成立啦!
- Mysql case when then函数使用
- Research and Analysis on the development of China's Melamine Industry from 2022 to 2028 and market prospect forecast report
- MySQL基础篇视图的总结
- 项目里面的traceID的设计
- China's elastic belt market trend report, technical dynamic innovation and market forecast
- PHP deletes data of the same item in a two-dimensional array
- Opencv source code compilation
猜你喜欢
Gb28181 protocol -- alarm
Qrcodejs2 QR code generation JS
Design a MySQL table for message queue to store message data
For product managers, which of the two certificates, PMP and NPDP, is more authoritative?
Colab tutorial (super detailed version) and colab pro/colab pro+ usage evaluation
MySQL row to column, column to row, multiple columns to one row, one row to multiple columns
〖Kubernetes指南④〗Pod快速入门
Coordinate transformation in pipelines
Industry reshuffle, a large number of programmers are going to lose their jobs? How can we break the current workplace dilemma
MySQL基础篇视图的总结
随机推荐
InfoQ geek media's 15th anniversary solicitation | brief introduction to the four challenges of building a micro service architecture
The most widely used dynamic routing protocol: OSPF
Modify the text color of the menu on the right of toobar
Design a MySQL table for message queue to store message data
認識的幾比特清華同學都離職了……
CST learning: four element array design of circular patch antenna (II) array formation and combination results
PHP删除二维数组中相同项的数据
web3 原则和去中心化
lua 日期时间
The annual salary of 500000 is one line, and the annual salary of 1million is another line
【LeetCode】103. Zigzag sequence traversal of binary tree
度量学习(Metric Learning)【AMSoftmax、Arcface】
The "fourteenth five year plan" development plan and panoramic strategic analysis report of China's information and innovation industry 2022 ~ 2028
〖Kubernetes指南⑤〗Label快速入门
Colab教程(超级详细版)及Colab Pro/Colab Pro+使用评测
China barcode decoder market trend report, technical innovation and market forecast
Summary of MySQL foundation view
Anti aliasing / anti aliasing Technology
lua 循环语句
China Aquatic Fitness equipment market trend report, technical innovation and market forecast