1 最后由 ableye (2014-10-29 09:55:56) 编辑

主题: iRedmail安装出错

==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:iRedMail-0.8.7
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.5_x86_64
- 与您的问题相关的日志信息:
====
问题描述:
执行# bash iRedMail.sh安装时提示如下错误:
< SKIP > Function: check_new_iredmail.
< INFO > Generating yum repository ...
< INFO > Clean metadata of yum repositories.
Loaded plugins: fastestmirror, security
Cleaning repos: base extras iRedMail tmp_epel updates
2 metadata files removed
0 sqlite files removed
0 metadata files removed
< INFO > Install epel yum repo.
< INFO > Installing package(s): epel-release
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile


Cannot retrieve metalink for repository: tmp_epel. Please verify its path and try again
< ERROR > Installation failed, please check the terminal output.
< ERROR > If you're not sure what the problem is, try to get help in iRedMail
< ERROR > forum: http://www.iredmail.org/forum/

已尝试的解决方法:
按照此贴修改无效
http://www.iredmail.com/bbs/topic2725-i … pepel.html

回复: iRedmail安装出错

mail server 是可以访问/etc/yum.repos.d/tmp_epel.repo 里定义的 URL
[root@mail ~]# ping mirrors.fedoraproject.org
PING wildcard.fedoraproject.org (66.35.62.166) 56(84) bytes of data.
64 bytes from wildcard.fedoraproject.org (66.35.62.166): icmp_seq=1 ttl=47 time=192 ms
64 bytes from wildcard.fedoraproject.org (66.35.62.166): icmp_seq=2 ttl=47 time=195 ms
64 bytes from wildcard.fedoraproject.org (66.35.62.166): icmp_seq=3 ttl=47 time=190 ms
64 bytes from wildcard.fedoraproject.org (66.35.62.166): icmp_seq=4 ttl=47 time=192 ms

回复: iRedmail安装出错

主要还是网络问题,可能是间歇性无法访问指定的镜像服务器。多试几次吧。
或者早安装 iRedMail 前先安装 epel-release,目前它已被 centos 官方仓库收录,所以可以直接安装:

# yum -y install epel-release

回复: iRedmail安装出错

执行完成 # yum -y install epel-release
再次执行#bash iRedMail.sh
仍然是同样错误,请再帮助一下,谢谢!

回复: iRedmail安装出错

这个问题已解决,解决方法如下:
安装iRedmail之前先执行:
#yum update
将CentOS升级到6.6 即可正常安装了。