Rabbit MQ installation and configuration issue

828 views
Skip to first unread message

mehmood ahmed

unread,
Jan 19, 2023, 12:59:21 AM1/19/23
to rabbitmq-users
Hi,

I have installed the following tools

ERLANG:  erts-13.1.4
RabbitMQ :  rabbitmq_server-3.10.7

What I am trying to start rabbitmq server

When I write following command then try to check in the browser then I am getting an error in the browser.

(rabbitmq-plugins enable rabbitmq_management)

This is the response coming through rabbitmq command prompt 

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.7\sbin>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@CHDLHRLT20:
rabbitmq_management
The following plugins have been configured:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to rabbit@CHDLHRLT20...
Plugin configuration unchanged.


and The browser display the following response.



Hmmm… can't reach this page

localhost refused to connect.

Try:

ERR_CONNECTION_REFUSED

Please guide what is the issue with RabbitMQ ?

Michal Kuratczyk

unread,
Jan 19, 2023, 2:12:37 AM1/19/23
to rabbitm...@googlegroups.com
The logs you shared don't show any problems with RabbitMQ - your connection can be blocked by a firewall or perhaps proxy settings.

If you think the problem is on the RabbitMQ side, please share the logs and the output of "rabbitmqctl status"

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/532a9d89-96c6-468b-a33c-b06a66167621n%40googlegroups.com.


--
Michał
RabbitMQ team

mehmood ahmed

unread,
Jan 20, 2023, 1:38:50 AM1/20/23
to rabbitmq-users
Yes please see now the error log against  rabbitmq-plugins.bat enable rabbitmq_management command

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.7\sbin>rabbitmq-plugins.bat enable rabbitmq_management

01:35:16.028 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:16.732 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:16.734 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:17.476 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:17.477 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:18.275 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:18.276 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:18.982 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:18.983 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:19.656 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:19.657 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:20.429 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:20.430 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:21.183 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:21.184 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:21.877 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:21.878 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:22.556 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:22.557 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent

01:35:23.251 [error] Failed to create cookie file 'h:/.erlang.cookie': enoent
Distribution failed: {{:shutdown, {:failed_to_start_child, :auth, {'Failed to create cookie file \'h:/.erlang.cookie\': enoent', [{:auth, :init_no_setcookie, 0, [file: 'auth.erl', line: 313]}, {:auth, :init, 1, [file: 'auth.erl', line: 165]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 848]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 811]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [%{clean_halt: false, name: :"rabbitmqcli-300-rabbit@CMDLHRLT898", name_domain: :shortnames, net_tickintensity: 4, net_ticktime: 60, supervisor: :net_sup_dynamic}]}, :permanent, false, 1000, :supervisor, [:erl_distribution]}}


C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.7\sbin>


and this is the error message against  rabbitmq-server.bat start command

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.7\sbin>rabbitmq-server.bat start
2023-01-20 01:36:52.691000-05:00 [warning] <0.130.0> Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/mehmood.ahmed/AppData/Roaming/RabbitMQ/advanced.config
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0> Failed to create cookie file 'h:/.erlang.cookie': enoent
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>     supervisor: {local,net_sup}
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>     errorContext: start_error
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>     reason: {"Failed to create cookie file 'h:/.erlang.cookie': enoent",
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>              [{auth,init_no_setcookie,0,[{file,"auth.erl"},{line,313}]},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>               {auth,init,1,[{file,"auth.erl"},{line,165}]},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,848}]},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,811}]},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>               {proc_lib,init_p_do_apply,3,
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                         [{file,"proc_lib.erl"},{line,240}]}]}
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>     offender: [{pid,undefined},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {id,auth},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {mfargs,{auth,start_link,[]}},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {restart_type,permanent},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {significant,false},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {shutdown,2000},
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>                {child_type,worker}]
2023-01-20 01:36:54.307000-05:00 [error] <0.142.0>
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>   crasher:
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     initial call: auth:init/1
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     pid: <0.144.0>
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     registered_name: []
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     exception error: "Failed to create cookie file 'h:/.erlang.cookie': enoent"
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>       in function  auth:init_no_setcookie/0 (auth.erl, line 313)
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>       in call from auth:init/1 (auth.erl, line 165)
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>       in call from gen_server:init_it/2 (gen_server.erl, line 848)
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>       in call from gen_server:init_it/6 (gen_server.erl, line 811)
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     ancestors: [net_sup,kernel_sup,<0.47.0>]
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     message_queue_len: 0
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     messages: []
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     links: [<0.142.0>]
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     dictionary: []
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     trap_exit: true
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     status: running
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     heap_size: 1598
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     stack_size: 28
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>     reductions: 2761
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>   neighbours:
2023-01-20 01:36:54.307000-05:00 [error] <0.144.0>
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0> BOOT FAILED
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0> ===========
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0> Exception during startup:
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0> error:{badmatch,{error,{{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 'h:/.erlang.cookie': enoent",[{auth,init_no_setcookie,0,[{file,"auth.erl"},{line,313}]},{auth,init,1,[{file,"auth.erl"},{line,165}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,848}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => rabbit_prelaunch_12372@localhost,name_domain => shortnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}}}
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     rabbit_prelaunch_dist:duplicate_node_check/1, line 80
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     rabbit_prelaunch_dist:setup/1, line 23
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     rabbit_prelaunch:do_run/0, line 115
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     rabbit_prelaunch:run_prelaunch_first_phase/0, line 32
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     supervisor:do_start_child_i/3, line 414
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     supervisor:do_start_child/2, line 400
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     supervisor:-start_children/2-fun-0-/3, line 384
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>     supervisor:children_map/4, line 1250
2023-01-20 01:36:54.315000-05:00 [error] <0.130.0>

BOOT FAILED
===========
Exception during startup:

error:{badmatch,{error,{{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 'h:/.erlang.cookie': enoent",[{auth,init_no_setcookie,0,[{file,"auth.erl"},{line,313}]},{auth,init,1,[{file,"auth.erl"},{line,165}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,848}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => rabbit_prelaunch_12372@localhost,name_domain => shortnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}}}

    rabbit_prelaunch_dist:duplicate_node_check/1, line 80
    rabbit_prelaunch_dist:setup/1, line 23
    rabbit_prelaunch:do_run/0, line 115
    rabbit_prelaunch:run_prelaunch_first_phase/0, line 32
    supervisor:do_start_child_i/3, line 414
    supervisor:do_start_child/2, line 400
    supervisor:-start_children/2-fun-0-/3, line 384
    supervisor:children_map/4, line 1250

2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>     supervisor: {local,rabbit_prelaunch_sup}
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>     errorContext: start_error
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>     reason: {badmatch,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                 {error,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                     {{shutdown,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                          {failed_to_start_child,auth,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                              {"Failed to create cookie file 'h:/.erlang.cookie': enoent",
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                               [{auth,init_no_setcookie,0,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                    [{file,"auth.erl"},{line,313}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                {auth,init,1,[{file,"auth.erl"},{line,165}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                {gen_server,init_it,2,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                    [{file,"gen_server.erl"},{line,848}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                {gen_server,init_it,6,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                    [{file,"gen_server.erl"},{line,811}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                {proc_lib,init_p_do_apply,3,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                    [{file,"proc_lib.erl"},{line,240}]}]}}},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                      {child,undefined,net_sup_dynamic,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                          {erl_distribution,start_link,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                              [#{clean_halt => false,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                 name => rabbit_prelaunch_12372@localhost,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                 name_domain => shortnames,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                 net_tickintensity => 4,net_ticktime => 60,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                                 supervisor => net_sup_dynamic}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                          permanent,false,1000,supervisor,
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                          [erl_distribution]}}}}
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>     offender: [{pid,undefined},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {id,prelaunch},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {restart_type,transient},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {significant,false},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {shutdown,5000},
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>                {child_type,worker}]
2023-01-20 01:36:55.335000-05:00 [error] <0.130.0>
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>   crasher:
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     initial call: application_master:init/4
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     pid: <0.128.0>
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     registered_name: []
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     exception exit: {{shutdown,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                       {failed_to_start_child,prelaunch,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                        {badmatch,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                         {error,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                          {{shutdown,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                            {failed_to_start_child,auth,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                             {"Failed to create cookie file 'h:/.erlang.cookie': enoent",
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                              [{auth,init_no_setcookie,0,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                [{file,"auth.erl"},{line,313}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                               {auth,init,1,[{file,"auth.erl"},{line,165}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                               {gen_server,init_it,2,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                [{file,"gen_server.erl"},{line,848}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                               {gen_server,init_it,6,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                [{file,"gen_server.erl"},{line,811}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                               {proc_lib,init_p_do_apply,3,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                [{file,"proc_lib.erl"},{line,240}]}]}}},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                           {child,undefined,net_sup_dynamic,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                            {erl_distribution,start_link,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                             [#{clean_halt => false,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                name => rabbit_prelaunch_12372@localhost,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                name_domain => shortnames,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                net_tickintensity => 4,net_ticktime => 60,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                                supervisor => net_sup_dynamic}]},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                            permanent,false,1000,supervisor,
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                            [erl_distribution]}}}}}},
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>                      {rabbit_prelaunch_app,start,[normal,[]]}}
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>       in function  application_master:init/4 (application_master.erl, line 142)
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     ancestors: [<0.127.0>]
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     message_queue_len: 1
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     messages: [{'EXIT',<0.129.0>,normal}]
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     links: [<0.127.0>,<0.44.0>]
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     dictionary: []
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     trap_exit: true
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     status: running
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     heap_size: 610
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     stack_size: 28
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>     reductions: 188
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>   neighbours:
2023-01-20 01:36:55.335000-05:00 [error] <0.128.0>
2023-01-20 01:36:55.336000-05:00 [notice] <0.44.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{badmatch,{error,{{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 'h:/.erlang.cookie': enoent",[{auth,init_no_setcookie,0,[{file,"auth.erl"},{line,313}]},{auth,init,1,[{file,"auth.erl"},{line,165}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,848}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => rabbit_prelaunch_12372@localhost,name_domain => shortnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}}}}},{rabbit_prelaunch_app,start,[normal,[]]}}
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{badmatch,{error,{{shutdown,{failed_to_start_child,auth,{\"Failed to create cookie file 'h:/.erlang.cookie': enoent\",[{auth,init_no_setcookie,0,[{file,\"auth.erl\"},{line,313}]},{auth,init,1,[{file,\"auth.erl\"},{line,165}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,848}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => rabbit_prelaunch_12372@localhost,name_domain => shortnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}}}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{badmatch,{error,{{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 'h:/.erlang.cookie': enoent",[{auth,init_no_setcookie,0,[{file,"auth.erl"},{line,313}]},{auth,init,1,[{file,"auth.erl"},{line,165}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,848}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => rabbit_prelaunch_12372@localhost,name_domain => shortnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}}}}},{rabbit_prelaunch_app,start,[normal,[]]}}})

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

Luke Bakken

unread,
Jan 20, 2023, 9:48:26 AM1/20/23
to rabbitmq-users
The user account that installed RabbitMQ is probably using a network drive for the home directory (H:)

https://stackoverflow.com/questions/18495874/failed-to-create-cookie-file-rabbitmq-in-windows

One solution is to create a local a local administrator account to install RabbitMQ.

Thanks,
Luke

mehmood ahmed

unread,
Jan 22, 2023, 10:01:31 PM1/22/23
to rabbitmq-users
The user account that installed RabbitMQ is probably using a network drive for the home directory (H:)

Yes, the account is over network.

https://stackoverflow.com/questions/18495874/failed-to-create-cookie-file-rabbitmq-in-windows

One solution is to create a local a local administrator account to install RabbitMQ.

Its a company machine, I can't create a local administrator account but I have all those administrator permissions. 

The user account that installed RabbitMQ is probably using a network drive for the home directory (H:)
I have already tried the following commands but in that case above issue is being faced (which I posted in my first post).
No error nor a service is running . Browser is displaying  Hmmm… can't reach this page

set HOMEDRIVE=C:/conf/rabbitmq :: Or your favorite dir rabbitmq-plugins.bat enable rabbitmq_management


Reply all
Reply to author
Forward
0 new messages