系统集成 云计算

openstack dashboard报500错

我在尝试安装openstack dashboard时,访问报错如下:Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, root@localhost and inform them of the time... 显示全部
我在尝试安装openstack dashboard时,访问报错如下:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


查看日志:
[root@network httpd]# more error_log
[Fri Apr 10 15:55:35 2015] [notice] caught SIGTERM, shutting down
[Fri Apr 10 15:55:35 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 10 15:55:35 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 10 15:55:35 2015] [notice] Digest: done
[Fri Apr 10 15:55:35 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113] mod_wsgi (pid=3249): Exception occurred processing WSGI script '/usr/share
/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113] Traceback (most recent call last):
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", li
ne 219, in __call__
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     self.load_middleware()
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", li
ne 37, in load_middleware
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/utils/functional.py", line
184, in inner
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     self._setup()
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 42
, in _setup
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     self._wrapped = Settings(settings_module)
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 93
, in __init__
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line
35, in import_module
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     __import__(name)
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../open
stack_dashboard/settings.py", line 223, in
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]     from local.local_settings import *  # noqa
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../open
stack_dashboard/local/local_settings.py", line 109
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]      'LOCATION' : '127.0.0.1:11211',
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]                 ^
[Fri Apr 10 15:55:42 2015] [error] [client 172.20.58.113]  SyntaxError: invalid syntax
[root@network httpd]#

有哪位朋友碰到过?或者知道如何解决?

谢谢! 收起
参与8

查看其它 6 个回答hailwind 的回答

hailwind hailwind 系统架构师 犀思云计算科技有限公司
应该是/etc/openstack-dashboard/local_settions里面关于memcache地方配置错误
互联网服务 · 2015-04-10
浏览10347

回答者

hailwind
系统架构师 犀思云计算科技有限公司
擅长领域: 私有云云管平台桌面云
评论125

hailwind 最近回答过的问题

回答状态

  • 发布时间:2015-04-10
  • 关注会员:1 人
  • 回答浏览:10347
  • X社区推广