1

Topic: Problems with installation

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: CentOS 6.2 (Final)
- iRedMail version and backend (LDAP/MySQL): 0.7.4 MySQL
- Any related log? Log is helpful for troubleshooting.
====
Hi,

I'm trying iRedMail for the first time and having problems at the start of the install.  I'm getting the following error.  I'm sure it's easy to fix but after reading 10 pages on the support forum I was getting to the older version issues and still no solution.  The output from the script is below.  Any help is appreciated.

Thanks,
Rich Leung

< INFO > Generating yum repository ...
< INFO > Fetching Source Tarballs ...
< INFO > + 1 of 5: http://iredmail.org/yum/misc/iRedAPD-1.3.6.tar.bz2
< INFO > + 2 of 5: http://iredmail.org/yum/misc/iRedAdmin-0.1.6.tar.bz2
< INFO > + 3 of 5: http://iredmail.org/yum/misc/roundcubemail-0.7.tar.gz
< INFO > + 4 of 5: http://iredmail.org/yum/misc/phpldapadmin-1.2.2.tgz
< INFO > + 5 of 5: http://iredmail.org/yum/misc/phpMyAdmin … es.tar.bz2
< INFO > Validate Packages ...  [ OK ]
< INFO > Installing package(s): dialog
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* c6-media:
* centosplus: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. 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/
< INFO > Installing package(s): dialog
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.fibo.vn
* c6-media:
* centosplus: mirror.averse.net
* extras: mirrors.fibo.vn
* updates: mirrors.fibo.vn
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. 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/

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problems with installation

Please disable yum repository 'c6-media' first. For example, set 'enabled=0' in /etc/yum.repos.d/c6-media.repo.

3

Re: Problems with installation

ZhangHuangbin wrote:

Please disable yum repository 'c6-media' first. For example, set 'enabled=0' in /etc/yum.repos.d/c6-media.repo.

Thanks for your reply but the only repositories I have in the directory are:
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
iRedMail.repo

This is a very vanilla build of CentOS 6.2 with nothing on there at all.  I'm building this machine as a test to see if we progress to use iRedMail for our company.

Regards,
Rich Leung

4

Re: Problems with installation

Please disable CentOS-Media.repo.

5

Re: Problems with installation

ZhangHuangbin wrote:

Please disable CentOS-Media.repo.

Done and now I get this error:

http://mirror.centos.org/centos/6/contr … epomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.centos.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: contrib. Please verify its path and try again

I have verified that I can see the server but doing a "wget" I get the same response.  Is the path correct?

6

Re: Problems with installation

I've finally managed to spend some time and look at the issues and successfully installed iRedMail.  I was having problems from within Thailand but managed an install outside of Thailand.  Finally these are the changes I had to make to the install instructions to get things working:

Replace iredmail.org with the IP address just as you recommend for China.
Edit /etc/hosts file and add the IP address for mirror.centos.org.  As above I could ping from the machine but seemed not to resolve.

After making both changes I've successfully installed on my test server in Thailand.  Thanks for your pateince and hope this info helps someone else.

Rich.

7

Re: Problems with installation

richl wrote:

Replace iredmail.org with the IP address just as you recommend for China.
Edit /etc/hosts file and add the IP address for mirror.centos.org.  As above I could ping from the machine but seemed not to resolve.

The same terrible as China mainland. God bless us...