Rabbitmq没有在solaris 10上离开创业公司

时间:2016-05-03 23:24:13

标签: erlang rabbitmq

我想让Rabbitmq在solaris 10(sparc)上工作。当我运行Rabbitmq时,我得到了启动屏幕

          RabbitMQ 3.6.1. Copyright (C) 2007-2016 Pivotal Software, Inc.
##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
##  ##
##########  Logs: /opt/rabbitmq/log/rabbit@192.168.0.1.log
######  ##        /opt/rabbitmq/log/rabbit@192.168.0.1-sasl.log
##########
          Starting broker... completed with 8 plugins.

如果我做了rabbitmqctl状态

,那么它就会挂起
Status of node 'rabbit@192.168.0.1' ...
Error: unable to connect to node 'rabbit@192.168.0.1': nodedown

DIAGNOSTICS
===========

attempted to contact: ['rabbit@192.168.0.1']

rabbit@192.168.0.1:
   * connected to epmd (port 4369) on 192.168.0.1
   * epmd reports node 'rabbit' running on port 25672
   * TCP connection succeeded but Erlang distribution failed
   * suggestion: hostname mismatch?
   * suggestion: is the cookie set correctly?
   * suggestion: is the Erlang distribution using TLS?

我检查过所有内容,但我发现任何建议都没有错。

这是我的配置文件

[
    {rabbit, [
                {tcp_listeners, [4003]},
                {loopback_users, []},
                {cluster_nodes, {['rabbit@192.168.0.1'], disc}}
    ]},
    {rabbitmq_management, [{listener, [{port, 15672}]}]}
].

我已尝试使用和不使用ssl配置同样的问题。 我的Erlang版本是18.3,rabbitmq是3.6.1 我在这里错过了什么导致它在完成之后挂断?

编辑这里是我的ps aux输出和rabbitmq日志

    =INFO REPORT==== 4-May-2016::10:15:49 ===
Starting RabbitMQ 3.6.1 on Erlang 18.3
Copyright (C) 2007-2016 Pivotal Software, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 4-May-2016::10:15:50 ===
node           : rabbit@192.168.0.1
home dir       : /export/home/jckunz
config file(s) : /opt/rabbitmq/config/rabbitmq.config
cookie hash    : eF4lT09DIn3wKUXARVnbrw==
log            : /opt/rabbitmq/log/rabbit@192.168.0.1.log
sasl log       : /opt/rabbitmq/log/rabbit@192.168.0.1-sasl.log
database dir   : /opt/rabbitmq/db/rabbit@192.168.0.1

=WARNING REPORT==== 4-May-2016::10:16:04 ===
You are using a 32-bit version of Erlang: you may run into memory address
space exhaustion or statistic counters overflow.

=WARNING REPORT==== 4-May-2016::10:16:04 ===
Only 2048MB of 32640MB memory usable due to limited address space.
Crashes due to memory exhaustion are possible - see
http://www.rabbitmq.com/memory.html#address-space

=INFO REPORT==== 4-May-2016::10:16:04 ===
Memory limit set to 819MB of 32640MB total.

=INFO REPORT==== 4-May-2016::10:16:04 ===
Disk free limit set to 50MB

=INFO REPORT==== 4-May-2016::10:16:04 ===
Limiting to approx 156 file handles (138 sockets)

=INFO REPORT==== 4-May-2016::10:16:04 ===
FHC read buffering:  OFF
FHC write buffering: ON

=INFO REPORT==== 4-May-2016::10:16:04 ===
Database directory at /opt/rabbitmq/db/rabbit@192.168.0.1 is empty. Initialising from scratch...

=WARNING REPORT==== 4-May-2016::10:16:04 ===
Could not find any node for auto-clustering from: ['rabbit@192.168.0.1']
Starting blank node...

=INFO REPORT==== 4-May-2016::10:16:05 ===
Priority queues enabled, real BQ is rabbit_variable_queue

=INFO REPORT==== 4-May-2016::10:16:05 ===
Management plugin: using rates mode 'basic'

=INFO REPORT==== 4-May-2016::10:16:05 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 4-May-2016::10:16:05 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=WARNING REPORT==== 4-May-2016::10:16:05 ===
msg_store_persistent: rebuilding indices from scratch

=INFO REPORT==== 4-May-2016::10:16:05 ===
Adding vhost '/'

=INFO REPORT==== 4-May-2016::10:16:05 ===
Creating user 'guest'

=INFO REPORT==== 4-May-2016::10:16:05 ===
Setting user tags for user 'guest' to [administrator]

=INFO REPORT==== 4-May-2016::10:16:05 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'

=INFO REPORT==== 4-May-2016::10:16:05 ===
started TCP Listener on [::]:4003

=INFO REPORT==== 4-May-2016::10:16:05 ===
started TCP Listener on 0.0.0.0:4003

=INFO REPORT==== 4-May-2016::10:16:05 ===
Management plugin started. Port: 15672

=INFO REPORT==== 4-May-2016::10:16:05 ===
Statistics database started.

=INFO REPORT==== 4-May-2016::10:16:05 ===
Server startup complete; 8 plugins started.
 * rabbitmq_federation_management
 * rabbitmq_management
 * rabbitmq_management_agent
 * rabbitmq_federation
 * amqp_client
 * rabbitmq_web_dispatch
 * webmachine
 * mochiweb


USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
jckunz  19849  1.1  0.4327960118576 pts/1    S 10:15:44 10:32 /opt/rabbitmq/solaris/erlang/erts-7.3/bin/beam.smp -W w -A 64 -P 1048576 
-B i -- -root /opt/rabbitmq/solaris/erlang -progname erl -- -home /export/home/jckunz -epmd_port 4369 -- -pa /opt/rabbitmq/solaris/rabbitmq/ebin 
-noshell -noinput -s rabbit boot -name rabbit@192.168.0.1 -boot start_sasl -config /opt/rabbitmq/config/rabbitmq 
-kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false 
-rabbit error_logger {file,"/opt/rabbitmq/log/rabbit@192.168.0.1.log"} -rabbit sasl_error_logger {file,"/opt/rabbitmq/log/rabbit@192.168.0.1-sasl.log"} 
-rabbit enabled_plugins_file "/opt/rabbitmq/config/enabled_plugins" -rabbit plugins_dir "/opt/rabbitmq/solaris/rabbitmq/plugins" 
-rabbit plugins_expand_dir "/opt/rabbitmq/db/rabbit@192.168.0.1-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false 
-mnesia dir "/opt/rabbitmq/db/rabbit@192.168.0.1" -setcookie jckunz -kernel inet_dist_listen_min 25672 
-kernel inet_dist_listen_max 25672 inet_dist_listen_max 25672

jckunz  19711  0.1  0.329051277936 pts/1    S 10:15:42  0:50 /opt/rabbitmq/solaris/erlang/erts-7.3/bin/beam.smp -- -root /opt/rabbitmq/solaris/erlang 
-progname erl -- -home /export/home/jckunz -epmd_port 4369 -- -pa /opt/rabbitmq/solaris/rabbitmq/ebin -noshell -noinput -hidden -setcookie jckunz 
-boot start_clean -sasl errlog_type error -mnesia dir "/opt/rabbitmq/db/rabbit@192.168.0.1" -s rabbit_control_main -nodename rabbit@192.168.0.1 
-extra wait /opt/rabbitmq/solaris/rabbitmq/sbin/lock

0 个答案:

没有答案