码迷,mamicode.com
首页 > 其他好文 > 详细

devstack安装出现rabbitmq-server安装错误

时间:2015-02-04 14:45:15      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:openstack   devstack   rabbitmq   hostname   

devstack 安装openstack出现rabbitmq-server安装错误,因为修改过hostsname后,重新安装才导致这个错误,下面是解决办法.
问题:
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err  
rabbitmq-server.  
invoke-rc.d: initscript rabbitmq-server, action "start" failed.  
dpkg: error processing rabbitmq-server (--configure):  
 subprocess installed post-installation script returned error exit status 1  
Errors were encountered while processing:  
 rabbitmq-server  
E: Sub-process /usr/bin/dpkg returned an error code (1)  
解决办法:
1.确保hostname -f 正确,不正确编辑/etc/hosts和/etc/hostname两个文件确保一致
2.重启,reboot
3.删除rabbitmq-server, sudo apt-get remove rabbitmq-server 
4.删除rabbitmq-server配置文件,sudo rm -Rf /var/lib/rabbitmq&sudo rm -rf /etc/rabbitmq
5.重新运行./stack.sh

devstack安装出现rabbitmq-server安装错误

标签:openstack   devstack   rabbitmq   hostname   

原文地址:http://blog.csdn.net/a105421548/article/details/43484803

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!