当前位置:网站首页>[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 ~~~
边栏推荐
- Anti aliasing / anti aliasing Technology
- The Milvus graphical management tool Attu is coming!
- Flutter库推荐Sizer 可帮助您轻松创建响应式 UI
- Unprecedented analysis of Milvus source code architecture
- Research Report on water sports shoes industry - market status analysis and development prospect forecast
- What you must know about cloud computing
- Analysis report on the 14th five year development plan and operation mode of China's hazardous waste treatment industry from 2022 to 2028
- InfoQ geek media's 15th anniversary solicitation | brief introduction to the four challenges of building a micro service architecture
- Research Report on market supply and demand and strategy of tizanidine industry in China
- MYSQL 行转列、列转行、多列转一行、一行转多列
猜你喜欢

〖Kubernetes指南④〗Pod快速入门

【建议收藏】通俗易懂图解网络知识-第一篇

Alcohol detector based on 51 single chip microcomputer

【Web技术】1348- 聊聊水印实现的几种方式

PostgreSQL 中文社区黑龙江分会和辽宁分会成立啦!
C语言:如何给全局变量起一个别名?

ASP. Net core Middleware

C language: how to give an alias to a global variable?

Web3 principle and decentralization
![[recommended collection] easy to understand graphic network knowledge - Part 1](/img/5a/dc9f1fd6cfdc1350f757b70e368fe3.png)
[recommended collection] easy to understand graphic network knowledge - Part 1
随机推荐
Analysis report on business model innovation path and operation status of China's app store industry from 2022 to 2028
Several Tsinghua students I know have left
80 lines of code to realize simple rxjs
启牛帮开通的股票账户是安全可信的吗?
细数攻防演练中十大关键防守点
PyTorch常用参数初始化方法:【均匀分布、正态(高斯)分布、Xavier、kaiming、正交矩阵、稀疏矩阵、常数、单位矩阵、零填充】
LeetCode —— 26. Remove duplicates from an ordered array
〖Kubernetes指南④〗Pod快速入门
Analysis report on production and marketing demand and investment forecast of China's Melamine Industry from 2022 to 2028
Shardingsphere-proxy-5.0.0 deployment table implementation (I)
InfoQ 极客传媒 15 周年庆征文|简述构建微服务架构的四大挑战
Analysis report on the 14th five year development plan and operation mode of China's hazardous waste treatment industry from 2022 to 2028
【890. 查找和替换模式】
VIM use the lower right 4 keys
lua 循环语句
China's elastic belt market trend report, technical dynamic innovation and market forecast
42岁大厂高管,给30岁-39岁人提个醒:这6个让你变强的习惯,要尽快养成
The carrying capacity of L2 level ADAS increased by more than 60% year-on-year in January, and domestic suppliers "emerged"
Colab tutorial (super detailed version) and colab pro/colab pro+ usage evaluation
【LeetCode】300. Longest ascending subsequence