分享

dashoard日志显示登陆成功但是画面却是服务器出错

ZHOU_GONG 发表于 2017-1-21 21:41:37 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 7020
[Sat Jan 21 09:21:19.731334 2017] [:error] [pid 31265] Login successful for user "admin".
[Sat Jan 21 09:21:21.729261 2017] [:error] [pid 31265] Internal Server Error: /dashboard/auth/login/
[Sat Jan 21 09:21:21.729285 2017] [:error] [pid 31265] Traceback (most recent call last):
[Sat Jan 21 09:21:21.729287 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Sat Jan 21 09:21:21.729288 2017] [:error] [pid 31265]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Sat Jan 21 09:21:21.729289 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Sat Jan 21 09:21:21.729290 2017] [:error] [pid 31265]     return view(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729301 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Sat Jan 21 09:21:21.729302 2017] [:error] [pid 31265]     response = view_func(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729304 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Sat Jan 21 09:21:21.729305 2017] [:error] [pid 31265]     response = view_func(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729306 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 102, in login
[Sat Jan 21 09:21:21.729307 2017] [:error] [pid 31265]     **kwargs)
[Sat Jan 21 09:21:21.729308 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Sat Jan 21 09:21:21.729309 2017] [:error] [pid 31265]     return view(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729310 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Sat Jan 21 09:21:21.729311 2017] [:error] [pid 31265]     response = view_func(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729312 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Sat Jan 21 09:21:21.729313 2017] [:error] [pid 31265]     response = view_func(request, *args, **kwargs)
[Sat Jan 21 09:21:21.729314 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
[Sat Jan 21 09:21:21.729316 2017] [:error] [pid 31265]     auth_login(request, form.get_user())
[Sat Jan 21 09:21:21.729317 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 110, in login
[Sat Jan 21 09:21:21.729318 2017] [:error] [pid 31265]     request.session.cycle_key()
[Sat Jan 21 09:21:21.729319 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py", line 285, in cycle_key
[Sat Jan 21 09:21:21.729320 2017] [:error] [pid 31265]     self.create()
[Sat Jan 21 09:21:21.729321 2017] [:error] [pid 31265]   File "/usr/lib/python2.7/site-packages/django/contrib/sessions/backends/cache.py", line 48, in create
[Sat Jan 21 09:21:21.729322 2017] [:error] [pid 31265]     "Unable to create a new session key. "
[Sat Jan 21 09:21:21.729323 2017] [:error] [pid 31265] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.


已有(3)人评论

跳转到指定楼层
easthome001 发表于 2017-1-21 22:33:09
服务器错误,应该是控制节点的问题,到/var下面看看
回复

使用道具 举报

xiehuilj 发表于 2017-2-7 12:37:15
在dashoard的配置文件里面....把controller:11211改成127.0.0.1:11211然后重启服务..
回复

使用道具 举报

ZHOU_GONG 发表于 2017-2-7 12:54:19
xiehuilj 发表于 2017-2-7 12:37
在dashoard的配置文件里面....把controller:11211改成127.0.0.1:11211然后重启服务..

嗯嗯,解决了,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条