Topic: Install 0.9.0 failure (apache2 related)
==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian Wheezy (7.5)
- Related log if you're reporting an issue:
====
Hello there,
Major failure after trying to install iRedMail 0.9.0 on a fresh Debian Wheezy 7.5. iRedMail.sh states many errors when configuring all things Apache2 related, but completes anyway. Most of the backends are unavailable (iredadmin / phpldapadmin / roundcube / etc.). Servers are ok. None of the apache2/conf.d have been created. Here are a the errors :
********************************************************************
* 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.
Can't open /etc/apache2/conf-available/security.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure Nginx web server and uWSGI.
< INFO > Configure PHP.
/root/iRedMail-0.9.0/functions/web_server.sh: line 27: /var/www/html/robots.txt: No such file or directory
/root/iRedMail-0.9.0/functions/web_server.sh: line 34: /var/www/html/index.html: No such file or directory
< INFO > Configure LDAP server: OpenLDAP.
< INFO > Setup daily cron job to backup LDAP data: /var/vmail/backup/backup_openldap.sh
< INFO > Configure MySQL database server.
< 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).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
/root/iRedMail-0.9.0/functions/cluebringer.sh: line 383: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
/root/iRedMail-0.9.0/functions/cluebringer.sh: line 402: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
Can't open /etc/apache2/conf-available/cluebringer.conf: No such file or directory.
/root/iRedMail-0.9.0/functions/cluebringer.sh: line 494: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
< INFO > Configure Dovecot (pop3/imap/managesieve server).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure iRedAdmin (official web-based admin panel).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
/root/iRedMail-0.9.0/functions/iredadmin.sh: line 92: /etc/apache2/conf-available/iredadmin.conf: No such file or directory
< INFO > Configure Fail2ban (authentication failure monitor).
< INFO > Configure Roundcube webmail.
/root/iRedMail-0.9.0/functions/roundcubemail.sh: line 41: /etc/apache2/conf-available/roundcubemail.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure Awstats (logfile analyzer for mail and web server).
/root/iRedMail-0.9.0/functions/awstats.sh: line 36: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.9.0/functions/awstats.sh: line 61: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.9.0/functions/awstats.sh: line 67: /etc/apache2/conf-available/awstats.conf: No such file or directory
Can't open /etc/apache2/conf-available/awstats.conf: No such file or directory.
/root/iRedMail-0.9.0/functions/awstats.sh: line 170: /etc/apache2/conf-available/awstats.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
*************************************************************************
* iRedMail-0.9.0 installation and configuration complete.
*************************************************************************
< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/default/iptables, with SSHD port: 22. [Y|n]y
< INFO > Copy firewall sample rules: /etc/default/iptables.
< Question > Restart firewall now (with SSHD port 22)? [y|N]n
< INFO > Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Sun Feb 22 20:39:44 2015
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.98.5 Recommended version: 0.98.6
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cvd is up to date (version: 20092, sigs: 1330877, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 246, sigs: 42, f-level: 63, builder: neo)
********************************************************************
* URLs of installed web applications:
*
* - Webmail:
* o Roundcube webmail://snip.eu/mail/
*
* - Web admin panel (iRedAdmin): httpS://snip.eu/iredadmin/
*
* You can login to above links with same credential:
*
* o Username: postmaster@sounddesigners.org
* o Password: password
*
*
********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
* - /root/iRedMail-0.9.0/iRedMail.tips
*
* And it's sent to your mail account postmaster@sounddesigners.org.
*
* Please reboot your system to enable mail services.
*
********************************************************************
I have a /etc/apache2/sites-available/default-ssl but not /etc/apache2/sites-available/default-ssl.conf
I have a /etc/apache2/conf.d/security but not /etc/apache2/conf-available/security.conf
Etc. etc. many paths are just wrong (/etc/apache2/conf-available/, /var/www/html/, etc.)...
Any hint would be greatly appreciated, especially to reinstall all backends. Thanks in advance.
PS : i'm using iRedMail for many years now, prior on Debian Lenny, then Squeeze, and didn't face this kind of problem. An "old" one is still running on a Squeeze dedicated, but i have to migrate by the end of next week...
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.