Cannot Install RabbitMQ on RPM-Based Linux

1,714 views
Skip to first unread message

Ye Wang

unread,
Aug 7, 2014, 3:11:34 PM8/7/14
to rabbitm...@googlegroups.com

Hi,

I was able to follow the official installation guide for RPM-based linux here: http://www.rabbitmq.com/install-rpm.html about a month ago. However, when I tried to build a new RabbitMQ server, it failed.

rabbitmq-server-3.3.4-1.noarch.rpm was downloaded from the official site here:

http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.4/rabbitmq-server-3.3.4-1.noarch.rpm

Can someone help? Is it an upstream RPM repo problem? If so, what's the fix? 

Thanks!!!

Ye


$ sudo yum install rabbitmq-server-3.3.4-1.noarch.rpm

Loaded plugins: priorities, update-motd, upgrade-helper

Examining rabbitmq-server-3.3.4-1.noarch.rpm: rabbitmq-server-3.3.4-1.noarch

Marking rabbitmq-server-3.3.4-1.noarch.rpm to be installed

Resolving Dependencies

amzn-main/latest                                                                                                                                                                                                                                         | 2.1 kB     00:00     

amzn-updates/latest                                                                                                                                                                                                                                      | 2.3 kB     00:00     

http://repos.fedorapeople.org/repos/peter/erlang/epel-latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Trying other mirror.



 One of the configured repositories failed (Erlang/OTP R14B),

 and yum doesn't have enough cached data to continue. At this point the only

 safe thing yum can do is fail. There are a few ways to work "fix" this:


     1. Contact the upstream for the repository and get them to fix the problem.


     2. Reconfigure the baseurl/etc. for the repository, to point to a working

        upstream. This is most often useful if you are using a newer

        distribution release than is supported by the repository (and the

        packages for the previous distribution release still work).


     3. Disable the repository, so yum won't use it by default. Yum will then

        just ignore the repository until you permanently enable it again or use

        --enablerepo for temporary usage:


            yum-config-manager --disable epel-erlang


     4. Configure the failing repository to be skipped, if it is unavailable.

        Note that yum will try to contact the repo. when it runs most commands,

        so will have to try and fail each time (and thus. yum will be be much

        slower). If it is a very temporary problem though, this is often a nice

        compromise:


            yum-config-manager --save --setopt=epel-erlang.skip_if_unavailable=true


failure: repodata/repomd.xml from epel-erlang: [Errno 256] No more mirrors to try.

Ye Wang

unread,
Aug 7, 2014, 3:15:00 PM8/7/14
to rabbitm...@googlegroups.com
So it appears that someone removed the symlink from epel-latest to epel-5Server?


I am not terribly familiar with RPM, anyone has expertise to work around this problem? I really appreciate it.


On Thursday, August 7, 2014 3:11:34 PM UTC-4, Ye Wang wrote:

Hi,

I was able to follow the official installation guide for RPM-based linux here: http://www.rabbitmq.com/install-rpm.html about a month ago. However, when I tried to build a new RabbitMQ server today, it failed.

Michael Klishin

unread,
Aug 7, 2014, 3:16:12 PM8/7/14
to rabbitm...@googlegroups.com, Ye Wang
 On 7 August 2014 at 23:11:39, Ye Wang (ye.wang.a...@gmail.com) wrote:
> >
> http://repos.fedorapeople.org/repos/peter/erlang/epel-latest/x86_64/repodata/repomd.xml:
> [Errno 14] PYCURL ERROR 22 - "The requested URL returned error:
> 404 Not Found"
>
>
> Trying other mirror.
> One of the configured repositories failed (Erlang/OTP R14B),

A Fedora repository seems to be having issues. Try installing (a much newer) Erlang
version from https://www.erlang-solutions.com/downloads/download-erlang-otp,
then RabbitMQ.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Ye Wang

unread,
Aug 7, 2014, 3:20:46 PM8/7/14
to rabbitm...@googlegroups.com
Thanks Michael.

Can this "esl-erlang" package compatible with the existing old erlang rpm installed on that machine? In other words, should I remove previously installed erlang first?

Michael Klishin

unread,
Aug 7, 2014, 3:23:53 PM8/7/14
to rabbitm...@googlegroups.com, Ye Wang
On 7 August 2014 at 23:20:52, Ye Wang (ye.wang.a...@gmail.com) wrote:
> > Can this "esl-erlang" package compatible with the existing
> old erlang rpm installed on that machine? In other words, should
> I remove previously installed erlang first?

Knowing what a wonderful piece of software RPM is, you should.
Then  cleanse it with fire :)

See http://www.rabbitmq.com/install-rpm.html for notes on various RPM
packages.

Ye Wang

unread,
Aug 7, 2014, 3:25:34 PM8/7/14
to rabbitm...@googlegroups.com
Weird, after I disable the epel-erlang RPM repo, everything worked.

$ sudo yum-config-manager --disable epel-erlang

Loaded plugins: priorities, update-motd, upgrade-helper

============================================================================================================================== repo: epel-erlang ===============================================================================================================================

[epel-erlang]

async = True

bandwidth = 0

base_persistdir = /var/lib/yum/repos/x86_64/latest

baseurl = http://repos.fedorapeople.org/repos/peter/erlang/epel-latest/x86_64/

cache = 0

cachedir = /var/cache/yum/x86_64/latest/epel-erlang

check_config_file_age = True

cost = 1000

deltarpm_metadata_percentage = 100

deltarpm_percentage = 

enabled = 0

enablegroups = True

exclude = 

failovermethod = priority

gpgcadir = /var/lib/yum/repos/x86_64/latest/epel-erlang/gpgcadir

gpgcakey = 

gpgcheck = False

gpgdir = /var/lib/yum/repos/x86_64/latest/epel-erlang/gpgdir

gpgkey = 

hdrdir = /var/cache/yum/x86_64/latest/epel-erlang/headers

http_caching = all

includepkgs = 

ip_resolve = 

keepalive = True

keepcache = False

mddownloadpolicy = sqlite

mdpolicy = group:small

mediaid = 

metadata_expire = 21600

metadata_expire_filter = read-only:present

metalink = 

minrate = 0

mirrorlist = 

mirrorlist_expire = 86400

name = Erlang/OTP R14B

old_base_cache_dir = 

password = 

persistdir = /var/lib/yum/repos/x86_64/latest/epel-erlang

pkgdir = /var/cache/yum/x86_64/latest/epel-erlang/packages

priority = 99

proxy = False

proxy_dict = 

proxy_password = 

proxy_username = 

repo_gpgcheck = False

report_instanceid = False

retries = 10

skip_if_unavailable = True

ssl_check_cert_permissions = True

sslcacert = 

sslclientcert = 

sslclientkey = 

sslverify = True

throttle = 0

timeout = 30.0

ui_id = epel-erlang/latest/x86_64

ui_repoid_vars = releasever,

   basearch

username = 


[ec2-user@rabbitmq-production rabbitmq-install]$ sudo yum install 

esl-erlang_17.1-1~centos~6_amd64.rpm  rabbitmq-server-3.3.4-1.noarch.rpm    

[ec2-user@rabbitmq-production rabbitmq-install]$ sudo yum install rabbitmq-server-3.3.4-1.noarch.rpm 

Loaded plugins: priorities, update-motd, upgrade-helper

Examining rabbitmq-server-3.3.4-1.noarch.rpm: rabbitmq-server-3.3.4-1.noarch

Marking rabbitmq-server-3.3.4-1.noarch.rpm to be installed

Resolving Dependencies

amzn-main/latest                                                                                                                                                                                                                                         | 2.1 kB     00:00     

amzn-updates/latest                                                                                                                                                                                                                                      | 2.3 kB     00:00     

--> Running transaction check

---> Package rabbitmq-server.noarch 0:3.3.4-1 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


================================================================================================================================================================================================================================================================================

 Package                                                           Arch                                                     Version                                                     Repository                                                                         Size

================================================================================================================================================================================================================================================================================

Installing:

 rabbitmq-server                                                   noarch                                                   3.3.4-1                                                     /rabbitmq-server-3.3.4-1.noarch                                                   4.4 M


Transaction Summary

================================================================================================================================================================================================================================================================================

Install  1 Package


Total size: 4.4 M

Installed size: 4.4 M

Is this ok [y/d/N]: y

Downloading packages:

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : rabbitmq-server-3.3.4-1.noarch                                                                                                                                                                                                                               1/1 

  Verifying  : rabbitmq-server-3.3.4-1.noarch                                                                                                                                                                                                                               1/1 


Installed:

  rabbitmq-server.noarch 0:3.3.4-1                                                                                                                                                                                                                                              


Complete!




On Thursday, August 7, 2014 3:11:34 PM UTC-4, Ye Wang wrote:

Ye Wang

unread,
Aug 7, 2014, 3:47:49 PM8/7/14
to rabbitm...@googlegroups.com, ye.wang.a...@gmail.com
LOL, I got your point Michael.

You should check out www.burningman.com too :)
Reply all
Reply to author
Forward
0 new messages