1、Connecting to node 127.0.0.17000 [ERR] Sorry, can't connect to node 192.168.1.917000

redis集群:Connecting to node 127.0.0.1:7000: [ERR] Sorry, can't connect to node 192.168.1.91:7000
2016年12月17日 01:29:53
阅读数:6168
Connecting to node 127.0.0.1:7000: [ERR] Sorry, can't connect to node 192.168.1.91:7001

这个错误的话那就查看下你6个端口是否都启动了,没启动的话会报上面的错误

2、error) NOAUTH Authentication required.

出现认证问题,应该是设置了认证密码,输入密码既可以

方法一、

127.0.0.1:6379> auth "yourpassword"
例如密码是‘root’,当出现认证问题时候,输入“auth ‘root’”即可

127.0.0.1:6379> set name "fish"
(error) NOAUTH Authentication required.
127.0.0.1:6379> auth "root"
127.0.0.1:7000> auth joinu_1233
OK

方法二、

[root@bogon conf]# redis-cli -c -p 7000 -a joinu_1233
127.0.0.1:7000> set name fish
-> Redirected to slot [5798] located at 127.0.0.1:7002
OK
127.0.0.1:7002>

3、redis停止报错

Redis 停止时出现: (error) NOAUTH Authentication required.
复制代码
root@iZ25gdzs0p8Z:~# /etc/init.d/redis_6379 stop
Stopping ...
(error) NOAUTH Authentication required.
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...

解决:

停止时要加登陆时密码。
[root@bogon conf]# redis-cli -c -p 7000 -a joinu_1233 shutdown
[root@bogon conf]# redis-cli -c -p 7000
Could not connect to Redis at 127.0.0.1:7000: Connection refused
Could not connect to Redis at 127.0.0.1:7000: Connection refused
not connected>

4、redis远程连接以及注意事项

[root@mch ~]# ps -ef | grep redis
  root 2175 1 0 08:15 ? 00:00:05 /usr/local/bin/redis-server *:6379

  /usr/local/bin/redis-server *:6379 中通过"*"就可以看出此时是允许所有的ip连接登录到这台redis服务上。

redis-cli -h 192.168.43.75 -p 6379 -a ilanniredis

5、reidis集群报错

[root@localhost src]# ./redis-trib.rb create --replicas 1 127.0.0.1:7000 127.0.0.1:7001 127.0.0.3:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005
报错:[ERR] Sorry, can't connect to node 172.0.0.0:7000
解决:重启centos系统,亲测,网上的都试过,没有用

6、在k8s里面连接redis报错

# redis-cli -h 10.104.130.187
Could not connect to Redis at 10.104.130.187:6379: No route to host
Could not connect to Redis at 10.104.130.187:6379: No route to host

解决:

把endpoint 的地址改成内网地址即可

7、k8s中连接redis错误: java.lang.NumberFormatException: For input string: "6379@16379"

把java配置文件中的端口写死,写成 6379

参考地址:https://blog.csdn.net/murongxuesheng/article/details/81562846

redis报错解决的更多相关文章

  1. gem install redis报错解决

    在执行gem install redis时 提示:    gem install redis    ERROR:  Error installing redis:            redis r ...

  2. redis运用连接池报错解决

    redis使用连接池报错解决redis使用十几小时就一直报异常 redis.clients.jedis.exceptions.JedisConnectionException: Could not g ...

  3. redis报错Windows error 0x70(a large memory)

    redis报错Windows error 0x70 redis 嫌弃你内存不够了,就给你不开第二个实例. The Windows version of Redis allocates a large ...

  4. Redis报错总结

    MISCONF Redis is configured to save RDB snapshots MISCONF Redis is configured to save RDB snapshots, ...

  5. filebeat output redis 报错 i/o timeout

    filebeat output  redis 报错 i/o timeout 先把报错内容贴出来. ERROR redis/client. go: Failed to RPUSH to redis li ...

  6. window下安装redis报错: creating server tcp listening socket 127.0.0.1:6379: bind No error

    window下安装redis报错: creating server tcp listening socket 127.0.0.1:6379: bind No error 解决: 如果没有配置环境,在安 ...

  7. Redis报错 : (error) NOAUTH Authentication required.

    原文:Redis报错 : (error) NOAUTH Authentication required. 这个错误是因为没有用密码登陆认证 , 先输入密码试试 . 127.0.0.1:6379> ...

  8. Windows安装redis报错处理(转!)

    要谈则谈,要打便打! ---2019.5.9,贸易战 转自:http://www.yayihouse.com/yayishuwu/chapter/1297 安装redis报错信息 [9204] 15 ...

  9. 安装Redis-cluster-gem install redis报错的解决方案

    错误描述: [root@eshop-cache01 local]# gem install redis ERROR: Loading command: install (LoadError) cann ...

随机推荐

  1. zencart价格筛选插件

    1.首先,新建文件includes\modules\sideboxes\price_range.php <?php function zen_count_products_in_price($p ...

  2. 【LOJ6671】EntropyIncreaser 与 Minecraft

    Orz lbt Description https://loj.ac/problem/6671 Solution

  3. 记一次基于 mpvue 的小程序开发及上线实战

    小程序名称:一起打车吧 项目地址: 客户端:https://github.com/jrainlau/taxi-together-client 服务端:https://github.com/jrainl ...

  4. scala-currying化

    scala的加里化(currying)纠结了很久.通过Scala Worksheet 可以打印很多调试信息,所以用它写了一些测试代码,帮助自己理解. object test { //一个参数列表,3个 ...

  5. PHP mysqli_get_server_info() 函数

    定义和用法 mysqli_get_server_info() 函数返回 MySQL 服务器版本. 语法 mysqli_get_server_info(connection); 实例 返回 MySQL ...

  6. .net上传整个文件夹

    ASP.NET上传文件用FileUpLoad就可以,但是对文件夹的操作却不能用FileUpLoad来实现. 下面这个示例便是使用ASP.NET来实现上传文件夹并对文件夹进行压缩以及解压. ASP.NE ...

  7. learning armbian steps(7) ----- armbian 源码分析(二)

    从compile.sh开始入手: SRC="$(dirname "$(realpath "${BASH_SOURCE}")")" # fal ...

  8. Rapid Object Detection using a Boosted Cascade of Simple Features 部分翻译

    Rapid ObjectDetection using a Boosted Cascade of Simple Features 使用简单特征级联分类器的快速目标检测 注:部分翻译不准处以红色字体给出 ...

  9. Ubuntu16.04从源码部署安装禅道过程记录

    1.首先把基础的lamp环境搭建好,这里利用apt安装即可 sudo apt install mysql-server sudo apt install apache2 sudo apt instal ...

  10. Python学习日记(一)——初识Python

    Python的优势 互联网公司广泛使用python来做的事一般有:自动化运维.自动化测试.大数据分析.爬虫.Web等. Python与其他语言 C和Python.Java.C#: C  语言:代码编译 ...