rabbitmq shutdown and the hardware server cannot remote desktop

198 views
Skip to first unread message

QIQI M

unread,
Jul 1, 2019, 1:00:19 AM7/1/19
to rabbitmq-users
Hello:
        The following problems occurred in rabbitmq, which led to the abnormal use of rabbitmq service. At the same time, my hardware server would be stuck and could not be used properly, so I could only restart the hardware server. I don't know if I use it or what configuration or optimization needs to be changed. My installation environment is as follows
        rabbitmq:3.6.14 , windows:server 2012 r2,opt :win64_20.3

thanks
=CRASH REPORT==== 1-Jul-2019::03:44:59 ===
  crasher:
    initial call: rabbit_mgmt_external_stats:init/1
    pid: <0.9924.5>
    registered_name: rabbit_mgmt_external_stats
    exception error: eacces
      in function  open_port/2
         called as open_port({spawn,"C:\\Windows\\system32\\cmd.exe /c handle.exe /accepteula -s -p 14672 2> nul"},
                             [binary,stderr_to_stdout,stream,in,hide])
      in call from os:cmd/2 (os.erl, line 250)
      in call from rabbit_mgmt_external_stats:get_used_fd/1 (src/rabbit_mgmt_external_stats.erl, line 132)
      in call from rabbit_mgmt_external_stats:get_used_fd/0 (src/rabbit_mgmt_external_stats.erl, line 60)
      in call from rabbit_mgmt_external_stats:'-infos/2-lc$^0/1-0-'/2 (src/rabbit_mgmt_external_stats.erl, line 174)
      in call from rabbit_mgmt_external_stats:emit_update/1 (src/rabbit_mgmt_external_stats.erl, line 369)
      in call from rabbit_mgmt_external_stats:handle_info/2 (src/rabbit_mgmt_external_stats.erl, line 356)
      in call from gen_server:try_dispatch/4 (gen_server.erl, line 616)
    ancestors: [rabbit_mgmt_agent_sup,rabbit_mgmt_agent_sup_sup,<0.420.0>]
    message_queue_len: 0
    messages: []
    links: [<0.422.0>]
    dictionary: [{logged_used_fd_error,true}]
    trap_exit: false
    status: running
    heap_size: 6772
    stack_size: 27
    reductions: 1317677557
  neighbours:

=SUPERVISOR REPORT==== 1-Jul-2019::03:44:59 ===
     Supervisor: {local,rabbit_mgmt_agent_sup}
     Context:    child_terminated
     Reason:     {eacces,
                     [{erlang,open_port,
                          [{spawn,
                               "C:\\Windows\\system32\\cmd.exe /c handle.exe /accepteula -s -p 14672 2> nul"},
                           [binary,stderr_to_stdout,stream,in,hide]],
                          [{file,"erlang.erl"},{line,2122}]},
                      {os,cmd,2,[{file,"os.erl"},{line,250}]},
                      {rabbit_mgmt_external_stats,get_used_fd,1,
                          [{file,"src/rabbit_mgmt_external_stats.erl"},
                           {line,132}]},
                      {rabbit_mgmt_external_stats,get_used_fd,0,
                          [{file,"src/rabbit_mgmt_external_stats.erl"},
                           {line,60}]},
                      {rabbit_mgmt_external_stats,'-infos/2-lc$^0/1-0-',2,
                          [{file,"src/rabbit_mgmt_external_stats.erl"},
                           {line,174}]},
                      {rabbit_mgmt_external_stats,emit_update,1,
                          [{file,"src/rabbit_mgmt_external_stats.erl"},
                           {line,369}]},
                      {rabbit_mgmt_external_stats,handle_info,2,
                          [{file,"src/rabbit_mgmt_external_stats.erl"},
                           {line,356}]},
                      {gen_server,try_dispatch,4,
                          [{file,"gen_server.erl"},{line,616}]}]}
     Offender:   [{pid,<0.9924.5>},
                  {id,rabbit_mgmt_external_stats},
                  {mfargs,{rabbit_mgmt_external_stats,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]




Michael Klishin

unread,
Jul 1, 2019, 4:19:05 AM7/1/19
to rabbitmq-users
RabbitMQ tries to run a subproceses (cmd.exe /c handle.exe) and that fails with EACCES (no permissions).
This is a restriction coming from the OS or anti-virus software. There can be a number of reasons for it, so I cannot be more specific.
Perhaps the service wasn't installed using an administrative user? [4]

RabbitMQ 3.6.x has been out of support for 14 months now. Please upgrade [1][2][3], as we won't be providing any further guidance for it.



--
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 post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/4d38c909-7770-4127-9c4a-6ee1bea43d8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages