分享

centos7安装kilo,keystone安装失败

a5525510 发表于 2015-9-11 08:51:20 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 2 18486
本帖最后由 a5525510 于 2015-9-11 14:19 编辑

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服务,因为官网指导书有下面的说明:
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.”
但是没有相关操作
QQ图片20150911084953.png

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


请大神给分析一下。。。




已有(2)人评论

跳转到指定楼层
hyj 发表于 2015-9-11 11:32:52
直接看centos文档
回复

使用道具 举报

a5525510 发表于 2015-9-11 14:17:23
hyj 发表于 2015-9-11 11:32
直接看centos文档

centos的文档是没有Ubuntu里面那个步骤。但是我感觉就是少了这个步骤,下面就是centos的 QQ图片20150911093037.png

回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条