免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3024 | 回复: 2

[OpenStack] entos7安装kilo,keystone过程中httpd服务失败 [复制链接]

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-09-23 06:20:00
发表于 2015-09-11 21:59 |显示全部楼层
centos7安装kilo,在安装keystone过程中,执行最后一步,“systemctl start httpd.service”失败下面是日志:
[root@controller httpd]# systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
[root@controller httpd]# tail -n 20 /var/log/messages
Sep 10 12:27:20 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 10 12:27:20 controller kill: kill: cannot find process ""
Sep 10 12:27:20 controller systemd: httpd.service: control process exited, code=exited status=1
Sep 10 12:27:20 controller systemd: Failed to start The Apache HTTP Server.
Sep 10 12:27:20 controller systemd: Unit httpd.service entered failed state.
Sep 10 12:27:32 controller systemd: Starting OpenStack Identity Service (code-named Keystone)...
Sep 10 12:27:35 controller systemd: Started OpenStack Identity Service (code-named Keystone).
Sep 10 12:28:00 controller systemd: Starting The Apache HTTP Server...
Sep 10 12:28:00 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
Sep 10 12:28:00 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
Sep 10 12:28:00 controller httpd: no listening sockets available, shutting down
Sep 10 12:28:00 controller httpd: AH00015: Unable to open logs
Sep 10 12:28:00 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 10 12:28:01 controller kill: kill: cannot find process ""
Sep 10 12:28:01 controller systemd: httpd.service: control process exited, code=exited status=1
Sep 10 12:28:01 controller systemd: Failed to start The Apache HTTP Server.
Sep 10 12:28:01 controller systemd: Unit httpd.service entered failed state.
Sep 10 12:28:01 controller systemd: Created slice user-996.slice.
Sep 10 12:28:01 controller systemd: Starting Session 14 of user pcp.
Sep 10 12:28:01 controller systemd: Started Session 14 of user pcp.



我的分析,可能是没有禁止keystone服务,因为官网指导书有下面的说明:大致的意思是mod_wsgi和keystone端口冲突了
In Kilo, the keystone project deprecates Eventlet in favor of a WSGI server. This
guide uses the Apache HTTP server with mod_wsgi to serve keystone requests
on ports 5000 and 35357. By default, the keystone service still listens on ports
5000 and 35357. Therefore, this guide disables the keystone service.”但是没有相关操作
1.png




在ubuntu的安装手册中,有这个步骤也有相关的操作

2.png

我把keystone禁止了,还是抱同样的错误

论坛徽章:
45
2016猴年福章徽章
日期:2016-02-18 16:42:24平安夜徽章
日期:2015-12-27 09:46:0315-16赛季CBA联赛之八一
日期:2015-12-15 17:08:23黄金圣斗士
日期:2015-12-11 09:16:31天蝎座
日期:2015-12-11 09:16:22戌狗
日期:2015-12-11 09:16:19程序设计版块每周发帖之星
日期:2015-12-11 09:15:21操作系统版块每周发帖之星
日期:2015-12-11 09:15:16IT运维版块每周发帖之星
日期:2015-12-11 09:15:09IT运维版块每月发帖之星
日期:2015-12-11 09:15:01CU十四周年纪念徽章
日期:2015-12-11 09:14:40操作系统版块每日发帖之星
日期:2015-12-11 09:13:36
发表于 2015-09-15 08:04 |显示全部楼层
Sep 10 12:28:00 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
Sep 10 12:28:00 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000

Thisguide uses the Apache HTTP server with mod_wsgi to serve keystone requests on ports 5000 and 35357.

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-09-23 06:20:00
发表于 2015-09-17 21:03 |显示全部楼层
回复 2# csoho2000

问题已经解决,关闭防火墙和selinux
   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP