openstack安装报错及处理

如下启动amqp服务时失败:

Applying 192.168.0.109_mariadb.pp

192.168.0.109_amqp.pp:                            [ ERROR ]

Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.0.109_amqp.pp

Error: Could not start Service[rabbitmq-server]: Execution of ‘/usr/bin/systemctl start rabbitmq-server‘ returned 1: Job for rabbitmq-server.service failed. See ‘systemctl status rabbitmq-server.service‘ and ‘journalctl -xn‘ for details.

You will find full trace in log /var/tmp/packstack/20150904-125106-m9gHVs/manifests/192.168.0.109_amqp.pp.log

手动启动并查看日志:

[[email protected] ~]# journalctl -f

[[email protected] ~]# systemctl restart rabbitmq-server.service

Sep 04 13:48:04 node109.zte.com sshd[12869]: reverse mapping checking getaddrinfo for bogon [192.168.0.101] failed - POSSIBL...TEMPT!

Sep 04 13:48:04 node109.zte.com sshd[12869]: Accepted password for root from 192.168.0.101 port 56258 ssh2

Sep 04 13:48:04 node109.zte.com systemd[1]: Starting Session 201 of user root.

Sep 04 13:48:04 node109.zte.com systemd[1]: Started Session 201 of user root.

Sep 04 13:48:04 node109.zte.com systemd-logind[568]: New session 201 of user root.

Sep 04 13:48:04 node109.zte.com sshd[12869]: pam_unix(sshd:session): session opened for user root by (uid=0)

Sep 04 13:48:11 node109.zte.com systemd[1]: Starting RabbitMQ broker...

Sep 04 13:48:11 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12908.

Sep 04 13:48:11 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12909.

Sep 04 13:48:11 node109.zte.com systemd[1]: rabbitmq-server.service: Got notification message from PID 12912, but reception ... 12895

Sep 04 13:48:42 node109.zte.com rabbitmq-server[12895]: ERROR: epmd error for host node109: timeout (timed out)

Sep 04 13:48:42 node109.zte.com systemd[1]: rabbitmq-server.service: main process exited, code=exited, status=1/FAILURE

Sep 04 13:48:42 node109.zte.com rabbitmqctl[12923]: Stopping and halting node [email protected] ...

Sep 04 13:48:49 node109.zte.com rabbitmqctl[12923]: Error: unable to connect to node [email protected]: nodedown

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: DIAGNOSTICS

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: ===========

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: attempted to contact: [[email protected]]

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: [email protected]:

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: * connected to epmd (port 4369) on node109

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: * epmd reports: node ‘rabbit‘ not running at all

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: no other nodes on node109

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: * suggestion: start the node

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: current node details:

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: - node name: [email protected]

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: - home dir: /var/lib/rabbitmq

Sep 04 13:48:50 node109.zte.com rabbitmqctl[12923]: - cookie hash: Cl5CFarYxY6fT48PiBawHw==

Sep 04 13:48:50 node109.zte.com systemd[1]: rabbitmq-server.service: control process exited, code=exited status=2

Sep 04 13:48:50 node109.zte.com systemd[1]: Failed to start RabbitMQ broker.

Sep 04 13:48:50 node109.zte.com systemd[1]: Unit rabbitmq-server.service entered failed state.

如上面红色标记部分,是因为连接主机node109失败了。检查/etc/hosts文件和/etc/sysconfig/network文件查看主机名设置及解析情况。在network文件中配置主机名并在hosts文件中配置相应的解析记录,然后重启ampq服务并查看日志:

[[email protected] ~]# systemctl restart rabbitmq-server.service

[[email protected] ~]# journalctl -f

Sep 04 13:50:23 node109.zte.com systemd[1]: Starting RabbitMQ broker...

Sep 04 13:50:23 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12970.

Sep 04 13:50:23 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12971.

Sep 04 13:50:23 node109.zte.com systemd[1]: rabbitmq-server.service: Got notification message from PID 12974, but reception ... 12957

Sep 04 13:50:24 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12988.

Sep 04 13:50:24 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12989.

Sep 04 13:50:24 node109.zte.com systemd[1]: Cannot find unit for notify message of PID 12992.

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: RabbitMQ 3.3.5. Copyright (C) 2007-2014 GoPivotal, Inc.

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: ##  ##

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: ##########  Logs: /var/log/rabbitmq/[email protected]

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: ######  ##        /var/log/rabbitmq/[email protected]

Sep 04 13:50:24 node109.zte.com rabbitmq-server[12957]: ##########

Sep 04 13:50:25 node109.zte.com rabbitmq-server[12957]: Starting broker... completed with 0 plugins.

Sep 04 13:50:25 node109.zte.com systemd[1]: Started RabbitMQ broker.

时间: 2024-10-29 03:57:29

openstack安装报错及处理的相关文章

MSSQL 2012安装报错之0x858C001B

之前安装 Microsoft Sql Server 2012 R2 的时候总是报这样的错误: SQL Server Setup has encountered the following error: The SQL Server license agreement cannot be located for the selected edition, enterprise. This could be a result of corrupted media or the edition bei

mysql安装报错

如果编译时出现了以下错误:checking for tgetent in -ltermcap- nochecking for termcap functions library- configure: error: No curses/termcap library found说明 curses/termcap 库没有安装去下载一个ncurses-5.6.tar.gz,wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gztar zx

rlwrap安装报错You need the GNU readline 解决方法

首先大家肯定知道rlwrap是干什么的? 在linux以及unix中,sqlplus的上下左右.回退无法使用,会出现乱码情况.而rlwrap这个软件就是用来解决这个的. 这个错误曾经困扰我很久很久!下载readline 安装,安装好readline 还是无法运行rlwrap的安装程序 在网上搜寻很久才找到一个靠谱的解决方法 原来rlwrap这个程序的安装,需要依赖两个包, 一个是readline,这个readline在RHEL中已经集成了.不需要去专门下载 另外一个包 libtermcap-de

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt.

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt. 转载2016-04-25 12:40:44 标签:linuxitphp 解决方法: 1.为系统安装perl-Geo-IP,默认yum源中没有这个包,特意安装epel第三方yum源[[email protected] ~] rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rp

jira安装报错 Unknown system variable 'default_storage_engine'

公司要使用BUG管理系统,所以对比了一下,最后决定安装jira. 安装后要在网页端,配置数据库,本地数据库是5.1的版本,一直有报错Unknown system variable 'default_storage_engine',在往上查询无果,my.ini设置也没用.把数据库远程连接到一个linux下的5.6版本就正常,最后决定安装5.6版本数据库. 问题解决.有些也是没办法的事情. jira安装报错 Unknown system variable 'default_storage_engin

KVM模块加载失败造成Openstack VM报错Error

今天我接到客户的联系电话,说是 Openstack Icehouse 创建的VM,其中一个VM无法连接上了.我查看Openstack Horizon界面,看VM状态,发现是ERROR.和同事初步判断是KVM模块没有加载产生的Openstack VM报错.排障过程如下: 1.sudo modprobe kvm_intel 开启服务器kvm模块支持. 2.lsmod |grep kvm 查看KVM模块加载状态. 3.ls /dev/kvm 查询KVM的硬件设备. 4.重启Openstack Iceh

DirectX 安装报错: 不能信任一个安装所需的压缩文件,请检查加密服务是否启用并且cabinet文件证书是否有效

DirectX 安装报错 不能信任一个安装所需的压缩文件,请检查加密服务是否启用并且cabinet文件证书是否有效 是直播软件open broadcaster software,这个软件安装的时候提示"your system is missing DirectX components that Open Broadcaster Software requires.Would you like to download them?"然后点是,就跳转微软的官方下载页面了. 下载dxwebse

Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法

出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了. 注意名字不能有下划线 修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了. 1.     修改/etc/sysconfig/network 文件 [[email protected]~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=s

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory

Redis是一个开源的使用ANSI C语言编写.支持网络.可基于内存亦可持久化的日志型.Key-Value数据库,并提供多种语言的API. 本文为大家讲解的是Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法,感兴趣的同学参考下. 错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or