Topic: Reoccuring CentOS iRedmail install issue
Developers,
So I tested the install with a VPS server using various operating systems. On Ubuntu / Debian servers I had no issue with the install. Everything flowed fine and all services started up without an issue.
On CentOS6 (specifically) there is an issue which happens each and every time where dovecot does not start automatically. I have to invoke the "service dovecot start" command in order to get it running. Also, there is an ERROR displays towards the end of the install when configuring dovecot which did not appear in any NON redhat versions of the install. Is this a known issue? I have provided my screen buffer output after the packages were downloaded and installed with yum (through the automatic install script). See below:
==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: CentOS 6.2 x86_84 (64 bit)
- iRedMail version and backend (LDAP/MySQL): 0.7.4 / LDAP
- Any related log? Log is helpful for troubleshooting.
====
*************************************************************************
* iRedMail-0.7.4 installation and configuration complete.
*************************************************************************
< INFO > Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules shipped within iRedMail now?
< Question > File: /etc/sysconfig/iptables, with SSHD port: 22. [Y|n]y
< INFO > Copy firewall sample rules: /etc/sysconfig/iptables.
< Question > Restart firewall now (with SSHD port 22)? [y|N]y
< INFO > Restarting firewall ...
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
< Question > Would you like to use MySQL configuration file shipped within iRedMail now?
< Question > File: /etc/my.cnf. [Y|n]y
< INFO > Copy MySQL sample file: /etc/my.cnf.
< INFO > Enable SSL support for MySQL server.
< Question > Would you like to start postfix now? [y|N]y
< INFO > Temporarily set SELinux policy to 'permissive'.
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
Stopping slapd: [ OK ]
Starting slapd: [ OK ]
Stopping policyd:[FAILED]
Starting policyd:[ OK ]
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /root/iRedMail-0.7.4/config line 2: Expecting '='
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /root/iRedMail-0.7.4/config line 2: Expecting '='
[FAILED]
Shutting down amavisd: The amavisd daemon is apparently not running, no PID file /var/run/amavisd/amavisd.pid
[FAILED]
Starting amavisd: [ OK ]
Stopping Clam AntiVirus Daemon: [FAILED]
Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
[ OK ]
Stopping fail2ban: [FAILED]
Starting fail2ban: [ OK ]
Stopping crond: [ OK ]
Starting crond: [ OK ]
freshclam is already stopped.[ OK ]
[ OK ] freshclam:[ OK ]
iredapd is already stopped.
Starting iredapd ...
********************************************************************
* URLs of your web applications:
*
* - Webmail: xxxxxxx
* + Account: xxxxxxx
*
* - Admin Panel (iRedAdmin): xxxxxxxx
* + Account: xxxxxxxx
*
********************************************************************
* Congratulations, mail server setup complete. Please refer to tip
* file for more information:
*
* - /root/iRedMail-0.7.4/iRedMail.tips
*
* And it's sent to your mail account www@xxxxx.com.
*
********************************************************************
You have new mail in /var/spool/mail/root
[root@mail iRedMail-0.7.4]# service dovecot start
Starting Dovecot Imap: [ OK ]
[root@mail iRedMail-0.7.4]#
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.