摘要: 参考博客文章:redis5.0.4 集群搭建说明:就目前亲测,redis5.0以上版本都可以这么做。 阅读全文
posted @ 2020-09-26 12:46 挑战者V 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 错误详细信息: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: GC overhead limi 阅读全文
posted @ 2020-09-26 12:44 挑战者V 阅读(7077) 评论(0) 推荐(0) 编辑
摘要: 错误关键信息: There is no normal TM 只需在配置文件添加如下代码即可(application.properties): tx-lcn.manager.host=0.0.0.0 错误原因:与redis没有开放远程连接问题性质一样。 参考资料:记录一次Tx_LCN连接失败的问题( 阅读全文
posted @ 2020-09-26 12:43 挑战者V 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: ubuntu16.04防火墙开启和常用命令: sudo apt-get install ufw #安装防火墙 sudo ufw status #防火墙状态 sudo ufw enable #开启防火墙 sudo ufw allow 22 #开启端口 sudo ufw reload #重启防火墙 su 阅读全文
posted @ 2020-09-26 12:42 挑战者V 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 应用场景:将B服务器的文件传输到A服务器。核心命令: sshpass -p 123456 scp ubuntu@192.168.52.1:/home/ubuntu/"TEST"''$(date +"%Y")''$[$(date +"%j"+$i)] /home/test 需要安装sshpass。 u 阅读全文
posted @ 2020-09-26 12:35 挑战者V 阅读(5966) 评论(0) 推荐(0) 编辑
摘要: 错误详细信息: *** ERROR: Invalid configuration for cluster creation. *** Redis Cluster requires at least 3 master nodes. *** This is not possible with 4 nod 阅读全文
posted @ 2020-09-26 12:33 挑战者V 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 错误信息: com.codingapi.txlcn.logger.AbstractTxLogger.error(AbstractTxLogger.java:70) - business code error attempts to join the non-existent transaction 阅读全文
posted @ 2020-09-26 12:32 挑战者V 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 错误关键信息: (error) CLUSTERDOWN Hash slot not served 错误原因:没有分配槽,因为redis集群要分配16384个槽来储存数据,那么没有分配槽则报如上错误 解决办法: Can I set the above configuration? (type 'yes 阅读全文
posted @ 2020-09-26 12:30 挑战者V 阅读(2423) 评论(0) 推荐(0) 编辑