[rabbitmq-discuss] Crash on startup in management_agent plugin-2.7.0
Alexis Richardson
alexis at rabbitmq.com
Sun Nov 20 17:51:13 GMT 2011
RJ
Did this get resolved?
alexis
On Thu, Nov 10, 2011 at 5:50 PM, Richard Jones <rj at metabrew.com> wrote:
> [reposting, appears truncated with no logs in the list archive for some reason]
>
> I upgraded from 2.6.0 to 2.7.0 using the .deb from the rabbit website.
> (64bit debian)
> Enabled management_plugin using rabbitmq-plugins as per docs, crashed
> with the following on startup (pasted below).
> Same crash with just rabbitmq_management_agent plugin enabled.
>
> From what i can see, the get_used_fd function just tries to ls a
> directory in proc, not sure what that would fail, perms seem ok.
>
> Any ideas?
>
> RJ
>
> SUPERVISOR REPORT==== 10-Nov-2011::16:39:41 ===
> Supervisor: {local,rabbit_mgmt_agent_sup}
> Context: start_error
> Reason: {{badmatch,{error,eacces}},
> [{rabbit_mgmt_external_stats,get_used_fd,1},
> {rabbit_mgmt_external_stats,internal_update,1},
> {rabbit_mgmt_external_stats,init,1},
> {gen_server,init_it,6},
> {proc_lib,init_p_do_apply,3}]}
> Offender: [{pid,undefined},
> {name,rabbit_mgmt_external_stats},
> {mfargs,{rabbit_mgmt_external_stats,start_link,[]}},
> {restart_type,permanent},
> {shutdown,5000},
> {child_type,worker}]
>
>
> $ cat /var/log/rabbitmq/startup_log
> Activating RabbitMQ plugins ...
> 1 plugins activated:
> * rabbitmq_management_agent-2.7.0
>
>
> +---+ +---+
> | | | |
> | | | |
> | | | |
> | +---+ +-------+
> | |
> | RabbitMQ +---+ |
> | | | |
> | v2.7.0 +---+ |
> | |
> +-------------------+
> AMQP 0-9-1 / 0-9 / 0-8
> Copyright (C) 2007-2011 VMware, Inc.
> Licensed under the MPL. See http://www.rabbitmq.com/
>
> node : rabbit at irccloud
> app descriptor :
> /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.0/sbin/../ebin/rabbit.app
> home dir : /var/lib/rabbitmq
> config file(s) : /etc/rabbitmq/rabbitmq.config
> cookie hash : tmXxxxxxxxxxxxxLyw==
> log : /var/log/rabbitmq/rabbit at irccloud.log
> sasl log : /var/log/rabbitmq/rabbit at irccloud-sasl.log
> database dir : /var/lib/rabbitmq/mnesia/rabbit at irccloud
> erlang version : 5.8.1
>
> -- rabbit boot start
> starting file handle cache server ...done
> starting worker pool ...done
> starting database ...done
> starting codec correctness check ...done
> -- external infrastructure ready
> starting plugin registry ...done
> starting auth mechanism cr-demo ...done
> starting auth mechanism amqplain ...done
> starting auth mechanism plain ...done
> starting statistics event manager ...done
> starting logging server ...done
> starting exchange type direct ...done
> starting exchange type fanout ...done
> starting exchange type headers ...done
> starting exchange type topic ...done
> -- kernel ready
> starting alarm handler ...done
> starting node monitor ...done
> starting cluster delegate ...done
> starting guid generator ...done
> starting memory monitor ...done
> -- core initialized
> starting empty DB check ...done
> starting management agent ...done
> starting exchange, queue and binding recovery ...done
> starting mirror queue slave sup ...done
> starting adding mirrors to queues ...done
> -- message delivery logic ready
> starting error log relay ...done
> starting networking ...done
> starting direct_client ...done
> starting notify cluster nodes ...done
>
> broker running
> {"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_management_agent,{shutdown,{rabbit_mgmt_agent_app,start,[normal,[]]}}}"}
>
>
> $ cat /etc/rabbitmq/rabbitmq.config
> [
> {mnesia, [
> {dc_dump_limit, 40},
> {dump_log_write_threshold, 50000}
> ]},
>
> {rabbit, [
> {tcp_listeners, [{"127.0.0.1", 5672}]},
> {ssl_listeners, [{"redacted", 5671}]},
> {ssl_options, [
> {certfile, "/etc/rabbitmq/server-cert.pem"},
> {cacertfile, "/etc/rabbitmq/ca-cert.pem"},
> {keyfile, "/etc/rabbitmq/server-key.pem"},
> {depth, 9}
> ]}
> ]}
> ].
>
>
> $ cat /etc/rabbitmq/enabled_plugins
> [rabbitmq_management_agent].
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list