Topic: Installation Problems - iRedMail 0.8.4 / CentOS 6.3
iRedMail 0.8.4
CentOS 6.3
Storing mail accounts in either MySQL (tried first) or LDAP (tried second)
Brand new user.
I'm installing iRedMail on a freshly imaged VM. That's had nothing done to it.
Initally chose MySQL as the account storer, then tried a fresh VM using LDAP.
Both have given the same problems.
Install runs fine until this:
********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
< INFO > Configure Apache web server and PHP.
< INFO > Configure LDAP server: OpenLDAP.
< INFO > Configure MySQL database server.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Policyd (postfix policy server, version 1.8).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
< INFO > Configure Dovecot (pop3/imap/managesieve server, version 2).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure iRedAdmin (official web-based admin panel).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
< INFO > Configure Fail2ban (authentication failure monitor).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
< INFO > Configure Roundcube webmail.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
< INFO > Configure phpLDAPadmin (web-based LDAP management tool).
< INFO > Configure phpMyAdmin (web-based MySQL management tool).
*************************************************************************
* iRedMail-0.8.4 installation and configuration complete.
*************************************************************************
< INFO > Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules provided by iRedMail now?
< Question > File: /etc/sysconfig/iptables, with SSHD port: 22. [Y|n]
I let the install continue to completion, reboot, and attempt to go to the /mail
URL and I get a similar error saying cannot connect to the database.
I can confirm both during installation (I checked on a seperate terminal while
the installation was asking that firewall question) and after reboot that mysqld
is running.
I assume that getting the database to talk now will be a bit late as a fair amount
of important table creation and population will have failed to happen during the
install step.
I'm going to go and purge this VM, make another one and before installing
iRedMail just check that the install image we're getting hasn't pre-installed
something unexpected.
Any other ideas?
If I could get this to work out of the box it would be a massive relief.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.