1

Topic: Core dump on CentOS 6.2 Install

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====Trying to Install iRedMail-0.8.5 on CentOS 6.2 using https://bitbucket.org/zhb/iredmail/down … .5.tar.bz2
installation failed with the following when iRedMail.sh is executed:
"/usr/local/iRedMail-0.8.5/pkgs/../conf/core: line 554: 14894 Segmentation fault      (core dumped) ${YUM} -y --disablerepo=rpmforge,ius install $@
< 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/"

starting with line 552 in the core dump
# Install/Remove binary packages on RHEL/CentOS.                                                     
install_pkg_rhel()
{
    ECHO_INFO "Installing package(s): $@"
    ${YUM} -y --disablerepo=rpmforge,ius install $@
    if [ X"$?" != X"0" ]; then
        ECHO_ERROR "Installation failed, please check the terminal output."
        ECHO_ERROR "If you're not sure what the problem is, try to get help in iRedMail"
        ECHO_ERROR "forum: http://www.iredmail.org/forum/"
        exit 255
    else
        :
    fi
}
I have searched the Internet and the forum but am unable to figure out what to do.

----

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

2

Re: Core dump on CentOS 6.2 Install

I don't think iRedMail installation itself will cause core dump, there must be something wrong in your OS.

*) Is it a virtual machine like VMware/Xen/KVM/VirtualBox?
*) Does core dump happen every time when you install RPM package with yum?

3

Re: Core dump on CentOS 6.2 Install

Thanks for your reply.  This is on a dedicated server with 20 GB RAM and 1 TB hard drive.  Actually, yum worked fine when we fired up the server about a year ago.  Haven't installed anything since. Just tried 'yum list extras' and it worked fine but when I tried 'yum update python' it accessed the mirrors and then did a core dump.  Then  'yum list extras' accessed the mirrors and then did a core dump.  After 'yum clean all',  'yum list extras' worked again but 'yum update python' went back to a core dump.

I reinstalled yum using yum-3.4.3 (the latest version) and had the exact same result - Segmentation fault      (core dumped) ${YUM} -y --disablerepo=rpmforge,ius install $@ .

Do you think this is a yum problem and if so, do you have any suggestions?

4

Re: Core dump on CentOS 6.2 Install

Obviously, it's server problem. I suggest you reinstall your OS and try again.

5

Re: Core dump on CentOS 6.2 Install

Thanks for your reply