Erlang Eacces Error running erlang.open_port

122 views
Skip to first unread message

Benjamin Sperl

unread,
Feb 8, 2024, 5:11:58 PM2/8/24
to rabbitmq-users
Hello all,

Thanks in advance for any help. I'm not a RabbitMQ engineer, but I'm working with software provided by GE called Plant Applications which uses RabbitMQ and comes with the installer. GE's support is horrendous, so I'm at the end of my rope.

I try and start the RabbitMQ system on Windows Server 2019 provided using "rabbitmq-plugins enable rabbitmq_management" and I get the errors in "RabbitMQ_Error.png". As far as I can tell, erlang does not have permission to something but I don't know what.

I tried uninstalling erlang 24.1x64 and reinstalling as administrator but that didn't seem to change anything. I also tried removing and reinstalling the rabbitmq service using the procedure in the attached file but that didn't work

I attached a file "erl_crash.dump" found at C:\Users\Administrator\AppData\Roaming\RabbitMQ. I was viewing it with erlang crash dump viewer but couldn't makes sense of it. The only config file in that folder is "advanced.config" and it is blank. The log folder is also empty

System Info
Erlang 24.1x64
Rabbitmq Server 3.9.8
Windows Server 2019

Thanks in advance!
Ben Sperl
erl_crash.dump
RabbitMQ_Error.png
RabbitMQ_Reinstall_Procedure.png

Luke Bakken

unread,
Feb 8, 2024, 6:44:21 PM2/8/24
to rabbitmq-users
Hi Ben,

Congratulations on reporting an error I've never seen with Erlang and RabbitMQ on Windows 😆

Based on the error, it appears you are running into this issue - https://github.com/erlang/otp/issues/5330

Just so you know, RabbitMQ 3.9.x is completely out of support.

Based on your description, it seems like you are setting up a new "Plant Applications" system? Is that true?

Can you elaborate on "software provided by GE called Plant Applications which uses RabbitMQ and comes with the installer" ... does this mean you are expected to set up your own RabbitMQ server or that RabbitMQ is installed by the "Plant Applications" installer?

Finally, do you have any systems where this software is running successfully?

Thanks,
Luke

Benjamin Sperl

unread,
Feb 9, 2024, 9:33:42 AM2/9/24
to rabbitmq-users
Hi Luke,

I'm happy to be the first! Thanks for the help

This error is from an existing installation on a hosted demo system for my company. I believe that RabbitMQ used to start without an error, but something has changed that has caused the error. I could be wrong and that it has never worked properly, but I don't think so. I performed the installation in July of 2023.

I didn't know that RabbitMQ 3.9 is out of support, I will make sure make GE aware.

RabbitMQ and Erlang are installed by the GE installer. There is a page that prompts you to create RabbitMQ credentials.

I have worked on a project where the software was running successfully but I am no longer involved and I was not responsible for installation

Ok, so based on the github, that would mean there is a path with a space. I don't see any paths in the error message. How could I track that down?

Thanks!
Ben Sperl

Luke Bakken

unread,
Feb 9, 2024, 10:45:19 AM2/9/24
to rabbitmq-users
This error is from an existing installation on a hosted demo system for my company. I believe that RabbitMQ used to start without an error, but something has changed that has caused the error. I could be wrong and that it has never worked properly, but I don't think so. I performed the installation in July of 2023.

You should be able to find the RabbitMQ log file and determine that - https://www.rabbitmq.com/logging.html#log-file-location
  •  Log in as the user account you used to install RabbitMQ
  • The log file should be located at %APPDATA%\RabbitMQ\log
You can attach the log file to your response.

Benjamin Sperl

unread,
Feb 9, 2024, 1:31:24 PM2/9/24
to rabbitmq-users
Hi Luke,

I was able to find a log file by looking around but not where I expected.  It is located in "C:\Program Files (x86)\Proficy\Proficy Server\RabbitMQ\log" where Proficy is the GE folder. I checked the environment variables and "RABBITMQ_LOGS" is not present. When I ran "rabbitmq-diagnostics -q log_location", the result was the same error I get when starting RabbitMQ.

The log file is 2GB in size so I can't upload it completely. The last entries in the log are from november 21, nothing from me trying to start the server now. I opened with notepad++ and copied the logs from the last 2 days, which I am attaching.  It seems it may be missing a file "handle.exe" from systinternals, but it isn't clear to me. 

I tried removing the oversized log file and restarting rabbitmq but it didn't change anything so I put it back

In Windows Event Viewer, I found an event saying "RabbitMQ. Erlang machine stopped instantly (distribution name conflict?). The service is not restarted, ignoring OnFail option". I saw this in some other posts so I thought it might be relevant.

Thanks,
Ben

RabbitMQ_Log_Last2Days.txt
Erlang_System_Error_Event.png

Luke Bakken

unread,
Feb 9, 2024, 3:44:31 PM2/9/24
to rabbitmq-users
Hi Ben,

The log file you provide doesn't give me any useful clues, nor does the event viewer.

Unfortunately, we can't support 3rd party installations of RabbitMQ like this, especially for free, and especially when the version of RabbitMQ is out of support.

I remember fixing issues around paths with spaces on Windows over the years since the version of RabbitMQ you're using. This would be a good reason to upgrade RabbitMQ. Or, if you can, change the installation directory of RabbitMQ to one that does not have spaces in the paths.

I'm sorry to leave you hanging like this. This is a scenario in which GE should purchase support for RabbitMQ - https://tanzu.vmware.com/rabbitmq/oss

Luke

Benjamin Sperl

unread,
Feb 12, 2024, 4:18:45 PM2/12/24
to rabbitmq-users
Hi Luke,

That's alright, I understand. I'll talk to GE and see what we can do. Maybe I can have them work with RabbitMQ support.

Thanks for everything!

Ben Sperl

Reply all
Reply to author
Forward
0 new messages