Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th January 2010, 14:24
DaaX DaaX is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some errors after using iRedMail to setup mail server

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 that I don't really understand and for wich I am unable to fix.

I am not sure I fully understand the concept of hosts and hostname and in fact I don't know if I set them up correctly.

One other thing : since I do all the admin stuff on my server trough ssh in root user, I don't know if I had done the right thing when I run the iRedMail script. I don't know all about the sudo su- thing in Debian, so since I was already root user, I didn't do the sudo su- thing when I ran the iRedMail script.

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

Quote:
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!

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
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!

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.
So I cannot login to /roundcube or /postfix via the webbrowser.

Thanks in advance for you're help.
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2010, 15:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

I'm not sure that I can't help you with all problems because I have no experience with iRedMail...

Quote:
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!
Can you post the output of
Code:
df -h
?

Quote:
One other thing : since I do all the admin stuff on my server trough ssh in root user, I don't know if I had done the right thing when I run the iRedMail script. I don't know all about the sudo su- thing in Debian, so since I was already root user, I didn't do the sudo su- thing when I ran the iRedMail script.
You don't need sudo su if you're logged in as root. This sudo su thing was introduced with Ubuntu where the root account is disabled by default - this is not the case for Debian.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44


All times are GMT +2. The time now is 18:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.