Openstack Kilo安装错误汇总

在Centos下安装Openstack Kilo时遇到了多个错误,包括Apache HTTP Server配置错误,地址已被占用,镜像上传失败,计算节点启动错误,AMQP连接问题,网络组件配置问题,以及Cinder Volume创建问题。解决办法涉及修改配置文件,检查端口占用,添加用户,调整锁路径等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

来新公司的差不多一周多的时间在Centos下安装openstack kilo,使用的文档是官方的2015年10月的英文文档,希望大家别把文档搞错了,我之前因为使用了老版本的中文文档,被坑到了。因为kilo的版本更新,很多命令已经逐渐被废弃了,所以建议使用最新版本。

错误1:

配置Apache HTTP server时,
systemctl start httpd.service报错如下:
Job for httpd.service failed. See ‘systemctl status httpd.service’ and ‘journalctl -xn’ for details.

执行systemctl -l status httpd.service,显示如下:
Dec 03 13:06:52 controller httpd[31108]: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/wsgi-keystone.conf:
Dec 03 13:06:52 controller httpd[31108]: Invalid command ‘group=keystone’, perhaps misspelled or defined by a module not included in the server configuration
Dec 03 13:06:52 controller systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 03 13:06:52 controller kill[31110]: kill: cannot find process “”
Dec 03 13:06:52 controller systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 03 13:06:52 controller systemd[1]: Failed to start The Apache HTTP Server.
Dec 03 13:06:52 controller systemd[1]: Unit httpd.service entered failed state.

然后编辑/etc/httpd/conf.d/wsgi-keystone.conf,发现’group=keystone’这一行是和前面的连在一起的,如果从官方文档直接复制的话,就会另起一行,注意有两处’group’都是这样。
改好以后重启,又报错如下:
Dec 03 13:46:00 controller httpd[31653]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
Dec 03 13:46:00 controller httpd[31653]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
D

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值