分享

centos7安装dashboard,登录报错

a5525510 发表于 2015-9-18 17:34:11 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 6 26173
环境centos7,kilo
部署完成dashbord,登录http://10.0.0.11/dashboard
提示错误
Not Found
The requested URL /dashboard was not found on this server.
检查httpd的“error_log”
发现有如下错误信息
请大神看看,如何解决[mw_shl_code=actionscript3,true][Fri Sep 18 04:30:41.977705 2015] [autoindex:error] [pid 1253] [client 10.0.0.2:64608] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Fri Sep 18 04:31:53.342569 2015] [autoindex:error] [pid 24944] [client 10.0.0.2:64690] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Fri Sep 18 05:01:32.049921 2015] [autoindex:error] [pid 24945] [client 10.0.0.2:50957] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive[/mw_shl_code]
检查access.log有如下错误
[mw_shl_code=actionscript3,true][Thu Sep 17 20:51:57.968118 2015] [mpm_prefork:notice] [pid 1144] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 17 20:51:57.968304 2015] [core:notice] [pid 1144] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Sep 18 04:30:41.977705 2015] [autoindex:error] [pid 1253] [client 10.0.0.2:64608] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Fri Sep 18 04:31:53.342569 2015] [autoindex:error] [pid 24944] [client 10.0.0.2:64690] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Fri Sep 18 05:01:32.049921 2015] [autoindex:error] [pid 24945] [client 10.0.0.2:50957] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive[/mw_shl_code]


已有(6)人评论

跳转到指定楼层
s060403072 发表于 2015-9-18 19:05:27
dashboard安装在哪个节点上了


回复

使用道具 举报

a5525510 发表于 2015-9-18 19:25:48
s060403072 发表于 2015-9-18 19:05
dashboard安装在哪个节点上了

控制节点
回复

使用道具 举报

s060403072 发表于 2015-9-18 19:34:21
[mw_shl_code=bash,true]http://10.0.0.11/horizon[/mw_shl_code]
回复

使用道具 举报

a5525510 发表于 2015-9-18 19:59:30
回复

使用道具 举报

s060403072 发表于 2015-9-18 20:37:59

这个自己设置的
回复

使用道具 举报

a5525510 发表于 2015-9-20 00:18:32
s060403072 发表于 2015-9-18 19:05
dashboard安装在哪个节点上了

我现在登录dashboard报错

[Sat Sep 19 16:04:54.371911 2015] [:error] [pid 4331] Login successful for user "admin".
[Sat Sep 19 16:04:54.378715 2015] [:error] [pid 4331] Internal Server Error: /dashboard/auth/login/
[Sat Sep 19 16:04:54.378748 2015] [:error] [pid 4331] Traceback (most recent call last):
[Sat Sep 19 16:04:54.378752 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Sat Sep 19 16:04:54.378755 2015] [:error] [pid 4331]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Sat Sep 19 16:04:54.378758 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Sat Sep 19 16:04:54.378778 2015] [:error] [pid 4331]     return view(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378786 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Sat Sep 19 16:04:54.378789 2015] [:error] [pid 4331]     response = view_func(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378792 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Sat Sep 19 16:04:54.378794 2015] [:error] [pid 4331]     response = view_func(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378797 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 111, in login
[Sat Sep 19 16:04:54.378800 2015] [:error] [pid 4331]     **kwargs)
[Sat Sep 19 16:04:54.378802 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Sat Sep 19 16:04:54.378805 2015] [:error] [pid 4331]     return view(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378808 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Sat Sep 19 16:04:54.378810 2015] [:error] [pid 4331]     response = view_func(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378813 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Sat Sep 19 16:04:54.378815 2015] [:error] [pid 4331]     response = view_func(request, *args, **kwargs)
[Sat Sep 19 16:04:54.378818 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
[Sat Sep 19 16:04:54.378820 2015] [:error] [pid 4331]     auth_login(request, form.get_user())
[Sat Sep 19 16:04:54.378823 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 102, in login
[Sat Sep 19 16:04:54.378825 2015] [:error] [pid 4331]     if _get_user_session_key(request) != user.pk or (
[Sat Sep 19 16:04:54.378828 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
[Sat Sep 19 16:04:54.378830 2015] [:error] [pid 4331]     return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
[Sat Sep 19 16:04:54.378833 2015] [:error] [pid 4331]   File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 969, in to_python
[Sat Sep 19 16:04:54.378835 2015] [:error] [pid 4331]     params={'value': value},
[Sat Sep 19 16:04:54.378838 2015] [:error] [pid 4331] ValidationError: [u'\\u20191b23b9593b73436ca4576c7f8090b826\\u2018 \\u5fc5\\u987b\\u4e3a\\u6574\\u6570\\u3002']

回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条