系统集成云计算

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 个回答pengbin的回答

pengbinpengbin网站架构师嘉宝易汇通
回复 3# hailwind


    没有另外配置memcache
系统集成 · 2015-04-14
浏览10294

回答者

pengbin
网站架构师嘉宝易汇通

pengbin 最近回答过的问题

回答状态

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