unable to install rabbitmq using chocolatey

440 views
Skip to first unread message

Rashmi Garg

unread,
Nov 16, 2021, 12:04:19 PM11/16/21
to rabbitmq-users
I am getting following error while installing rabbitmq

```choco install rabbitmq
Chocolatey v0.11.3
Installing the following packages:
rabbitmq
By installing, you accept licenses for the packages.
Progress: Downloading rabbitmq 3.9.8... 100%

rabbitmq v3.9.8 [Approved]
rabbitmq package files install completed. Performing other installation steps.
The package rabbitmq wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Downloading rabbitmq
Progress: 100% - Completed download of C:\Users\User\AppData\Local\Temp\chocolatey\rabbitmq\3.9.8\rabbitmq-server-3.9.8.exe (11.94 MB).
Download of rabbitmq-server-3.9.8.exe (11.94 MB) completed.
ERROR: Chocolatey expected a file to be downloaded to 'C:\Users\User\AppData\Local\Temp\chocolatey\rabbitmq\3.9.8\rabbitmq-server-3.9.8.exe' but nothing exists at that location.
The install of rabbitmq was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\rabbitmq\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - rabbitmq (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\rabbitmq\tools\chocolateyInstall.ps1'.
 See log for details.

Rashmi Garg

unread,
Nov 16, 2021, 12:37:50 PM11/16/21
to rabbitmq-users
The rabbitmq.exe is crashing while it is searching in rabbitmq folder

Luke Bakken

unread,
Nov 17, 2021, 12:52:53 PM11/17/21
to rabbitmq-users
Hello,

Please make sure you are running chocolatey as an administrator and also ensure that you do not have anti-virus software deleting the dowloaded exe.

I ran choco install rabbitmq on my Windows 11 VM and it completed successfully. I have attached logs so you can see what may be different in your environment.

Thanks,
Luke

choco-install-rabbitmq-log-debug.txt
choco-install-rabbitmq-log.txt
Reply all
Reply to author
Forward
0 new messages