rabbitmq not running on my mac

1,366 views
Skip to first unread message

saurabh yadav

unread,
May 29, 2023, 3:08:56 PM5/29/23
to rabbitmq-users

~ % brew services start rabbitmq

Bootstrap failed: 5: Input/output error

Try re-running the command as root for richer errors.

Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/c2/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist` exited with 5.

Tina Kurian

unread,
Jul 4, 2023, 10:28:16 AM7/4/23
to rabbitmq-users
I'm seeing this same error. Without logs, it's just stuck at "starting broker..." Were you able to fix this Saurabh?

pvladMQ

unread,
Jul 7, 2023, 7:19:12 PM7/7/23
to rabbitmq-users
Version of RabbitMQ and Erlang please? Are there any logs in /var/log/rabbitmq or whatever the location of the logs is on Mac? 

Tina Kurian

unread,
Jul 19, 2023, 12:06:51 AM7/19/23
to rabbitmq-users

Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/503 /Users/tinakurian/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist` exited with 5.

And occasionally 

rabbitmq-server                                                                                                                    ✔  at 11:53:24 pm 
2023-07-18 23:53:36.841581-04:00 [notice] <0.44.0> Application syslog exited with reason: stopped
2023-07-18 23:53:36.851386-04:00 [notice] <0.234.0> Logging: switching to configured handler(s); following messages may not be visible in this log output

  ##  ##      RabbitMQ 3.12.2
  ##  ##
  ##########  Copyright (c) 2007-2023 VMware, Inc. or its affiliates.
  ######  ##
  ##########  Licensed under the MPL 2.0. Website: https://rabbitmq.com

  Erlang:      26.0.2 [jit]
  TLS Library: OpenSSL - OpenSSL 3.1.1 30 May 2023
  Release series support status: supported

  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: /usr/local/var/log/rabbitmq/rab...@localhost.log
        <stdout>

  Config file(s): (none)

  Starting broker...
BOOT FAILED
===========
Exception during startup:

exit:{shutdown,{gen_server,call,[rabbit_sup,{start_child,{rabbit_core_metrics_gc_sup,{rabbit_restartable_sup,start_link,[rabbit_core_metrics_gc_sup,{rabbit_core_metrics_gc,start_link,[]},false]},transient,infinity,supervisor,[rabbit_restartable_sup]}},infinity]}}

    gen_server:call/3, line 401
    rabbit_sup:start_restartable_child/3, line 93
    rabbit_boot_steps:-run_step/2-lc$^0/1-0-/2, line 41
    rabbit_boot_steps:run_step/2, line 48
    rabbit_boot_steps:-run_boot_steps/1-lc$^0/1-0-/1, line 19
    rabbit_boot_steps:run_boot_steps/1, line 20
    rabbit:start/2, line 936
    application_master:start_it_old/4, line 293

Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{{shutdown,{gen_server,call,[rabbit_sup,{start_child,{rabbit_core_metrics_gc_sup,{rabbit_restartable_sup,start_link,[rabbit_core_metrics_gc_sup,{rabbit_core_metrics_gc,start_link,[]},false]},transient,infinity,supervisor,[rabbit_restartable_sup]}},infinity]}},{rabbit,start,[normal,[]]}}})

Crash dump is being written to: /usr/local/var/log/rabbitmq/erl_crash.dump...done

Tina Kurian

unread,
Jul 19, 2023, 10:04:20 AM7/19/23
to rabbitmq-users
Fixed by deleting all the contents of the rabbitmq/mnesia/ dir
Reply all
Reply to author
Forward
0 new messages