1

Topic: Installation problem - can i run iRedMail again ?

Hi all !

I want to say first that I am fairly new in sysadmin and all server stuff, so please, be indulgent.

I am not new at using linux though, but I never worked with a Debian distro. So, I have read the tutorial iRedMail: Mail Server With LDAP, Postfix, RoundCube/SquirrelMail, Dovecot, ClamAV, SpamAssassin, Amavisd (Debian 5.0.1) to install a mail server and I got some errors.

First of these are the fact that my /tmp (I noticed it afterward) diretory was full and that some packages couldn't be unpacked. I cleaned it up.

So my question is : can I run the script again ?

Thanks in advence. smile

Here's some of the output I got after the end of the iRedMail wizard :

running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Setting up altermime (0.3.8-2) ...
Setting up libclamav5 (0.94.dfsg.2-1lenny2) ...
Setting up clamav-base (0.94.dfsg.2-1lenny2) ...
Setting up clamav-freshclam (0.94.dfsg.2-1lenny2) ...
Starting ClamAV virus database updater: freshclam.
Setting up clamav (0.94.dfsg.2-1lenny2) ...
Setting up clamav-daemon (0.94.dfsg.2-1lenny2) ...
Starting ClamAV daemon: clamd LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
LibClamAV Error: cli_untgz: Wrote 0 instead of 512 (/tmp/clamav-8e62984769df2b4c1a50fe6eeb1b6a66/daily.mdb)
LibClamAV Error: cli_cvdload(): Can't unpack CVD file.
LibClamAV Error: Can't load /var/lib/clamav/daily.cvd: CVD extraction failure
ERROR: CVD extraction failure
failed!

Missing room here.

Setting up dbconfig-common (1.8.39) ...
/usr/share/dbconfig-common/dpkg/common: line 177: cannot create temp file for here document: No space left on device
dpkg: error processing dbconfig-common (--configure):
subprocess post-installation script returned error exit status 1

Missing space here too.

Setting up dovecot-common (1:1.1.16-1~bpo50+1) ...

Creating config file /etc/dovecot/dovecot.conf with new version

Creating config file /etc/dovecot/dovecot-ldap.conf with new version

Creating config file /etc/dovecot/dovecot-sql.conf with new version
adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
Warning : Bad SSL config, can't generate certificate.
Starting IMAP/POP3 mail server: dovecotError: ssl_cert_file: Can't use /etc/ssl/certs/dovecot.pem: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
failed!
Setting up dovecot-imapd (1:1.1.16-1~bpo50+1) ...
Restarting IMAP/POP3 mail server: dovecotError: ssl_cert_file: Can't use /etc/ssl/certs/dovecot.pem: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
failed!
Setting up dovecot-pop3d (1:1.1.16-1~bpo50+1) ...
Restarting IMAP/POP3 mail server: dovecotError: ssl_cert_file: Can't use /etc/ssl/certs/dovecot.pem: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
failed!

Are those related to the above problems ?

Setting up libapache2-mod-auth-mysql (4.3.9-11) ...
Setting up php5-common (5.2.6.dfsg.1-1+lenny4) ...
Setting up php5-cli (5.2.6.dfsg.1-1+lenny4) ...

Creating config file /etc/php5/cli/php.ini with new version
Setting up libapache2-mod-php5 (5.2.6.dfsg.1-1+lenny4) ...
Reloading web server config: apache2.
Setting up php5-mysql (5.2.6.dfsg.1-1+lenny4) ...
Setting up php5-mcrypt (5.2.6.dfsg.1-1+lenny4) ...
Setting up php5-gd (5.2.6.dfsg.1-1+lenny4) ...
Setting up libarchive-zip-perl (1.18-1) ...
Setting up libberkeleydb-perl (0.34-1+b1) ...
Setting up mlock (7:2007b~dfsg-4+lenny3) ...
Setting up libc-client2007b (7:2007b~dfsg-4+lenny3) ...
Setting up linux-libc-dev (2.6.26-19lenny2) ...
Setting up libc6-dev (2.7-18lenny2) ...
Setting up libconvert-binhex-perl (1.119+pristine-3) ...
Setting up libmime-tools-perl (5.427-1) ...
Setting up libconvert-tnef-perl (0.17-8) ...
Setting up libconvert-uulib-perl (1.11-1) ...
Setting up libcrypt-openssl-bignum-perl (0.04-1+b1) ...
Setting up libcrypt-openssl-rsa-perl (0.25-1+b1) ...
Setting up liberror-perl (0.17-1) ...
Setting up libfont-afm-perl (1.20-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.56-1+lenny1) ...
Setting up libhtml-tree-perl (3.23-1) ...
Setting up libhtml-format-perl (2.04-2) ...
Setting up libsocket6-perl (0.20-1) ...
Setting up libio-socket-inet6-perl (2.54-1) ...
Setting up libnet-ip-perl (1.25-2) ...
Setting up libnet-dns-perl (0.63-2) ...
Setting up libmail-dkim-perl (0.36-0.1~bpo50+1) ...
Setting up libnetaddr-ip-perl (4.007+dfsg-2+b1) ...
Setting up libmail-spf-perl (2.005-1) ...
Setting up libsys-syslog-perl (0.26-1) ...
Setting up libunix-syslog-perl (1.1-2) ...
Setting up libwww-perl (5.813-1) ...
Setting up php5-imap (5.2.6.dfsg.1-1+lenny4) ...
Setting up php5-ldap (5.2.6.dfsg.1-1+lenny4) ...
dpkg: dependency problems prevent configuration of postfix-policyd:
postfix-policyd depends on dbconfig-common; however:
Package dbconfig-common is not configured yet.
dpkg: error processing postfix-policyd (--configure):
dependency problems - leaving unconfigured
Setting up re2c (0.13.5-1) ...
Setting up spamassassin (3.2.5-2+lenny1) ...
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
Setting up spamc (3.2.5-2+lenny1) ...
Setting up tofrodos (1.7.8.debian.1-1) ...
Setting up amavisd-new (1:2.6.1.dfsg-1) ...
Creating/updating amavis user account...
Starting amavisd: amavisd-new.
Setting up postfix-mysql (2.5.5-1.1) ...
Adding mysql map entry to /etc/postfix/dynamicmaps.cf
Setting up postfix-pcre (2.5.5-1.1) ...
Adding pcre map entry to /etc/postfix/dynamicmaps.cf
Errors were encountered while processing:
dbconfig-common
postfix-policyd
E: Sub-process /usr/bin/dpkg returned an error code (1)
< ERROR > Installation failed, please check the terminal output.

----

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

2

Re: Installation problem - can i run iRedMail again ?

you can uninstall iRedmail , the tools folder provide script for uninstall.

3

Re: Installation problem - can i run iRedMail again ?

< ERROR > Installation failed, please check the terminal output.

It's SAFE to install iRedMail again.