RabbiMQ issue (init terminating in do_boot)

1,225 views
Skip to first unread message

Jithin Davis

unread,
Nov 2, 2021, 6:37:35 PM11/2/21
to rabbitmq-users
Hello,

I am trying to install rabbitmq on a centos 6 server, but unable to start the service

{"init terminating in do_boot",{undef,[{rabbit_misc,get_options,[[{flag,"-q"},{option,"-n","rabbit@ip-10-0-1-74"},{option,"-p","/"}],["status"]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{rabbit_misc,get_options,[[_],[_]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done

 /sbin/service rabbitmq-server start
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
rabbitmq-server.
[root@ip-10-0-1-74 zenoss-core-autodeploy-aeb5289]# rabbitmqctl status
{"init terminating in do_boot",{undef,[{rabbit_misc,get_options,[[{flag,"-q"},{option,"-n","rabbit@ip-10-0-1-74"},{option,"-p","/"}],["status"]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{rabbit_misc,get_options,[[_],[_]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done



I am trying to install the version "rabbitmq-server-2.8.7-1"

Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : rabbitmq-server-2.8.7-1.noarch                                                                                                                                1/1
  Verifying  : rabbitmq-server-2.8.7-1.noarch                                                                                                                                1/1

Installed:
  rabbitmq-server.noarch 0:2.8.7-1

Complete!


erl --version` shows `Erlang/OTP 23`


Any clues about what's wrong?
Please help, Can please anyone give me any suggestion?

Thanks

Michal Kuratczyk

unread,
Nov 2, 2021, 6:50:10 PM11/2/21
to rabbitm...@googlegroups.com
Hi,

RabbitMQ 2.8.7 is over 11 years old, please do not try to install it. :)
Please use a supported operating system (CentOS 6 reached end of life a year ago) and definitely use a recent RabbitMQ version.

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/eeebd0ce-458c-40a8-8cb8-db33bd01006bn%40googlegroups.com.


--
Michał
RabbitMQ team

Jithin Davis

unread,
Nov 2, 2021, 7:46:39 PM11/2/21
to rabbitmq-users
Hi  Michał

Thanks for the reply

But unfortunately, I am unable to change the OS for now, We need to install the same on centos 6

I have tried different  rabbitmq version (3.6, 3.9) but still unable to do it due to this same error.

Is there any way to fix this issue?


{"init terminating in do_boot",{undef,[{rabbit_misc,get_options,[[{flag,"-q"},{option,"-n","rabbit@ip-10-0-1-74"},{option,"-p","/"}],["status"]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{rabbit_misc,get_options,[[_],[_]],[]},{rabbit_control,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done

Thanks

Jithin Davis

unread,
Nov 3, 2021, 3:53:25 PM11/3/21
to rabbitmq-users
Hi

Is there any way to solve this issue

I have tried multiple rabbitmq versions, All of them throwing same error while starting the service

 service rabbitmq-server status
{"init terminating in do_boot",{undef,[{rabbit_misc,parse_arguments,[[stop,stop_app,start_app,wait,reset,force_reset,rotate_logs,{join_cluster,[{"--ram",flag}]},change_cluster_node_type,update_cluster_nodes,{forget_cluster_node,[{"--offline",flag}]},cluster_status,add_user,delete_user,change_password,clear_password,set_user_tags,list_users,add_vhost,delete_vhost,list_vhosts,{set_permissions,[{"-p",{option,"/"}}]},{clear_permissions,[{"-p",{option,"/"}}]},{list_permissions,[{"-p",{option,"/"}}]},list_user_permissions,{set_parameter,[{"-p",{option,"/"}}]},{clear_parameter,[{"-p",{option,"/"}}]},{list_parameters,[{"-p",{option,"/"}}]},{set_policy,[{"-p",{option,"/"}}]},{clear_policy,[{"-p",{option,"/"}}]},{list_policies,[{"-p",{option,"/"}}]},{list_queues,[{"-p",{option,"/"}}]},{list_exchanges,[{"-p",{option,"/"}}]},{list_bindings,[{"-p",{option,"/"}}]},{list_connections,[{"-p",{option,"/"}}]},list_channels,{list_consumers,[{"-p",{option,"/"}}]},status,environment,report,eval,close_connection,{trace_on,[{"-p",{option,"/"}}]},{trace_off,[{"-p",{option,"/"}}]},set_vm_memory_high_watermark],[{"-q",flag},{"-n",{option,"rabbit@ip-10-0-1-74"}}],["status"]],[]},{rabbit_control_main,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{rabbit_misc,parse_arguments,[[_],[_],[_]],[]},{rabbit_control_main,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done



Can please anyone give me any suggestion?

Thanks

Michal Kuratczyk

unread,
Nov 3, 2021, 3:56:21 PM11/3/21
to rabbitm...@googlegroups.com
I guess this is a problem with your config file or something like that or with the script you use to start RabbitMQ. Hard to tell without full logs.



--
Michał
RabbitMQ team

Jithin Davis

unread,
Nov 3, 2021, 5:14:42 PM11/3/21
to rabbitmq-users
Hi

attaching the logs and commands i used for this

/var/log/rabbitmq/startup_err

init terminating in do_boot ({undef,[{rabbit_misc,quit,[0],[]},{rabbit_prelaunch,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done


/var/log/rabbitmq/startup_log

{"init terminating in do_boot",{undef,[{rabbit_misc,quit,[0],[]},{rabbit_prelaunch,start,0,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
^[[60G[^[[0;31mFAILED^[[0;39m]

chkconfig rabbitmq-server on

Returns no error


service rabbitmq-server start

Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
rabbitmq-server.

Please let me know if you need any other details

Jithin Davis

unread,
Nov 4, 2021, 1:24:59 PM11/4/21
to rabbitmq-users
Hi

Is there any way to solve this issue

Thanks

Michal Kuratczyk

unread,
Nov 4, 2021, 2:18:53 PM11/4/21
to rabbitm...@googlegroups.com
Yes, but it's really hard to tell you how when you select small parts of the logs/messages.
My recommendation would be:
1. Take a contemporary operating system
2. Install RabbitMQ
3. I'm almost sure it will just start

If you insist on using the current VM, make sure you delete any state. It could be that your attempt to start a very old RabbitMQ created some files that the recent versions don't even understand (I don't know, no-one who is currently on the RabbitMQ team was on the team when 2.8.7 was released...).

It's really simple to start a fresh RabbitMQ. Just make sure you start fresh and follow the docs if needed.

Best,



--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages