Service Install Succeeds but throws error and fails main installer (halts when using /S
)
#12136
Replies: 2 comments 2 replies
-
Hello, I just fired up a Windows 2019 VM using this
I installed Erlang 26.2.5.2 from here: https://github.com/erlang/otp/releases/download/OTP-26.2.5.2/otp_win64_26.2.5.2.exe ...and the latest RabbitMQ from here: https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.13.7/rabbitmq-server-3.13.7.exe Everything worked as expected. RabbitMQ 3.12.x does not receive community support from Team RabbitMQ. |
Beta Was this translation helpful? Give feedback.
-
@lukebakken the point may be that if the service fails, so will the package installation. An option like that sounds reasonable to me but this entire package is OSS, and this has not been requested in its ≈ 8 year long history, so @Vacant0mens should contribute this change. It is a classic case of "open source is for being able to scratch your own itch." |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When running the rabbitmq-server-3.12.6.exe installer, the service creation fails on a clean install of Windows Server 2019.
Running the installer with the GUI shows a message box that says "rabbitmq-service.bat install failed with exit code 1" and cancels the install, even though everything else was successful, and the install runs just fine with the "Rabbit Service" option un-checked.
When running the
rabbitmq-service.bat install
, it throws:C:\Program Files\Erlang OTP\erts-14.0.2\bin\erlsrv: Unrecognized option {child_type,worker}].
Despite the error, the service was still installed and starts successfully. This error shows after the message that says "Service RabbitMQ added to System."
Reproduction steps
rabbitmq-server-3.12.6.exe
as administratorcd
to rabbitmq'ssbin
folderrabbitmq-service.bat install
C:\Program Files\Erlang OTP\erts-14.0.2\bin\erlsrv: Unrecognized option {child_type,worker}].
after this, running
rabbitmq-service.bat start
also succeeds.Expected behavior
successful install of RabbitMQ Server and Service
Additional context
the silent install with
/S
also fails and pops up the message box. However, running the chocolatey install remotely hangs since it can't close the message box.Beta Was this translation helpful? Give feedback.
All reactions