RabbitMQ plugin configuration failure - rabbitmq

I have copied plugins to plugins folder in rabbitmq-server.
When I run command to enable stomp plugin like the following:
$rabbitmq-plugins enable rabbitmq_stomp
Plugin configuration remains unchanged.
Applying plugin configuration to rabbit#pts00449-vm19... failed.
Error: {enabled_plugins_mismatch,"/etc/rabbitmq/enabled_plugins",
"/does-not-exist"}
Can anyone please help me?

There is plugins mismatch in your "enabled_plugins" directory.
Please check if you have enabled "rabbitmq_stomp" twice.
Try to disable the rabbitmq_stomp plugin and then you may restart the rabbitmq-server doing following steps:
rabbitmq-plugins disable rabbitmq_stomp
rabbitmq-server start

Related

Error installing rabbitmq helm as dependency

When I try to install my helm that is dependent from a rabbitmq chart, the rabbitmq pod gives me this error:
ls: cannot open directory '/bitnami/rabbitmq/mnesia': Permission denied
ERROR IMAGE: error ls: cannot open directory '/bitnami/rabbitmq/mnesia': Permission denied
My dependency configuration is as follows:
dependencies:
- name: rabbitmq
version: "8.24.1"
repository: https://charts.bitnami.com/bitnami
condition: broker.enabled
How I can use the rabbitmq helm as a dependency?
For anybody needing this, I was using k3d for the local development and this permission conflict seens to be related to k3d, so I started to use minikube instead and now it's working.

How to install download-command plugin in gerrit for usage with Intellij IDEA

I want to use gerrit v2.16.7 with the gerrit plugin for IntelliJ IDEA.
The errorlog in IDEA says that I need a download-commands plugin. How do I install it?
The easiest way to install the latest version of download-commands plugin on your Gerrit v2.16.7 is:
ssh to your Gerrit server
change your current directory to the $GERRIT_SITE/plugins
run curl -O https://gerrit-ci.gerritforge.com/view/Gerrit/job/Gerrit-bazel-stable-2.16/lastSuccessfulBuild/artifact/gerrit/bazel-bin/plugins/download-commands/download-commands.jar
Gerrit will automatically detect the new plugin and load it without any downtime.
HTH
Luca.
You can install the correct version of the download-commands plugin with the configurator from gerrit:
java -jar gerrit.war init -d {path to gerrit home e.g. ../} --install-plugin=download-commands
All the options should be by default, what you already configured except the option to install download-commands.
Source

RabbitMQ Management Plugin -configuration unchanged

I have installed RaabbitMQ 3.7 in my system and erlang 9.2. I got this problem when trying to enable management plugin:
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.0\sbin>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit#BDC8-LX-72221DN:
rabbitmq_management
The following plugins have been configured:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit#BDC8-LX-72221DN...
Plugin configuration unchanged.
Perhaps this plugin is enabled already.
Check by rabbitmq-plugins.bat list.
If you find text like "[E*] rabbitmq_management" then the plugin is enabled.

why i got an error script after enable rabbitmq_management

i was try to install and running rabbitmq in my windows and following the tutorial from the official web.
but i got an error script after run
rabbitmq-plugins enable rabbitmq_management
in my command prompt
this is an error i have
error script in rabbitmq_management
i was run rabbitmq service but it's no effect
and i cannot run http://localhost:15672
i think it's because management plugin error, how to fix the error script. ?
The error undef crypto module means that you don't have the erlang crypo module installed.
The Management UI requires this module.
You are maybe running an old erlang version.
Try to remove the the current version and download this version:
http://erlang.org/download/otp_win64_18.3.exe

What network protocols does luarocks install use?

I am running on a redhat box, behind a corporate firewall. I'm guessing that some of the protocols are getting blocked, but I'm a relative neophyte to git, and this is my first time ever using luarocks. It looks to me like luarocks is trying to use https:// so there should be no firewall issues.... But the error messages imply a firewall problem.
Here's what I know:
I do know that this git command works fine on my machine. git is able to clone the repository locally, and I can build luarocks from source.
git clone https://github.com/torch/luajit-rocks.git
But, this command fails:
luarocks install cwrap
Here is the output from the command
Installing https://raw.githubusercontent.com/torch/rocks/master/cwrap-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/cwrap-scm-1.rockspec... switching to 'build' mode
Initialized empty Git repository in /tmp/luarocks_cwrap-scm-1-8589/cwrap/.git/
github.com[0: 192.30.252.129]: errno=Connection timed out
LuaRocks uses LuaSocket and LuaSec when available to do HTTP and HTTPS, but apart from that it just defers to external commands, such as git.
You can run luarocks with the --verbose flag and it will output every external command it calls. You can then check what is the git command line it is calling, and try it directly from the command line. This should help to diagnose if any flag is causing problems.
As a workaround, you can force git to use https with the following command:
git config --global url.https://github.com/.insteadOf git://github.com/
Source: https://github.com/torch/rocks/issues/38