zoukankan      html  css  js  c++  java
  • redis sentinel无法启动问题

    redis sentinel 正常启动 ./redis-sentinel sentinel.conf 就可以启动, 但是如果linux 操作系统(比如阿里云os)不支持ipv6,就会导致sentinel 启动失败,报 Creating Server TCP listening socket *:26379: unable to bind socket 失败, 这时候必须修改sentinel.conf

    ECS Linux系统默认关闭了Ipv6的功能,所以 redis-sentinel 尝试在 ipv6 的网络接口上监听时,提示出错。可以在 sentinel.conf 里配置文件设置仅监听ipv4的网络接口,修改配置文件 sentinel.conf 在 定义监听端口一行前添加监听IP参数,如 bind 0.0.0.0 ,表示仅监听IPv4,然后重新启动Sentinel即可

  • 相关阅读:
    http方法-get和post
    SVG
    canvas
    h5拖放
    jQuery表单事件
    html标签嵌套
    jquery.eq()
    jquery.index()
    Date对象
    json
  • 原文地址:https://www.cnblogs.com/devilwind/p/6865771.html
Copyright © 2011-2022 走看看