1

Topic: iRedMail install hangs on MariaDB configuration

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, I'm trying to install the latest version of iRedMail on Ubuntu 18.04 hosted on an AWS ECS instance.  The iRedMail.sh script runs great up until the configuration section, where it then hangs on this line:

[ INFO ] Configure MariaDB database server.

And then never completes.  I eventually CNTRL-C out of the running script.

I assume there is some issue with MariaDB, but I can manually connect to it without any issues with this command:

sudo mysql -u root -p

When I do a "show databases" I get the following:

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
+--------------------+
3 rows in set (0.00 sec)

Does this issue have something to do with me not being able to set a root password for MariaDb/MySql in AWS?

Aaron

2

Re: iRedMail install hangs on MariaDB configuration

Got this resolved.  Issue was I had a prior install of MySQL that was being tracked by aparmor.  Once I got MargiaDB starting correctly and working where I cold log in as root, all went well with the rest of the iRedMail script!