Rabbitmq fresh install issues

459 views
Skip to first unread message

Thomas Zook

unread,
Sep 14, 2023, 5:45:08 PM9/14/23
to rabbitmq-users
I'm attempting to install RabbitMQ on a fresh Linux server(Ubuntu 20.04) and I'm getting the following error when it attempts to install/start the rabbitmq-server package:

Application rabbit exited with reason: {{case_clause,version_not_available},{rabbit,start,[normal,[]]}}

Erlang details:
#erl -s erlang halt
Erlang/OTP 25 [erts-13.2.2.3] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]
#apt list erlang-base
Listing... Done
erlang-base/focal,focal,now 1:25.3.2.6-1 amd64 [installed]

RabbitMQ details:
#apt list rabbitmq-server
Listing... Done
rabbitmq-server/focal,focal,now 3.11.23-1 all [installed]

Anyone else experience this issue when installing?

Michal Kuratczyk

unread,
Sep 15, 2023, 3:27:06 AM9/15/23
to rabbitm...@googlegroups.com
Hi,

I've never seen it but after a quick look at the code, I think this happens when a data directory exists, created by a much older version.
Perhaps it's not actually a fresh install, but RabbitMQ was installed on that machine a long time ago?
Or perhaps you started the version shipped with Ubuntu (almost certainly quite an old one) and only then you installed 3.11.23?

Anyway, make sure there's nothing in the data folder (/var/lib/rabbitmq/ or whatever that is on Ubuntu).

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ec29af3a-5d43-45e9-afc6-74b89d6c8a7an%40googlegroups.com.

--
Michał
RabbitMQ team
RabbitMQ team

Thomas Zook

unread,
Sep 15, 2023, 11:33:33 AM9/15/23
to rabbitmq-users
Hello Michal,

Thank you for your help, that was the issue.

After reading your reply, I remembered that when I did an initial install of RabbitMQ onto the server, the apt preferences files wasn't correct and so it didn't install the correct version of RabbitMQ. I had removed that version of RabbitMQ and corrected the apt preferences file but unfortunately forgot that package installation/removal doesn't touch data directories usually and I should have manually removed /var/lib/rabbitmq.

Reply all
Reply to author
Forward
0 new messages