dashboard 安装完服务以后打不开页面

页面报错信息


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

Please contact the server administrator atroot@localhost to inform them of the time this error occurred, and the actionsyou performed just before this error.

More information about this error may beavailable in the server error log.

控制节点http报错信息为

[Tue Apr 24 14:40:06.444211 2018] [suexec:notice] [pid 45348] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Apr 24 14:40:06.456994 2018] [auth_digest:notice] [pid 45348] AH01757: generating secret for digest authentication ...
[Tue Apr 24 14:40:06.457595 2018] [lbmethod_heartbeat:notice] [pid 45348] AH02282: No slotmem from mod_heartmonitor
[Tue Apr 24 14:40:06.468699 2018] [mpm_prefork:notice] [pid 45348] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Apr 24 14:40:06.468741 2018] [core:notice] [pid 45348] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Apr 24 14:44:21.353616 2018] [core:error] [pid 45364] [client 192.168.205.32:53450] Script timed out before returning headers: django.wsgi
[Tue Apr 24 14:44:26.491604 2018] [core:error] [pid 45368] [client 192.168.205.32:53453] Script timed out before returning headers: django.wsgi
[Tue Apr 24 14:48:25.817236 2018] [core:error] [pid 45367] [client 192.168.205.32:53451] End of script output before headers: django.wsgi
[Tue Apr 24 14:54:33.425753 2018] [mpm_prefork:notice] [pid 45348] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Apr 24 14:55:10.192037 2018] [suexec:notice] [pid 45904] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Apr 24 14:55:10.209437 2018] [auth_digest:notice] [pid 45904] AH01757: generating secret for digest authentication ...
[Tue Apr 24 14:55:10.210241 2018] [lbmethod_heartbeat:notice] [pid 45904] AH02282: No slotmem from mod_heartmonitor
[Tue Apr 24 14:55:10.222873 2018] [mpm_prefork:notice] [pid 45904] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Apr 24 14:55:10.222934 2018] [core:notice] [pid 45904] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

    [Tue Apr 30 09:13:28.752984 2019] [core:notice] [pid 1779] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    [Tue Apr 30 09:17:00.270959 2019] [mpm_prefork:notice] [pid 1779] AH00170: caught SIGWINCH, shutting down gracefully
    [Tue Apr 30 09:17:52.849026 2019] [suexec:notice] [pid 2955] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Apr 30 09:17:52.871018 2019] [auth_digest:notice] [pid 2955] AH01757: generating secret for digest authentication ...
    [Tue Apr 30 09:17:52.871898 2019] [lbmethod_heartbeat:notice] [pid 2955] AH02282: No slotmem from mod_heartmonitor
    [Tue Apr 30 09:17:52.889236 2019] [mpm_prefork:notice] [pid 2955] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations

 /var/log/messages 里出现如下报错 

 

 

解决办法:

vim /etc/httpd/conf.d/openstack-dashboard.conf
找到WSGISocketPrefix run/wsgi 在下面加一行代码:
WSGIApplicationGroup %{GLOBAL}
保存,重启httpd服务。

 

posted @ 2019-04-30 09:27  jimmy阳  阅读(3868)  评论(0编辑  收藏  举报