Hi RabbitMQ Users,
I'm trying to get RabbitMQ setup on a new M1 Macbook Pro (MacOS 12.0.1) and can't get rabbitmq-server to start without using sudo - and I'd really prefer to not use sudo.
Installed using Homebrew - RabbitMQ 3.9.11, Erlang: 24.1.7
Logs for rabbitmq-server failure without sudo below and erl_crash.dump attached.
Logs for rabbitmq-server success with sudo at bottom.
Happy to provide more info as needed, and thanks for the help,
Jordan
$ rabbitmq-server
[Feature flags lines removed]
2021-12-10 08:42:37.403437-08:00 [noti] <0.44.0> Application syslog exited with reason: stopped
2021-12-10 08:42:37.403492-08:00 [noti] <0.221.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
BOOT FAILED
===========
Exception during startup:
error:{badmatch,{error,{killed,{mnesia_app,start,[normal,[]]}}}}
rabbit:run_prelaunch_second_phase/0, line 370
rabbit:start/2, line 847
application_master:start_it_old/4, line 293
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{{badmatch,{error,{killed,{mnesia_app,start,[normal,[]]}}}},{rabbit,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{{badmatch,{error,{killed,{mnesia_app,start,[normal,[]]}}}},{rabbit,start,[normal,[]]}}})
Crash dump is being written to: /opt/homebrew/var/log/rabbitmq/erl_crash.dump...done
----------
with sudo rabbitmq-server starts successfully:
$ sudo rabbitmq-server
[Feature flags lines removed]
2021-12-10 08:43:11.189587-08:00 [noti] <0.44.0> Application syslog exited with reason: stopped
2021-12-10 08:43:11.189640-08:00 [noti] <0.221.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
## ## RabbitMQ 3.9.11
## ##
########## Copyright (c) 2007-2021 VMware, Inc. or its affiliates.
###### ##
########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
Erlang: 24.1.7 [emu]
TLS Library: OpenSSL - OpenSSL 1.1.1l 24 Aug 2021
Doc guides: https://rabbitmq.com/documentation.html
Support: https://rabbitmq.com/contact.html
Tutorials: https://rabbitmq.com/getstarted.html
Monitoring: https://rabbitmq.com/monitoring.html
Logs: /opt/homebrew/var/log/rabbitmq/rab...@localhost.log
/opt/homebrew/var/log/rabbitmq/rabbit@localhost_upgrade.log
<stdout>
Config file(s): /opt/homebrew/etc/rabbitmq/rabbitmq.conf
Starting broker... completed with 7 plugins.