SlowLaris 发表于 2015-05-25 10:40

redis server went away。。。

网站是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(1028): 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(178): 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}

satrun7 发表于 2015-05-25 14:18

一般是Redis进程未启动

SlowLaris 发表于 2015-06-01 16:10

回复 2# satrun7


    不是,都检查了,
页: [1]
查看完整版本: redis server went away。。。