浏览器显示这个
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.
--------------------------------------------------------------------------------
Apache/2.2.15 (CentOS) Server at 10.20.0.10 Port 80
日志显示这个:
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] mod_wsgi (pid=5352): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] Traceback (most recent call last):
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] self.load_middleware()
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 37, in load_middleware
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] for middleware_path in settings.MIDDLEWARE_CLASSES:
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/utils/functional.py", line 184, in inner
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] self._setup()
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 42, in _setup
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] self._wrapped = Settings(settings_module)
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 93, in __init__
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] __import__(name)
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 223, in <module>
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] from local.local_settings import * # noqa
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/local/local_settings.py", line 98
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] CACHES = {
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] ^
[Tue Aug 11 07:17:40 2015] [error] [client 10.20.0.1] IndentationError: unexpected indent |
|