redhat7下面部署rabbitmq时候系统报错

SH_Primetoner 2014-03-20 11:51:23
[root@redhat7gui Downloads]# rpm -ivh rabbitmq-server-3.2.4-1.noarch.rpm
error: Failed dependencies:
erlang >= R13B-03 is needed by rabbitmq-server-3.2.4-1.noarch
[root@redhat7gui Downloads]# rpm -qa |grep erlang
erlang-hipe-R14B-04.3.el6.x86_64
erlang-crypto-R14B-04.3.el6.x86_64
erlang-syntax_tools-R14B-04.3.el6.x86_64
erlang-erts-R14B-04.3.el6.x86_64
erlang-compiler-R14B-04.3.el6.x86_64
erlang-stdlib-R14B-04.3.el6.x86_64
erlang-kernel-R14B-04.3.el6.x86_64

[root@redhat7gui Downloads]# rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
[root@redhat7gui Downloads]# rpm -ivh rabbitmq-server-2.8.7-1.noarch.rpm
error: Failed dependencies:
erlang >= R12B-3 is needed by rabbitmq-server-2.8.7-1.noarch

如果用yum install rabbitmq-server:

[root@redhat7gui Downloads]# yum install rabbitmq-erver

Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository epel-ftp is listed more than once in the configuration
Repository openstack-havana is listed more than once in the configuration
epel | 4.2 kB 00:00
epel--epel.repo | 2.9 kB 00:00
http://repos.fedorapeople.org/repos/peter/erlang/epel-7Everything/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://repos.fedorapeople.org/repos/openstack/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.


One of the configured repositories failed (fedora1),
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-fedora-1

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-fedora-1.skip_if_unavailable=true

failure: repodata/repomd.xml from epel-fedora-1: [Errno 256] No more mirrors to try.
http://repos.fedorapeople.org/repos/openstack/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found


...全文
1253 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
棉花被 2014-03-21
  • 打赏
  • 举报
回复
如下: 方法1: rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel//beta/7/x86_64/epel-release-7-0.1.noarch.rpm yum install erlang 方法2:(erlang装这个现成的) https://my.vmware.com/web/vmware/details?downloadGroup=VFEL_15B02&productId=267 方法3:手工搞 这里面应该有你要的所有RPM,不过有点累,太多了.....呵呵 http://ftp.sjtu.edu.cn/fedora/epel//beta/7/x86_64/ 参考:https://www.rabbitmq.com/install-rpm.html (比较老,不是链接的RHEL7的rpm地址)

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧