报错信息如下
解决方法:独立开启服务
将mq的进程杀掉
ps -ef | grep rabbitmq | grep -v grep | awk '{print $2}' | xargs kill -9
启动mq
rabbitmq-server -detached //独立启动服务
查询mq的状态
[root@ct ~]# rabbitmqctl status
Status of node rabbit@localhost
[{pid,31701},
{running_applications,
[{rabbit,"RabbitMQ","3.6.16"},
{mnesia,"MNESIA CXC 138 12","4.14.3"},
{ranch,"Socket acceptor pool for TCP protocols.","1.3.2"},
{rabbit_common,
"Modules shared by rabbitmq-server and rabbitmq-erlang-client",
"3.6.16"},
{xmerl,"XML parser","1.3.14"},
{ssl,"Erlang/OTP SSL application","8.1.3.1"},
{os_mon,"CPO CXC 138 46","2.4.2"},
{compiler,"ERTS CXC 138 10","7.0.4.1"},
{public_key,"Public key infrastructure","1.4"},
{crypto,"CRYPTO","3.7.4"},
{syntax_tools,"Syntax tools","2.1.1"},
{asn1,"The Erlang ASN1 compiler version 4.0.4","4.0.4"},
{recon,"Diagnostic tools for production use","2.3.2"},
{sasl,"SASL CXC 138 11","3.0.3"},
{stdlib,"ERTS CXC 138 10","3.3"},
{kernel,"ERTS CXC 138 10","5.2"}]},
{os,{unix,linux}},
{erlang_version,
"Erlang/OTP 19 [erts-8.3.5.3] [source] [64-bit] [smp:4:4] [async-threads:64] [hipe] [kernel-poll:true]\n"},
{memory,
[{connection_readers,0},
{connection_writers,0},
{connection_channels,0},
{connection_other,0},
{queue_procs,2832},
{queue_slave_procs,0},
{plugins,0},
{other_proc,22069376},
{metrics,184192},
{mgmt_db,0},
{mnesia,60912},
{other_ets,1981568},
{binary,53288},
{msg_index,41960},
{code,21466428},
{atom,891849},
{other_system,9739715},
{allocated_unused,20893608},
{reserved_unallocated,0},
{total,74104832}]},
{alarms,[]},
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
{vm_memory_calculation_strategy,rss},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,3272820326},
{disk_free_limit,50000000},
{disk_free,25944420352},
{file_descriptors,
[{total_limit,924},{total_used,2},{sockets_limit,829},{sockets_used,0}]},
{processes,[{limit,1048576},{used,154}]},
{run_queue,0},
{uptime,7},
{kernel,{net_ticktime,60}}]
之后再运行
[root@ct ~]# rabbitmqctl add_user openstack RABBIT_PASS
Creating user "openstack"
[root@ct ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/"
错误消失