rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
11.84k stars 3.9k forks source link

Windows server 2012 Install plugins Bug #11591

Closed ZhaoAndQian closed 2 days ago

ZhaoAndQian commented 2 days ago

Describe the bug

C:\RabbitMQServer\rabbitmq_server-3.13.3\sbin>rabbitmq-plugins enable rabbitmq_m anagement =ERROR REPORT==== 29-Jun-2024::16:14:00.590000 === State machine user_drv terminating When server state = {undefined,undefined} Reason for termination = error:{badmatch, {error, {'SetConsoleMode','虏脦脢媒麓铆脦贸隆拢\r\n' }}} Callback modules = [user_drv] Callback mode = state_functions Stacktrace = ** [{prim_tty,init,1,[{file,"prim_tty.erl"},{line,255}]}, {user_drv,init,1,[{file,"user_drv.erl"},{line,175}]}, {gen_statem,init_it,6,[{file,"gen_statem.erl"},{line,2695}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,329}]}]

=CRASH REPORT==== 29-Jun-2024::16:14:00.590000 === crasher: initial call: user_drv:init/1 pid: <0.65.0> registered_name: [] exception error: no match of right hand side value {error,{'SetConsoleMode','虏脦脢媒麓铆脦贸隆拢\r\n'}} in function prim_tty:init/1 (prim_tty.erl, line 255) in call from user_drv:init/1 (user_drv.erl, line 175) in call from gen_statem:init_it/6 (gen_statem.erl, line 2695) ancestors: [<0.64.0>,kernel_sup,<0.47.0>] message_queue_len: 0 messages: [] links: [] dictionary: [] trap_exit: true status: running heap_size: 610 stack_size: 29 reductions: 470 neighbours:

=CRASH REPORT==== 29-Jun-2024::16:14:11.524000 === crasher: initial call: supervisor_bridge:user_sup/1 pid: <0.64.0> registered_name: [] exception exit: nouser in function gen_server:init_it/6 (gen_server.erl, line 2038) ancestors: [kernel_sup,<0.47.0>] message_queue_len: 0 messages: [] links: [<0.49.0>] dictionary: [] trap_exit: true status: running heap_size: 987 stack_size: 29 reductions: 630 neighbours:

=SUPERVISOR REPORT==== 29-Jun-2024::16:14:11.524000 === supervisor: {local,kernel_sup} errorContext: start_error reason: nouser offender: [{pid,undefined}, {id,user}, {mfargs,{user_sup,start,[]}}, {restart_type,temporary}, {significant,false}, {shutdown,2000}, {child_type,supervisor}]

=CRASH REPORT==== 29-Jun-2024::16:14:11.524000 === crasher: initial call: application_master:init/3 pid: <0.46.0> registered_name: [] exception exit: {{shutdown,{failed_to_start_child,user,nouser}}, {kernel,start,[normal,[]]}} in function application_master:init/3 (application_master.erl, line 143) ancestors: [application_controller,<0.10.0>] message_queue_len: 1 messages: [{'EXIT',<0.47.0>,normal}] links: [<0.45.0>] dictionary: [] trap_exit: true status: running heap_size: 233 stack_size: 29 reductions: 63 neighbours:

=INFO REPORT==== 29-Jun-2024::16:14:11.524000 === application: kernel exited: {{shutdown,{failed_to_start_child,user,nouser}}, {kernel,start,[normal,[]]}} type: permanent

Kernel pid terminated (application_controller) ("{application_start_failure,kern el,{{shutdown,{failed_to_start_child,user,nouser}},{kernel,start,[normal,[]]}}}" )

C:\RabbitMQServer\rabbitmq_server-3.13.3\sbin>

Reproduction steps

  1. Install Erlang/OTP 27.0
  2. Install rabbitmq-server-3.13.3
  3. Open RabbitMQ Command Prompt
  4. Execute rabbitmq-plugins enable rabbitmq_management

Expected behavior

Install successful

Additional context

No response

mkuratczyk commented 2 days ago
  1. RabbitMQ does not support OTP27 yet: https://www.rabbitmq.com/docs/which-erlang
  2. Windows 2012 is not supported even by Microsoft anymore
  3. Erlang/OTP issues, if they occur on supported operating system versions, should be reported to the Erlang/OTP team

Lastly, this seems to be the same issue: https://github.com/erlang/otp/issues/8427