分享

dashboard连不上去

nuaaxuhao 发表于 2016-10-14 17:08:08 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 11 45210
Ubuntu 16.4 按照官网的文档安装,前面都过了,到了bashboard安装出问题了。
访问http://controller/horizon,连不上去。
Internal Server ErrorThe server encountered an internal error ormisconfiguration and was unable to completeyour request.
Please contact the server administrator at  webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be availablein the server error log.

Apache/2.4.18 (Ubuntu) Server at controller Port 80

访问http://controller 可以访问apache主页


日志/var/log/apache2/error.log

root@controller:/# tail /var/log/apache2/error.log
[Fri Oct 14 16:35:35.112907 2016] [wsgi:error] [pid 23120:tid 140460632770304] [client 10.0.0.11:34288] Timeout when reading response headers from daemon process 'horizon': /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
[Fri Oct 14 16:35:37.848967 2016] [wsgi:error] [pid 23119:tid 140460632770304] [client 10.0.0.11:36242] Truncated or oversized response headers received from daemon process 'horizon': /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
[Fri Oct 14 16:57:45.431932 2016] [wsgi:error] [pid 23119:tid 140460624377600] [client 10.0.0.11:43934] Timeout when reading response headers from daemon process 'horizon': /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
[Fri Oct 14 17:01:14.457092 2016] [wsgi:error] [pid 23119:tid 140460607592192] [client 127.0.0.1:39170] Timeout when reading response headers from daemon process 'horizon': /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
[Fri Oct 14 17:01:20.425217 2016] [wsgi:error] [pid 23120:tid 140460624377600] [client 10.0.0.11:46006] Truncated or oversized response headers received from daemon process 'horizon': /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
[Fri Oct 14 17:04:32.583844 2016] [mpm_event:notice] [pid 2801:tid 140460736960384] AH00493: SIGUSR1 received.  Doing graceful restart
[Fri Oct 14 17:04:32.634199 2016] [wsgi:warn] [pid 2801:tid 140460736960384] mod_wsgi: Compiled for Python/2.7.11.
[Fri Oct 14 17:04:32.634211 2016] [wsgi:warn] [pid 2801:tid 140460736960384] mod_wsgi: Runtime using Python/2.7.12.
[Fri Oct 14 17:04:32.636060 2016] [mpm_event:notice] [pid 2801:tid 140460736960384] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Fri Oct 14 17:04:32.636084 2016] [core:notice] [pid 2801:tid 140460736960384] AH00094: Command line: '/usr/sbin/apache2'


已有(11)人评论

跳转到指定楼层
nuaaxuhao 发表于 2016-10-14 17:08:54
帮忙看看各位,谢谢啦
回复

使用道具 举报

easthome001 发表于 2016-10-14 19:17:42
apache2是否正常启动。
安装的是哪个版本
回复

使用道具 举报

445433045 发表于 2016-10-17 08:58:52
dashboard localsettings文件配置错误了,检查httpd服务是否正常?
回复

使用道具 举报

nuaaxuhao 发表于 2016-10-17 09:46:35
445433045 发表于 2016-10-17 08:58
dashboard localsettings文件配置错误了,检查httpd服务是否正常?

root@controller:/# service apache2  status
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since 五 2016-10-14 14:54:47 CST; 2 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 28299 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/apache2.service
           ├─ 2801 /usr/sbin/apache2 -k start
           ├─28361 (wsgi:horizon)    -k start
           ├─28362 (wsgi:horizon)    -k start
           ├─28363 (wsgi:horizon)    -k start
           ├─28364 (wsgi:keystone-pu -k start
           ├─28365 (wsgi:keystone-pu -k start
           ├─28366 (wsgi:keystone-pu -k start
           ├─28367 (wsgi:keystone-pu -k start
           ├─28368 (wsgi:keystone-pu -k start
           ├─28369 (wsgi:keystone-ad -k start
           ├─28370 (wsgi:keystone-ad -k start
           ├─28371 (wsgi:keystone-ad -k start
           ├─28372 (wsgi:keystone-ad -k start
           ├─28373 (wsgi:keystone-ad -k start
           ├─28374 /usr/sbin/apache2 -k start
           └─28375 /usr/sbin/apache2 -k start

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.



apache 应该是正常的,可以在浏览器访问apache引导页 。你说的 dashboard localsettings文件配置 ,在哪里,我都是按照官方文档配置的。

回复

使用道具 举报

nuaaxuhao 发表于 2016-10-17 09:52:06
445433045 发表于 2016-10-17 08:58
dashboard localsettings文件配置错误了,检查httpd服务是否正常?

你好, /etc/openstack-dashboard/local_settings.py 都是按照这个文档配置的
http://docs.openstack.org/newton ... orizon-install.html

需要我把配置文件贴上来吗?

回复

使用道具 举报

qcbb001 发表于 2016-10-17 14:03:35
nuaaxuhao 发表于 2016-10-17 09:52
你好, /etc/openstack-dashboard/local_settings.py 都是按照这个文档配置的
http://docs.openstack.o ...

上图看一下,在哪个位置出错的
回复

使用道具 举报

starrycheng 发表于 2016-10-17 14:55:02
可能超时造成的。
有篇文章,给楼主推荐下


安装OpenStack Mitaka :安装配置Horizon出现问题总结 (ubuntu 16.04 )
回复

使用道具 举报

445433045 发表于 2016-10-18 10:34:34
nuaaxuhao 发表于 2016-10-17 09:52
你好, /etc/openstack-dashboard/local_settings.py 都是按照这个文档配置的
http://docs.openstack.o ...

enenen
回复

使用道具 举报

MaoYiHN 发表于 2017-1-11 11:30:28
请问楼主的问题解决了吗?本人也遇到类似的问题
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条