I had Erlang 21.2 installed as I am using RabbitMQ (3.7.10), this is on Windows 10. I wanted to upgrade to a later version RabbitMQ (3.9.15), so I uninstalled 21.2 and installed 24.3.3. But after upgrading RabbitMQ I cant run RabbitMQ.
When trying to start I get the following error:
Unable to load emulator DLL
(C:\Program Files\erl-24.3.3\erts-12.3.1\bin\beam.smp.dll)
I thought this might be an issue with RabbitMQ and have uninstalled and reinstalled both Erlang and RabbitMQ multiple times now with no change.
I decided to try run Erlang manually from C:\Program Files\erl-24.3.3\erts-12.3.1\bin\ but when I run '.\erl.exe' I get the same error.
Taking Luke's advice we downloaded 24.3.4 and ran the installer. We also re-ticked the box to install windows binaries even though it said they were already present.
Not sure which of those two things actually fixed the issue but after that Erlang started successfully.
Related
I'm trying to upgrade my version of RabbitMQ using chocolatey. This package has Erlang as a dependency, so installs the relevant version required. I've gone from 3.9.19 to 3.10 fine. However, when I try and go from 3.10 to 3.11.7 I get the following error:
beam\beam_load.c(169): Error loading module elixir:
This BEAM file was compiled for a later version of the run-time system than 24.
To fix this, please recompile this module with an 24 compiler.
(Use of opcode 178; this emulator supports only up to 176.)
ERROR! Failed to start Elixir.
error: {error,
{elixir,
{bad_return,
{{elixir,start,[normal,[]]},
{'EXIT',
{undef,
[{elixir,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,293}]}]}}}}}}
I don't know why this is happening, or if it's even a problem. I've not been able to find anything on this error. When I run RabbitMQ it appears to be running ok with the right version of Erlang. However, this error suggests that it's attempting to use Erlang version 24 (which was already installed as part of installing 3.9.19). How is it deciding what version of Erlang to use here? I checked my environment variables and it the ERLANG_HOME is set correctly.
Update
I tried going through the process again and installing rabbitmq 3.9.19 from chocolatey, upgrading to 3.10.1, then using the choco command to uninstall just Erlang 24.0 (using force). I then upgraded rabbitmq to version 3.11.8. This got rid of the previous error but showed another one stating:
ERLANG_HOME not set correctly.
Please either set ERLANG_HOME to point to your Erlang installation or
place the RabbitMQ server distribution in the Erlang lib folder.
However, when I checked the ERLANG_HOME environment variable it seemed to be set correctly, in that it was pointing now at Erlang OTP and not erl-24.0. So why is this error thrown?
Can anyone decode the following for me?
WSL was working perfectly on C++ a few weeks back.
Switched to try to run older Python under windows (not WSL) and it seems all twisted up now.
Can't get Win10 nor WSL to run. Keeps trying and failing to update. I re-ran the WSL and updated VSCode on the windows side. I AM behind a proxy but as far as I know, I've update all the files that google searches pointed me at. Pretty frustrated and would appreciate any help there is.
"
Request downloadRequest failed with message: getaddrinfo ENOTFOUND update.code.visualstudio.com. Will try to download on WSL side."
"
[2022-02-10 13:51:09.374] Setting up server environment: Looking for /home/ubuntu/.vscode-server/server-env-setup. Not found.
[2022-02-10 13:51:09.374] WSL version: 4.4.0-19041-Microsoft Ubuntu-20.04
[2022-02-10 13:51:09.374] Updating VS Code Server to version d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03
[2022-02-10 13:51:09.374] Removing previous installation...
[2022-02-10 13:51:09.674] Installing VS Code Server for x64 (d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03)
[2022-02-10 13:51:09.674] Downloading:
[2022-02-10 13:52:43.314] VS Code Server for WSL failed to start. No messages received for 90s
[2022-02-10 13:52:43.314] For help with startup problems, go to
[2022-02-10 13:52:43.314] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2022-02-10 13:52:43.328] WSL Daemon exited with code 0
"
I'm not 100% which step fixed it however I was able to proceed after.
Launching C++ project in wsl also tried to update and failed. The difference being that the install button did actually install the wsl server update w/o fail. So that error was gone.
I then launched another VSCode session with the Python project and the cmd terminal. I then had to use this help (https://github.com/pypa/pip/issues/9216#issuecomment-741836058) to adjust the proxy.
I could then proceed to reinstall ipykernel which is what had stopped working and was blocking me.
I'm pretty sure my environments are conflicting with each other. I'm afraid I don't understand VSCode environments well enough and very likely caused this problem for myself.
I can not get Stencil to run for the life of me. I am using NVM to mange my version of node - I tried both 10.16 and 10.19.
I have reinstalled Stencil 2 or 3 times now and ever time I get the same error:
WTF? Has anyone got this to successfully run on a Windows 10 machine? We originally had node 13.9 installed but I was getting the same errors so I figured it was because it was outside their "approved" versions. I spoke to their customer support and they told me that it should work with newer version but that they can't give it proper approval until it's goes through some process.
So I can't get this to work on any version......
Any help would be very much appreciated!
Before installing nvm was a previous version of node installed? You'll need to uninstall nvm and node before installing nvm which can cause this. You can confirm which version of node is installed using node --version
I want to install RabbitMQ Service as a Windows Service. I see an option to install RabbitMQ Service from installer (v3.6.5). However, it does not work.
I write a Batch script trying to re-install RabbitMQ service after running installer file.
set HOMEDRIVE=C:
set HOMEPATH=\Users\%username%
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-service.bat" remove
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-service.bat" install
call net start RabbitMQ
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-plugins.bat" enable rabbitmq_management
However, this script is quite unstable.
Sometimes it works, but sometimes it doesn't.
I tested in many PCs with Windows 10, Windows 8.1, Windows 7 and Windows Server 2012.
When error occurs, it always occurs in the last command (enabling RabbitMQ management)
C:\Program Files\erl9.0\erts-9.0\bin\erlsrv: Service RabbitMQ removed from system.
C:\Program Files\erl9.0\erts-9.0\bin\erlsrv: Service RabbitMQ added to system.
The RabbitMQ service is starting.
The RabbitMQ service was started successfully.
Plugin configuration unchanged.
Applying plugin configuration to rabbit#<myhost>... failed.
* Could not contact node rabbit#<myhost>.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
Sometimes, I got this error
...
Plugin configuration unchanged.
Applying plugin configuration to rabbit#<myhost>... failed.
Error: noproc
In my PC, I get the first error (could not contact node...) when %HOMEDRIVE%%HOMEPATH% is C:\users\myusername. When I change to C:\Windows, it works well. Then I change back to C:\users\, it also works well, no more error.
However, on a server with Windows Server 2012, even C:\Windows does not work (could not contact node...).
In all PCs, I see .erlang.cookie file in both C:\Windows and C:\Users[username]. (I don't know anything about erlang, just follow some instructions from other questions in StackOverFlow).
What is wrong with my script?
Is the error related to the version of RabbitMQ? I am not using the latest version.
Is it related to Erlang? I guess if Erlang caused this problem, then two commands about removing/installing RabbitMQ service would be failed.
Is it able to install the service without checking service option from installer, just run command rabbitmq-service.bat install?
The RabbitMQ team monitors this mailing list and only sometimes answers questions on stackoverflow.
You should be using the most recent version of the RabbitMQ installer for Windows, available here. I am assuming that <myhost> in your question is an edited-out hostname, not what is actually being used. You also don't mention which version of Erlang you have installed, but I assume it is a recent one.
You should uninstall RabbitMQ and ensure all traces are removed from C:\Users\myusername (be sure to check %APPDATA%) and C:\Windows. You should not have to change the default values of HOMEDRIVE and HOMEPATH prior to installation. Use an administrative account when running the Erlang and RabbitMQ .exe installers.
Please note that 3.6.12 has this issue on Windows. A workaround is to set vm_memory_calculation_strategy to erlang. I fixed this issue and it will be delivered in 3.6.13.
Thanks for using RabbitMQ!
i have a 32 bit Fedora 14 machine and I am trying to install IntellIJ IDEA on it, I used the package manager to install it. Along with that installation, also Eclipse and Groovy got installed.
Then I tried to install a new version of JDK but it didnt allow me to do so because of conflict with an older version of JRE, So I removed the JRE older version and installed JDK.
Then I have been noticing that IntelliJ refuses to run, I uninstalled and reinstalled and checked several times, but it just refuses to start, Then I opened a terminal and typed intell, hoping that the terminal would complete it for me, and I could launch the program from the command line, but no it said "intellIj:Command not found", whereas the same thing does not happen with Eclipse or Groovy.
I have tried restarting the machine several times, uninstalled and then reinstalled the packages several times, but nothing seems to work. I am not sure whether Intellij is getting installed or not, but the Package Manager does not show any error while the software is being installed. Any ideas as to why this is happening, and how to get around this problem?
You should try to install it manually by just extracting tgz file downloaded from producer website. Then you start IDE by launching IDEA_DIRECTORY/bin/idea.sh