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.
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.
$ 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!