1

Topic: Fresh install of iRedMail-0.9.0 MariaDB issue?

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Linux/BSD distribution name and version: FreeBSD 10.1
- Related log if you're reporting an issue:
====

Saw that 0.9.0 relased recently and was excited to try it on a spare FreeBSD server.  I opted for nginx and mariadb though, eager to try these out.

I got this error after install and it seems that nothing from the install works.  Below are the only errors I have seen.

< INFO > Total time of ports compiling: 5590 seconds, ~= 93 minute(s)

********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files (2048 bits).
< INFO > Create required system account: vmail, iredadmin, iredapd.
< INFO > Configure Apache web server and PHP.
< INFO > Configure Nginx web server and uWSGI.
< INFO > Configure PHP.
< INFO > Configure MariaDB database server.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Setup daily cron job to backup SQL databases: /var/vmail/backup/backup_mysql.sh
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Cluebringer (postfix policy server).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure Dovecot (pop3/imap/managesieve server).
< 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' (61)
< 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' (61)
< INFO > Configure Roundcube webmail.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure Awstats (logfile analyzer for mail and web server).

*************************************************************************
* iRedMail-0.9.0 installation and configuration complete.
*************************************************************************

< INFO > Updating SpamAssassin rules (sa-update), please wait ...
< INFO > Compiling SpamAssassin rulesets (sa-compile), please wait ...
< INFO > Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Sat Jan  3 01:14:34 2015
Downloading main.cvd [100%]
main.cvd updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Downloading daily.cvd [100%]
daily.cvd updated (version: 19871, sigs: 1301022, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 244, sigs: 44, f-level: 63, builder: dgoddard)
Database updated (3725291 signatures) from database.clamav.net (IP: 64.6.100.177)
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock: No such file or directory
********************************************************************

----

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

2

Re: Fresh install of iRedMail-0.9.0 MariaDB issue?

Can you start mariadb server manually after iRedMail installation? Any error?