Here's the install log:
Configuration completed.
*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
* *
* Please do remember to *MOVE* configuration file after installation *
* completed successfully. *
* *
* * /home/jlt/iRedMail-0.8.0-beta4/config
* *
*************************************************************************
< Question > Continue? [y|N]y
Leaving `local diversion of /etc/dbconfig-common/postfix-policyd.conf to /etc/dbconfig-common/postfix-policyd.conf.distrib'
< INFO > Installing package(s): mysql-server mysql-client postfix-mysql libapache2-mod-auth-mysql apache2 apache2-mpm-prefork apache2.2-common libapache2-mod-php5 php5-cli php5-imap php5-gd php5-mcrypt php5-mysql php5-ldap php5-pgsql libapache2-mod-auth-mysql libapache2-mod-auth-pgsql php5-mhash postfix postfix-pcre postfix-policyd dovecot-imapd dovecot-pop3d amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip rpm unrar-free ripole libmail-spf-perl python-ldap python-psycopg2 python-mysqldb libapache2-mod-wsgi python-mysqldb python-jinja2 python-netifaces python-webpy awstats fail2ban bzip2 acl patch cron tofrodos logwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
mysql-client is already the newest version.
postfix-mysql is already the newest version.
libapache2-mod-auth-mysql is already the newest version.
apache2 is already the newest version.
apache2-mpm-prefork is already the newest version.
apache2.2-common is already the newest version.
libapache2-mod-php5 is already the newest version.
php5-cli is already the newest version.
php5-imap is already the newest version.
php5-gd is already the newest version.
php5-mcrypt is already the newest version.
php5-mysql is already the newest version.
php5-ldap is already the newest version.
libapache2-mod-auth-mysql is already the newest version.
Note, selecting php5-common instead of php5-mhash
php5-common is already the newest version.
postfix is already the newest version.
postfix-pcre is already the newest version.
postfix-policyd is already the newest version.
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
amavisd-new is already the newest version.
libcrypt-openssl-rsa-perl is already the newest version.
libmail-dkim-perl is already the newest version.
clamav-freshclam is already the newest version.
clamav-daemon is already the newest version.
spamassassin is already the newest version.
altermime is already the newest version.
arj is already the newest version.
zoo is already the newest version.
nomarch is already the newest version.
cpio is already the newest version.
lzop is already the newest version.
cabextract is already the newest version.
p7zip is already the newest version.
rpm is already the newest version.
unrar-free is already the newest version.
ripole is already the newest version.
libmail-spf-perl is already the newest version.
python-ldap is already the newest version.
python-mysqldb is already the newest version.
libapache2-mod-wsgi is already the newest version.
python-mysqldb is already the newest version.
python-jinja2 is already the newest version.
python-netifaces is already the newest version.
python-webpy is already the newest version.
awstats is already the newest version.
fail2ban is already the newest version.
bzip2 is already the newest version.
acl is already the newest version.
patch is already the newest version.
cron is already the newest version.
tofrodos is already the newest version.
The following extra packages will be installed:
libdate-manip-perl libyaml-syck-perl python-egenix-mxdatetime python-egenix-mxtools
Suggested packages:
fortune-mod python-egenix-mxdatetime-dbg python-egenix-mxtools-dbg python-egenix-mxtools-doc
The following NEW packages will be installed:
libapache2-mod-auth-pgsql libdate-manip-perl libyaml-syck-perl logwatch php5-pgsql python-egenix-mxdatetime python-egenix-mxtools python-psycopg2
0 upgraded, 8 newly installed, 0 to remove and 4 not upgraded.
Need to get 3296kB of archives.
After this operation, 18.9MB of additional disk space will be used.
Get:1 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libyaml-syck-perl 1.07-1build1 [82.1kB]
Get:2 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libdate-manip-perl 6.05-1 [2433kB]
Get:3 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main logwatch 7.3.6.cvs20090906-1ubuntu2.1 [402kB]
Get:4 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main php5-pgsql 5.3.2-1ubuntu4.14 [56.9kB]
Get:5 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main python-egenix-mxtools 3.1.3-2ubuntu1 [82.4kB]
Get:6 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main python-egenix-mxdatetime 3.1.3-2ubuntu1 [75.3kB]
Get:7 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main python-psycopg2 2.0.13-2ubuntu2 [144kB]
Get:8 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libapache2-mod-auth-pgsql 2.0.3-5build2 [21.2kB]
Fetched 3296kB in 0s (7705kB/s)
Selecting previously deselected package libyaml-syck-perl.
(Reading database ... 44130 files and directories currently installed.)
Unpacking libyaml-syck-perl (from .../libyaml-syck-perl_1.07-1build1_amd64.deb) ...
Selecting previously deselected package libdate-manip-perl.
Unpacking libdate-manip-perl (from .../libdate-manip-perl_6.05-1_all.deb) ...
Selecting previously deselected package logwatch.
Unpacking logwatch (from .../logwatch_7.3.6.cvs20090906-1ubuntu2.1_all.deb) ...
Selecting previously deselected package php5-pgsql.
Unpacking php5-pgsql (from .../php5-pgsql_5.3.2-1ubuntu4.14_amd64.deb) ...
Selecting previously deselected package python-egenix-mxtools.
Unpacking python-egenix-mxtools (from .../python-egenix-mxtools_3.1.3-2ubuntu1_amd64.deb) ...
Selecting previously deselected package python-egenix-mxdatetime.
Unpacking python-egenix-mxdatetime (from .../python-egenix-mxdatetime_3.1.3-2ubuntu1_amd64.deb) ...
Selecting previously deselected package python-psycopg2.
Unpacking python-psycopg2 (from .../python-psycopg2_2.0.13-2ubuntu2_amd64.deb) ...
Selecting previously deselected package libapache2-mod-auth-pgsql.
Unpacking libapache2-mod-auth-pgsql (from .../libapache2-mod-auth-pgsql_2.0.3-5build2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for libapache2-mod-php5 ...
Your apache2 configuration is broken, so we're not restarting it for you.
Setting up libyaml-syck-perl (1.07-1build1) ...
Setting up libdate-manip-perl (6.05-1) ...
Setting up logwatch (7.3.6.cvs20090906-1ubuntu2.1) ...
Setting up php5-pgsql (5.3.2-1ubuntu4.14) ...
Setting up python-egenix-mxtools (3.1.3-2ubuntu1) ...
Setting up libapache2-mod-auth-pgsql (2.0.3-5build2) ...
Processing triggers for python-central ...
Setting up python-egenix-mxdatetime (3.1.3-2ubuntu1) ...
Processing triggers for python-central ...
Setting up python-psycopg2 (2.0.13-2ubuntu2) ...
Processing triggers for python-central ...
update-rc.d: warning: /etc/init.d/rsyslog missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
update-rc.d: warning: /etc/init.d/mysql missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
update-rc.d: warning: /etc/init.d/cron missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
< INFO > ---- Start iRedMail Configurations ----
< INFO > Create SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
useradd: user 'iredadmin' already exists
useradd: user 'iredapd' already exists
< INFO > Configure Apache web server and PHP.
Can't open /etc/apache2/conf.d/security: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
ERROR: Site default-ssl does not exist!
ERROR: Module ssl does not exist!
Could not create /etc/apache2/mods-enabled/auth_mysql.load: No such file or directory
Can't open /etc/php5/apache2/php.ini: No such file or directory.
Can't open /etc/php5/apache2/php.ini: No such file or directory.
Can't open /etc/php5/apache2/php.ini: No such file or directory.
Can't open /etc/php5/apache2/php.ini: No such file or directory.
Can't open /etc/php5/apache2/php.ini: No such file or directory.
Can't open /etc/php5/apache2/php.ini: No such file or directory.
grep: /etc/php5/apache2/php.ini: No such file or directory
Can't open /etc/php5/apache2/php.ini: No such file or directory.
< INFO > Configure MySQL database server.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
ERROR 1062 (23000) at line 13 in file: '/home/jlt/iRedMail-0.8.0-beta4/conf/mysql_vmail.sql': Duplicate entry 'interstream.org' for key 'PRIMARY'
< INFO > Configure Postfix.
< INFO > Configure Policyd (postfix policy server, version 1.8).
groupadd: group 'policyd' already exists
useradd: user 'policyd' already exists
ERROR 1049 (42000) at line 5: Unknown database 'postfixpolicyd'
< INFO > Configure Dovecot (pop3/imap server, version 1.2).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new.
Error in config file "/etc/amavis/conf.d/50-user": dkim_key: selector dkim for domain interstream.org already in use
ERROR 1007 (HY000) at line 2: Can't create database 'amavisd'; database exists
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure Roundcube webmail.
/home/jlt/iRedMail-0.8.0-beta4/functions/roundcubemail.sh: line 42: /etc/apache2/conf.d/roundcubemail.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
ERROR 1007 (HY000) at line 2: Can't create database 'roundcubemail'; database exists
< INFO > Configure Awstats (logfile analyzer for mail and web server).
/home/jlt/iRedMail-0.8.0-beta4/functions/awstats.sh: line 46: /etc/apache2/conf.d/awstats.conf: No such file or directory
/home/jlt/iRedMail-0.8.0-beta4/functions/awstats.sh: line 118: /etc/apache2/conf.d/awstats.conf: No such file or directory
chmod: cannot access `/etc/apache2/conf.d/awstats.conf': No such file or directory
/home/jlt/iRedMail-0.8.0-beta4/functions/awstats.sh: line 179: /etc/apache2/conf.d/awstats.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
< INFO > Configure iRedAdmin (official web-based admin panel).
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl: No such file or directory.
/home/jlt/iRedMail-0.8.0-beta4/functions/iredadmin.sh: line 76: /etc/apache2/conf.d/iredadmin.conf: No such file or directory
ERROR 1007 (HY000) at line 2: Can't create database 'iredadmin'; database exists
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure Fail2ban (authentication failure monitor).
*************************************************************************
* iRedMail-0.8.0-beta4 installation and configuration complete.
*************************************************************************
< Question > Would you like to use firewall rules shipped within iRedMail now?
< 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]y
< INFO > Restarting firewall ...
* Flushing firewall rules iptables [ OK ]
* Setting chains to policy ACCEPT filter [ OK ]
Unloading iptables modules [ OK ]
* Applying iptables firewall rules [ OK ]
< Question > Would you like to start postfix now? [y|N]y
* Flushing firewall rules iptables [ OK ]
* Setting chains to policy ACCEPT filter [ OK ]
Unloading iptables modules [ OK ]
* Applying iptables firewall rules [ OK ]
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service rsyslog restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart rsyslog
rsyslog start/running, process 17356
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart mysql
start: Job failed to start
.: 45: Can't open /etc/apache2/envvars
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Restarting Postfix greylisting policy daemon: postfix-policyd.
* Restarting IMAP/POP3 mail server dovecot If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
[ OK ]
Stopping amavisd: (not running).
Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": dkim_key: selector dkim for domain interstream.org already in use
(failed).
* Stopping ClamAV daemon clamd [ OK ]
* Starting ClamAV daemon clamd LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
[ OK ]
* Stopping ClamAV virus database updater freshclam [ OK ]
* Starting ClamAV virus database updater freshclam [ OK ]
* Restarting authentication failure monitor fail2ban [ OK ]
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart cron
cron start/running, process 18646
Stopping iredapd ...
Starting iredapd ...
********************************************************************
* URLs of your web applications:
*
* - Webmail: http://awsmail.interstream.com/mail/ or httpS://awsmail.interstream.com/mail/
* + Account: www@interstream.org, Password: gamma1
*
* - Admin Panel (iRedAdmin): httpS://awsmail.interstream.com/iredadmin/
* + Account: postmaster@interstream.org, Password: is2success
*
********************************************************************
* Congratulations, mail server setup complete. Please refer to tip
* file for more information:
*
* - /home/jlt/iRedMail-0.8.0-beta4/iRedMail.tips
*
* And it's sent to your mail account www@interstream.org.
*
********************************************************************