Installation of RabbitMQ 3.7.7/ Erlang 21.0 on CentOS 7.5/ Fedora 28/ Ubuntu 18.04

729 views
Skip to first unread message

Mono

unread,
Aug 14, 2018, 2:24:17 PM8/14/18
to rabbitmq-users
Hello -

I am installing RabbitMQ 3.7.7 (latest) after latest install from Erlang Solutions repo of Erlang 21.0.

I use the necessary packages (rpm/ deb) for - CentOS 7.5/ Fedora 28/ Ubuntu 18.04.

I am getting the following errors after install but the install seems to be finishing ok. It seems perhaps Erlang is not installing right even though I am using the repo to install as shown here:

Then I yum/ apt install erlang. Should I install esl-erlang only instead? erlang-nox is installed separately.
esl-erlang does not seem to install properly after erlang at least in CentOS.

I am wondering what may be the issues and how to fix.

Also logrotate is the only issue showing for Fedora - wondering if the others also have the problem but just not getting to it.
Is it not a dependency that should be automatically installed? Or should I install it manually for all.

Are there some commands I can run to see if it is installed properly?

Also does RabbitMQ work with erlang-base-hipe?

Thank you for your help.

Mono

-------------------------------------------------------------------
# vCENTOS:   file /usr/bin/epmd from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/erl from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/erlc from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/escript from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/run_erl from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/to_erl from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-erts-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/dialyzer from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-dialyzer-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/typer from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-typer-21.0-1.el7.centos.x86_64
# vCENTOS:   file /usr/bin/ct_run from install of esl-erlang-21.0-1.x86_64 conflicts with file from package erlang-common_test-21.0-1.el7.centos.x86_64

# vFEDORA: logrotate is needed by rabbitmq-server-3.7.7-1.el7.noarch

# vUBUNTU2:  erlang-base : Conflicts: erlang-base-hipe
# vUBUNTU2:  esl-erlang : Conflicts: erlang-base but 1:21.0-1 is to be installed
# vUBUNTU2:               Conflicts: erlang-asn1
# vUBUNTU2:               Conflicts: erlang-crypto
# vUBUNTU2:               Conflicts: erlang-mnesia
# vUBUNTU2:               Conflicts: erlang-public-key
# vUBUNTU2:               Conflicts: erlang-runtime-tools
# vUBUNTU2:               Conflicts: erlang-ssl
# vUBUNTU2:               Conflicts: erlang-syntax-tools
-------------------------------------------------------------------

Michael Klishin

unread,
Aug 14, 2018, 2:31:51 PM8/14/18
to rabbitm...@googlegroups.com
We have a doc guide dedicated to RPM-based distributions [1] which lists a number of options
for installing Erlang/OTP.

Our own zero-dependency RPM and Debian package (apt) repo [2] are the recommended ways.

Package names are not going to be the same between Fedora and Debian. Only debian uses "erlang-nox".
erlang-base and esl-erlang cannot coexist on the same system, you have to pick one or the other.


--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Aug 14, 2018, 2:31:59 PM8/14/18
to rabbitm...@googlegroups.com

To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Mono

unread,
Aug 14, 2018, 2:44:37 PM8/14/18
to rabbitmq-users
Thanks Michael for your reply. I will try and follow the setups listed.

So best to go with erlang or esl-erlang? For Cent and Fedora and Deb/ Ub?

And erlang-nox needs to be installed for Debian and Ubuntu both?

Thus erlang-hipe is out?

And erlang/ RabbitMQ not possible for Suse Leap?

Thanks again for the clarifications.

Mono
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.

To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Aug 14, 2018, 2:48:29 PM8/14/18
to rabbitm...@googlegroups.com
See my recommendation from the earlier response. It's been pretty specific.

Erlang/OTP is available for OpenSUSE Leap but I don't have a yum repo or other source of recent releases to recommend.

HiPE is supported by RabbitMQ and these days, pretty safe to enable. I suggest that you get to it once you have everything else
set up and have evidence that HiPE is needed for your workload.

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Monosij Dutta-Roy

unread,
Aug 14, 2018, 3:51:12 PM8/14/18
to rabbitm...@googlegroups.com
Hi Michael -

Just to clarify, you said:
'erlang-base and esl-erlang cannot coexist on the same system, you have to pick one or the other'.

So is there one preferred over another for Rabbit? And perhaps in Debian v Cent one is better than other?

And you said ' Only debian uses "erlang-nox".

So I assume it is needed for Debian but is there a different package for Rh or not needed at all.

Just wanted to make sure I have all issues resolved before I change my scripts.

Or perhaps its all resolved from using specific repos as per your link. But still does not answer the erlang v esl-erlang question.

I will pass on erlang-hipe.

Thanks for your patience and help.

Mono

Michael Klishin

unread,
Aug 14, 2018, 3:58:01 PM8/14/18
to rabbitm...@googlegroups.com
It doesn't matter to RabbitMQ whether you run Debian, Ubuntu, Fedora, CentOS, RHEL or anything else.
Use what you are most familiar with. That said, there seems to be more Debian (Ubuntu) users than Fedora or CentOS,
so it might make a huge difference for a beginner in terms of how many basic questions have been answered years ago
and waiting to be found.

"erlang-base" is a standard core Debian package (that our apt repo on Bintray also provides). There are more with specific modules,
e.g. erlang-ssl and so on [2]. "erlang-esl" is a package provided by ESL and I see no reason to use it these days. [3] offers the most
recent patch versions of 3 release series for several popular distributions. esl-erlang is usually behind with releases
and only supports a couple of recent distributions.

If you don't lean either way, go with Ubuntu 18.04 and just follow the docs [1].


To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mono

unread,
Aug 15, 2018, 12:35:29 PM8/15/18
to rabbitmq-users
Thanks Michael.

One set of last questions.

Is the erlang-base that Rabbit provides much different from what Erlang-Solutions provides?
My ques is as I am experimenting with Elixir and Riak and threfore, wondering if I will have any issues with the Erlang from Rabbit vs the one from Erlang-Solutions.

Thus I keep wondering if I should just go with erlang-hipe to be able to fit both Elixir, Riak and Rabbit together on one box for my experiments with Erlang.
And I do need to try it on all three systems mentioned.

Installing from the Erlang Solutions repo allows me to install Elixir and Riak quickly on Ub. I do not mind long and right steps however.

What entity is ESL.

I will follow the docs for a proper Ubuntu install and also try out my Fedora and Cent installs.
I am hoping that Rabbit's Erlang is a better version of Erlang and I can still keep Erlang Solutions repo to only install Elixir.

If I go with erlang-hipe where should I install it from and s there a document to follow for Rabbit.

Thank you for your help and clarifications on Erlang and my novice questions.

Mono

Michael Klishin

unread,
Aug 15, 2018, 12:48:40 PM8/15/18
to rabbitm...@googlegroups.com
See [1].

Our apt repo repackages and rebuilds the official Debian packages, and there are no meaningful difference
in the package, leave alone the Erlang/OTP code we build (note: our RPM package DOES strip off some parts of OTP because their
dependencies are a lot more problematic on Fedora/CentOS but the Debian one doesn't do anything of the kind).

Which means you can use it with anything else you'd use Erlang with: Elixir apps, running Riak (doesn't Riak bundle OTP anyway?),
and so on.

We don't have much visibility into the Erlang Solutions packages for Linux distributions. To my knowledge they are not open source [2].
I suspect that there are no meaningful code modifications compared to vanilla OTP, they just package it in their own way
and try to solve more or less the same problem as our apt repo does: availability of recent patch releases for popular Linux distros, including some older ones.
They just don't do a particularly good job at it if you ask me.


To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Aug 15, 2018, 12:51:05 PM8/15/18
to rabbitm...@googlegroups.com
ESL are Erlang Solutions, Ltd [1]. I will let their site tell you who they are
but it's undeniable that they are a major force in the Erlang ecosystem and have been around
for ages.

So by all means investigate their other projects and hire them ;), I just don't think they bring their A game
when it comes to packaging.


To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mono

unread,
Aug 15, 2018, 1:48:49 PM8/15/18
to rabbitmq-users
Thanks Michael for your prompt replies.

Much appreciated!

I will start my installation process for these packages across Erlang and see where it leads me.

BTW what does OTP stand for. So Erlang OTP is what everyone works off of?

Like Ubuntu and others off Debian?

I am not sure what Riak bundles. But in my mind if I have an erlang-base (or hipe) installed all other installs should work off it?

Mono

Michael Klishin

unread,
Aug 15, 2018, 2:42:09 PM8/15/18
to rabbitm...@googlegroups.com
OTP = Open Telecom Platform, a set of libraries, frameworks and principles that
come alongside the Erlang language.

It’s a bit like “GNU” in GNU/Linux (in that everyone forgets about it :D)
Reply all
Reply to author
Forward
0 new messages