免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8904 | 回复: 2

redis server went away。。。 [复制链接]

论坛徽章:
0
发表于 2015-05-25 10:40 |显示全部楼层
网站是nginx+php+mysql+redis,机房搬迁后,网站报这个错误,google和排查无果后,前来咨询~
防火墙和selinux已关闭,程序运行正常,telnet测试没问题,

Redis server went away
错误位置
FILE: /home/wwwroot/Core/Library/Think/Cache/Driver/Redis.class.php  LINE: 56
TRACE
#0 /home/wwwroot/Core/Library/Think/Cache/Driver/Redis.class.php(56): Redis->get('hooks')
#1 /home/wwwroot/Core/Common/functions.php(102: Think\Cache\Driver\Redis->get('hooks')
#2 /home/wwwroot/Common/Behavior/InitHookBehavior.class.php(23): S('hooks')
#3 /home/wwwroot/Core/Library/Think/Hook.class.php(119): Common\Behavior\InitHookBehavior->run(NULL)
#4 /home/wwwroot/Core/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\Behavior...', 'app_init', NULL)
#5 /home/wwwroot/Core/Library/Think/App.class.php(17: Think\Hook::listen('app_init')
#6 /home/wwwroot/Core/Library/Think/Think.class.php(120): Think\App::run()
#7 /home/wwwroot/Core/ThinkPHP.php(96): Think\Think::start()
#8 /home/wwwroot/Core/12xue.php(2) : eval()'d code(1) : eval()'d code(167): require('/home/wwwroot/C...')
#9 /home/wwwroot/Core/12xue.php(2) : eval()'d code(1): eval()
#10 /home/wwwroot/Core/12xue.php(2): eval()
#11 /home/wwwroot/wwwroot/index.php(22): require('/home/wwwroot/C...')
#12 {main}

论坛徽章:
0
发表于 2015-05-25 14:18 |显示全部楼层
一般是Redis进程未启动

论坛徽章:
0
发表于 2015-06-01 16:10 |显示全部楼层
回复 2# satrun7


    不是,都检查了,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP