1 (edited by Mcklaren 2014-11-08 00:59:46)

Topic: Problem install iRedMail 0.8.7 Debian 7.7

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

Hi,

I'm try to install iRedMail 0.8.7 on Debian 7.7 fresh install but I've problem. The install script not found the direcory.
I go to paste a error.

********************************************************************
* 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.
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.
/root/iRedMail-0.8.7/functions/apache_php.sh: line 155: /var/www/html/robots.txt: No such file or directory
< INFO > Configure MySQL database server.
< 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.8.7/functions/cluebringer.sh: line 379: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
/root/iRedMail-0.8.7/functions/cluebringer.sh: line 438: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
chmod: cannot access `/etc/apache2/conf-available/cluebringer.conf': No such file or directory
/root/iRedMail-0.8.7/functions/cluebringer.sh: line 490: /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.8.7/functions/iredadmin.sh: line 95: /etc/apache2/conf-available/iredadmin.conf: No such file or directory
< INFO > Configure Fail2ban (authentication failure monitor).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
/root/iRedMail-0.8.7/functions/awstats.sh: line 36: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.8.7/functions/awstats.sh: line 107: /etc/apache2/conf-available/awstats.conf: No such file or directory
chmod: cannot access `/etc/apache2/conf-available/awstats.conf': No such file or directory
/root/iRedMail-0.8.7/functions/awstats.sh: line 171: /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.
< INFO > Configure Roundcube webmail.
/root/iRedMail-0.8.7/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.
/root/iRedMail-0.8.7/functions/roundcubemail.sh: line 64: /var/www/html/index.html: No such file or directory
< INFO > Configure phpMyAdmin (web-based MySQL management tool).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.

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

< INFO > Mail sensitive administration info to postmaster@example.com.
< Question > Would you like to use firewall rules provided by iRedMail now?
< Question > File: /etc/default/iptables, with SSHD port: 22. [Y|n]n
< INFO > Skip firewall rules.
< INFO > Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Tue Nov  4 07:06:27 2014
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cvd is up to date (version: 19582, sigs: 1247194, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 242, sigs: 46, f-level: 63, builder: dgoddard)
********************************************************************
* URLs of installed web applications:
*
* - Webmail: httpS://example.com/mail
* - Admin Panel (iRedAdmin): httpS://example.com/iredadmin/
*   + Username: postmaster@example.com, Password: *****
*

********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
*   - /root/iRedMail-0.8.7/iRedMail.tips
*
* And it's sent to your mail account .
*
* Please reboot your system to enable mail services.
*
********************************************************************

----

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

2

Re: Problem install iRedMail 0.8.7 Debian 7.7

Show us your /etc/apt/sources.list file please.

3

Re: Problem install iRedMail 0.8.7 Debian 7.7

Hi,

OK this is the /etc/apt/sources.list

deb http://debian.mirrors.ovh.net/debian/ wheezy main
deb-src http://debian.mirrors.ovh.net/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

4

Re: Problem install iRedMail 0.8.7 Debian 7.7

Could you please reinstall Debian 7 OS, use below sources.list file, then install iRedMail?

deb http://debian.mirrors.ovh.net/debian wheezy main non-free contrib
deb http://debian.mirrors.ovh.net/debian wheezy-proposed-updates main contrib non-free
deb http://debian.mirrors.ovh.net/debian-security wheezy/updates main contrib non-free 
deb http://security.debian.org wheezy/updates main contrib non-free

5

Re: Problem install iRedMail 0.8.7 Debian 7.7

Hi,

I'm sorry the delay. ZhangHuangbin thank you by your help but I can't wait and I follow your recommendation on install iredmail in Ubuntu Linux and now work very good.

Thank you very much.