dovecot problem causing installing failure.

8 posts / 0 new
Last post
#1 Fri, 09/17/2010 - 23:23
spacechampion

dovecot problem causing installing failure.

Hello. I used to have virtualmin installed on my Ubuntu Hardy machine, and once I saw the install script for Lucid was ready I upgraded to Lucid... except the install script fails for me.

Apparently there is an issue with Dovecot.

Here is my install log from the point where things seem to go screwy.

Anyone with a way to fix this?

Setting up dovecot-common (1:1.2.9-1ubuntu6.1) ...

Configuration file `/etc/ufw/applications.d/dovecot-common', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/dovecot/dovecot-db-example.conf', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/dovecot/dovecot-dict-sql-example.conf', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/pam.d/dovecot', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/default/dovecot', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/init.d/dovecot', does not exist on system.

Installing new config file as you requested.

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).

hostname: Name or service not known

dpkg: error processing dovecot-common (--configure):

subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of dovecot-imapd:

dovecot-imapd depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:

Package dovecot-common is not configured yet.

dpkg: error processing dovecot-imapd (--configure):

dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of dovecot-pop3d:

dovecot-pop3d depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:

Package dovecot-common is not configured yet.

dpkg: error processing dovecot-pop3d (--configure):

dependency problems - leaving unconfigured

Setting up libreadline-ruby1.8 (1.8.7.249-2) ...

Setting up irb1.8 (1.8.7.249-2) ...

Setting up irb (4.2) ...

Setting up libapache2-mod-fcgid (1:2.3.4-2ubuntu0.1) ...

Enabling module fcgid.

Run '/etc/init.d/apache2 restart' to activate new configuration!

Setting up libapache2-svn (1.6.6dfsg-2ubuntu1) ...

Considering dependency dav for dav_svn:

Module dav already enabled

Enabling module dav_svn.

Run '/etc/init.d/apache2 restart' to activate new configuration!

Setting up libdbd-pg-perl (2.16.1-1) ...

Setting up libnet-xwhois-perl (0.90-3) ...

Setting up libpg-perl (1:2.1.1-4) ...

Setting up php-pear (5.3.2-1ubuntu4.2) ...

Setting up postgresql-client-common (106) ...

Configuration file `/etc/postgresql-common/user_clusters', does not exist on system.

Installing new config file as you requested.

Setting up postgresql-client-8.4 (8.4.4-0ubuntu10.04) ...

update-alternatives: using /usr/share/postgresql/8.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.

Setting up postgresql-common (106) ...

Building PostgreSQL dictionaries from installed myspell/hunspell packages...

en_us

Setting up postgresql-8.4 (8.4.4-0ubuntu10.04) ...

Configuration file `/etc/init.d/postgresql-8.4', does not exist on system.

Installing new config file as you requested.

Creating new cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main)...

Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to /etc/postgresql/8.4/main...

Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to /etc/postgresql/8.4/main...

Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to /etc/postgresql/8.4/main...

Configuring postgresql.conf to use port 5432...

update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.

* Starting PostgreSQL 8.4 database server [80G
[74G[ OK ]

Setting up postgresql (8.4.4-0ubuntu10.04) ...

Setting up procmail-wrapper (1.0-2) ...

Setting up rdoc1.8 (1.8.7.249-2) ...

Setting up rdoc (4.2) ...

Setting up ri1.8 (1.8.7.249-2) ...

Setting up ri (4.2) ...

Setting up sasl2-bin (2.1.23.dfsg1-5ubuntu1) ...

update-rc.d: warning: saslauthd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)

* Starting SASL Authentication Daemon saslauthd [80G
[74G[ OK ]

Setting up scponly (4.8-4) ...

Setting up apache2-suexec-custom (2.2.14-5ubuntu8) ...

Configuration file `/etc/apache2/suexec/www-data', does not exist on system.

Installing new config file as you requested.

dpkg: dependency problems prevent configuration of virtualmin-base:

virtualmin-base depends on dovecot-common; however:

Package dovecot-common is not configured yet.

virtualmin-base depends on dovecot-imapd; however:

Package dovecot-imapd is not configured yet.

virtualmin-base depends on dovecot-pop3d; however:

Package dovecot-pop3d is not configured yet.

dpkg: error processing virtualmin-base (--configure):

dependency problems - leaving unconfigured

Processing triggers for menu ...

Errors were encountered while processing:

dovecot-common

dovecot-imapd

dovecot-pop3d

virtualmin-base

FATAL - 2010-08-17 10:21:22 - Fatal Error Occurred: Installation failed: 0
FATAL - 2010-08-17 10:21:22 - Cannot continue installation.
FATAL - 2010-08-17 10:21:22 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2010-08-17 10:21:22 - re-attempted after any problems have been resolved.
FATAL - 2010-08-17 10:21:22 - Removing temporary directory and files.
FATAL - 2010-08-17 10:21:22 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2010-08-17 10:21:22 - in /root/virtualmin-install.log
INFO - 2010-09-07 13:12:59 - Started installation log in /root/virtualmin-install.log
DEBUG - 2010-09-07 13:12:59 - Install mode: full
DEBUG - 2010-09-07 13:12:59 - Product: Virtualmin GPL
DEBUG - 2010-09-07 13:12:59 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2010-09-07 13:12:59 - install.sh version: 1.0.4
INFO - 2010-09-07 13:12:59 - Checking for fully qualified hostname...
INFO - 2010-09-07 13:12:59 - Hostname is not fully qualified.
INFO - 2010-09-07 13:13:19 - Hostname OK: fully qualified as interplanetary.ca
INFO - 2010-09-07 13:13:20 - Primary address detected as 192.168.1.65
INFO - 2010-09-07 13:13:20 - Entry for IP 192.168.1.65 exists in /etc/hosts.
INFO - 2010-09-07 13:13:20 - Updating with new hostname.
INFO - 2010-09-07 13:13:20 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2010-09-07 13:13:20 - Loading OS selection library...
INFO - 2010-09-07 13:13:21 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2010-09-07 13:13:21 - Loading OS list...
INFO - 2010-09-07 13:13:21 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2010-09-07 13:13:21 - Operating system name: Ubuntu Linux
INFO - 2010-09-07 13:13:21 - Operating system version: 10.04.1
INFO - 2010-09-07 13:13:22 - Configuring package manager for Ubuntu Linux 10.04.1...
INFO - 2010-09-07 13:13:22 - Enabling universe repositories, if not already available...
INFO - 2010-09-07 13:13:22 - Disabling cdrom repositories...
INFO - 2010-09-07 13:13:32 - Cleaning up apt headers and packages, so we can start fresh...
INFO - 2010-09-07 13:13:35 -
INFO - 2010-09-07 13:13:35 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2010-09-07 13:13:35 - Installing Webmin and Virtualmin package signing keys...
INFO - 2010-09-07 13:13:36 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2010-09-07 13:13:36 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2010-09-07 13:13:37 - OK
INFO - 2010-09-07 13:13:37 - OK
INFO - 2010-09-07 13:13:40 - Get:1
INFO - 2010-09-07 13:13:40 - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - 2010-09-07 13:13:41 - Removing Debian apache packages...
DEBUG - 2010-09-07 13:13:41 - Reading
INFO - 2010-09-07 13:13:41 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
Reading package lists...
Building dependency tree...
Reading state information...
postfix is already the newest version.
postfix-pcre is already the newest version.
ruby is already the newest version.
libapache2-mod-ruby is already the newest version.
libxml-simple-perl is already the newest version.
libcrypt-ssleay-perl is already the newest version.
unzip is already the newest version.
zip is already the newest version.
quota is already the newest version.
The following packages were automatically installed and are no longer required:
postgresql-8.4 libnb-apisupport1-java sasl2-bin libmd5-perl irb1.8 awstats
rdoc ri libapache2-mod-fcgid php-pear mailman scponly libpg-perl irb
clamav-docs postgresql-common libapache2-svn postgresql rdoc1.8
postgresql-client-8.4 webalizer libdbd-pg-perl apache2-doc
postgresql-client-common libreadline-ruby1.8 clamav-daemon ri1.8
clamav-testfiles
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
usermin webmin
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 20.5MB of archives.
After this operation, 118MB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main usermin 1.440-2 [6066kB]
Get:2 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin 1.517 [14.5MB]
Fetched 20.5MB in 1min 36s (213kB/s)
Selecting previously deselected package usermin.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 317607 files and directories currently installed.)

Unpacking usermin (from .../usermin_1.440-2_all.deb) ...

Selecting previously deselected package webmin.

Unpacking webmin (from .../archives/webmin_1.517_all.deb) ...

Processing triggers for ureadahead ...

ureadahead will be reprofiled on next reboot

Setting up usermin (1.440-2) ...

Configuration file `/etc/pam.d/usermin', does not exist on system.

Installing new config file as you requested.

Usermin install complete. You can now login to https://interplanetary.ca:20000/

as any user on the system.

Setting up webmin (1.517) ...

Configuration file `/etc/pam.d/webmin', does not exist on system.

Installing new config file as you requested.

Webmin install complete. You can now login to https://interplanetary.ca:10000/

as root with your root password, or as any user who can use sudo

to run commands as root.

INFO - 2010-09-07 13:17:33 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota: Succeeded.
INFO - 2010-09-07 13:17:33 - Succeeded.
INFO - 2010-09-07 13:17:33 - Installing Virtualmin and all related packages now using the command:
INFO - 2010-09-07 13:17:33 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libnb-apisupport1-java libmd5-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d usermin-virtual-server-theme
webmin-security-updates webmin-virtual-server webmin-virtual-server-theme
webmin-virtualmin-awstats webmin-virtualmin-dav webmin-virtualmin-htpasswd
webmin-virtualmin-mailman webmin-virtualmin-svn
The following NEW packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d usermin-virtual-server-theme
virtualmin-base webmin-security-updates webmin-virtual-server
webmin-virtual-server-theme webmin-virtualmin-awstats webmin-virtualmin-dav
webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn
0 upgraded, 13 newly installed, 0 to remove and 5 not upgraded.
Need to get 13.8MB of archives.
After this operation, 2227MB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main usermin-virtual-server-theme 6.8 [2193kB]
Get:2 http://archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-common 1:1.2.9-1ubuntu6.1 [5509kB]
Get:3 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-security-updates 4.0 [24.0kB]
Get:4 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtual-server 3.80.gpl [1446kB]
Get:5 http://archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-imapd 1:1.2.9-1ubuntu6.1 [1201kB]
Get:6 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtual-server-theme 7.8 [2221kB]
Get:7 http://archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-pop3d 1:1.2.9-1ubuntu6.1 [1092kB]
Get:8 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtualmin-awstats 4.4 [33.3kB]
Get:9 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtualmin-dav 3.3 [13.1kB]
Get:10 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtualmin-htpasswd 2.3 [11.3kB]
Get:11 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtualmin-mailman 5.8 [35.6kB]
Get:12 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main webmin-virtualmin-svn 4.7 [37.4kB]
Get:13 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-lucid/main virtualmin-base 1.0-26ubuntu [13.1kB]
Fetched 13.8MB in 1min 3s (218kB/s)
Selecting previously deselected package usermin-virtual-server-theme.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 338478 files and directories currently installed.)

Unpacking usermin-virtual-server-theme (from .../usermin-virtual-server-theme_6.8_all.deb) ...

Selecting previously deselected package webmin-security-updates.

Unpacking webmin-security-updates (from .../webmin-security-updates_4.0_all.deb) ...

Selecting previously deselected package webmin-virtual-server.

Unpacking webmin-virtual-server (from .../webmin-virtual-server_3.80.gpl_all.deb) ...

Selecting previously deselected package webmin-virtual-server-theme.

Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_7.8_all.deb) ...

Selecting previously deselected package webmin-virtualmin-awstats.

Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_4.4_all.deb) ...

Selecting previously deselected package webmin-virtualmin-dav.

Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_3.3_all.deb) ...

Selecting previously deselected package webmin-virtualmin-htpasswd.

Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_2.3_all.deb) ...

Selecting previously deselected package webmin-virtualmin-mailman.

Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_5.8_all.deb) ...

Selecting previously deselected package webmin-virtualmin-svn.

Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_4.7_all.deb) ...

Selecting previously deselected package dovecot-common.

Unpacking dovecot-common (from .../dovecot-common_1%3a1.2.9-1ubuntu6.1_amd64.deb) ...

Selecting previously deselected package dovecot-imapd.

Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a1.2.9-1ubuntu6.1_amd64.deb) ...

Selecting previously deselected package dovecot-pop3d.

Unpacking dovecot-pop3d (from .../dovecot-pop3d_1%3a1.2.9-1ubuntu6.1_amd64.deb) ...

Selecting previously deselected package virtualmin-base.

Unpacking virtualmin-base (from .../virtualmin-base_1.0-26ubuntu_all.deb) ...

Processing triggers for ufw ...

Processing triggers for ureadahead ...

Processing triggers for man-db ...

Setting up usermin-virtual-server-theme (6.8) ...

Setting up webmin-security-updates (4.0) ...

security-updates

Setting up webmin-virtual-server (3.80.gpl) ...

virtual-server

Setting up webmin-virtual-server-theme (7.8) ...

Setting up webmin-virtualmin-awstats (4.4) ...

virtualmin-awstats

Setting up webmin-virtualmin-dav (3.3) ...

virtualmin-dav

Setting up webmin-virtualmin-htpasswd (2.3) ...

virtualmin-htpasswd

Setting up webmin-virtualmin-mailman (5.8) ...

virtualmin-mailman

Setting up webmin-virtualmin-svn (4.7) ...

virtualmin-svn

Setting up dovecot-common (1:1.2.9-1ubuntu6.1) ...

Configuration file `/etc/ufw/applications.d/dovecot-common', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/dovecot/dovecot-db-example.conf', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/dovecot/dovecot-dict-sql-example.conf', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/pam.d/dovecot', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/default/dovecot', does not exist on system.

Installing new config file as you requested.

Configuration file `/etc/init.d/dovecot', does not exist on system.

Installing new config file as you requested.

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).

hostname: Name or service not known

dpkg: error processing dovecot-common (--configure):

subprocess installed post-installation script returned error exit status 1

FATAL - 2010-09-07 13:19:32 - Fatal Error Occurred: Installation failed: 0
FATAL - 2010-09-07 13:19:32 - Cannot continue installation.
FATAL - 2010-09-07 13:19:32 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2010-09-07 13:19:32 - re-attempted after any problems have been resolved.
FATAL - 2010-09-07 13:19:32 - Removing temporary directory and files.
FATAL - 2010-09-07 13:19:32 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2010-09-07 13:19:32 - in /root/virtualmin-install.log
INFO - 2010-09-18 00:05:38 - Started installation log in /root/virtualmin-install.log
DEBUG - 2010-09-18 00:05:38 - Install mode: full
DEBUG - 2010-09-18 00:05:38 - Product: Virtualmin GPL
DEBUG - 2010-09-18 00:05:38 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2010-09-18 00:05:38 - install.sh version: 1.0.4
INFO - 2010-09-18 00:05:38 - Checking for fully qualified hostname...
INFO - 2010-09-18 00:05:38 - Hostname is not fully qualified.
INFO - 2010-09-18 00:05:57 - Hostname OK: fully qualified as home.interplanetary.ca
INFO - 2010-09-18 00:05:57 - Primary address detected as 192.168.1.65
INFO - 2010-09-18 00:05:57 - Entry for IP 192.168.1.65 exists in /etc/hosts.
INFO - 2010-09-18 00:05:57 - Updating with new hostname.
INFO - 2010-09-18 00:05:57 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2010-09-18 00:05:58 - Loading OS selection library...
INFO - 2010-09-18 00:06:01 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2010-09-18 00:06:01 - Loading OS list...
INFO - 2010-09-18 00:06:02 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2010-09-18 00:06:02 - Operating system name: Ubuntu Linux
INFO - 2010-09-18 00:06:02 - Operating system version: 10.04.1
INFO - 2010-09-18 00:06:02 - Configuring package manager for Ubuntu Linux 10.04.1...
INFO - 2010-09-18 00:06:02 - Enabling universe repositories, if not already available...
INFO - 2010-09-18 00:06:02 - Disabling cdrom repositories...
INFO - 2010-09-18 00:06:07 - Cleaning up apt headers and packages, so we can start fresh...
INFO - 2010-09-18 00:06:10 -
INFO - 2010-09-18 00:06:10 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2010-09-18 00:06:10 - Installing Webmin and Virtualmin package signing keys...
INFO - 2010-09-18 00:06:11 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2010-09-18 00:06:11 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2010-09-18 00:06:12 - OK
INFO - 2010-09-18 00:06:12 - OK
INFO - 2010-09-18 00:06:15 - Get:1
INFO - 2010-09-18 00:06:15 - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - 2010-09-18 00:06:15 - Removing Debian apache packages...
DEBUG - 2010-09-18 00:06:20 - Reading
INFO - 2010-09-18 00:06:20 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
Reading package lists...
Building dependency tree...
Reading state information...
postfix is already the newest version.
postfix-pcre is already the newest version.
webmin is already the newest version.
ruby is already the newest version.
libapache2-mod-ruby is already the newest version.
libxml-simple-perl is already the newest version.
libcrypt-ssleay-perl is already the newest version.
unzip is already the newest version.
zip is already the newest version.
quota is already the newest version.
The following packages were automatically installed and are no longer required:
dvdauthor ffmpeg
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
usermin
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 6011kB of archives.
After this operation, 143kB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main usermin 1.450 [6011kB]
Fetched 6011kB in 28s (210kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 345892 files and directories currently installed.)

Preparing to replace usermin 1.440-2 (using .../archives/usermin_1.450_all.deb) ...

Unpacking replacement usermin ...

Processing triggers for ureadahead ...

ureadahead will be reprofiled on next reboot

Setting up dovecot-common (1:1.2.9-1ubuntu6.1) ...

Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem

(replace with hand-crafted or authorized one if needed).

hostname: Name or service not known

dpkg: error processing dovecot-common (--configure):

subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of dovecot-imapd:

dovecot-imapd depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:

Package dovecot-common is not configured yet.

dpkg: error processing dovecot-imapd (--configure):

dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of dovecot-pop3d:

dovecot-pop3d depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:

Package dovecot-common is not configured yet.

dpkg: error processing dovecot-pop3d (--configure):

dependency problems - leaving unconfigured

Setting up usermin (1.450) ...

Usermin install complete. You can now login to https://home.interplanetary.ca:20000/

as any user on the system.

dpkg: dependency problems prevent configuration of virtualmin-base:

virtualmin-base depends on dovecot-common; however:

Package dovecot-common is not configured yet.

virtualmin-base depends on dovecot-imapd; however:

Package dovecot-imapd is not configured yet.

virtualmin-base depends on dovecot-pop3d; however:

Package dovecot-pop3d is not configured yet.

dpkg: error processing virtualmin-base (--configure):

dependency problems - leaving unconfigured

Errors were encountered while processing:

dovecot-common

dovecot-imapd

dovecot-pop3d

virtualmin-base

FATAL - 2010-09-18 00:07:13 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2010-09-18 00:07:13 - Cannot continue installation.
FATAL - 2010-09-18 00:07:14 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2010-09-18 00:07:14 - re-attempted after any problems have been resolved.
FATAL - 2010-09-18 00:07:14 - Removing temporary directory and files.
FATAL - 2010-09-18 00:07:14 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2010-09-18 00:07:14 - in /root/virtualmin-install.log

Fri, 09/17/2010 - 23:37
andreychek

It looks like the issue may be related to this particular error:

hostname: Name or service not known

Is your hostname set, and is the "hostname" program installed and in your path? You can determine that by running the command "hostname" on the command line.

-Eric

Sat, 09/18/2010 - 00:12
spacechampion

Well, I did set it.

$ hostname
home.interplanetary.ca

so it is reported fine.

...however, when I do run the script it says that it is not set, so asks me to enter a FQDN. So I enter the one that should have been detected.

Sounds like it is not reading it, or not (re)setting it after entering it.

Sat, 09/18/2010 - 10:39
andreychek

Okay, in doing some Googling, I see this issue with Dovecot coming up in a few cases on your version of Ubuntu. There's a bug report regarding it here:

https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/611226

It sounds like this may be related to a DNS issue of some sort.

What output do you receive when running "hostname -f"?

Also, what are the contents of your /etc/hosts and /etc/resolv.conf files?

Thanks,

-Eric

Sat, 09/18/2010 - 12:35 (Reply to #4)
spacechampion

Thanks for your taking a look at my problem! Here's what you requested, along with other config files requested in that thread you linked to.

$ hostname -i
hostname: Name or service not known
$ hostname -d
hostname: Name or service not known
$ hostname -f
hostname: Name or service not known
$ hostname
home.interplanetary.ca

In /etc/hosts

127.0.0.1 localhost
127.0.1.1 home.interplanetary.ca

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.1.65 home.interplanetary.ca

In /etc/host.conf

# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on

My kernel was updated yesterday:

$ uname -r
2.6.32-24-server

/etc/resolv.conf

nameserver 192.168.1.254
domain lan
search lan

/etc/nsswitch.conf

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

getent hosts

$ getent hosts
127.0.0.1       localhost
127.0.1.1       home.interplanetary.ca
127.0.0.1       ip6-localhost ip6-loopback
192.168.1.65    home.interplanetary.ca

There is a post here: http://newyork.ubuntuforums.org/showthread.php?p=9860983#post9860983 that claims the problem is in /etc/dhcp3/dhclient.conf but I don't see what I am suppose to do to fix it... He says "dhcp fix was easy. Edit /etc/dhcp3/dhclient.conf and uncomment and change the supercede domain-name line." I don't appear to have such a line.

/etc/dhcp3/dhclient.conf

request subnet-mask, broadcast-address, time-offset, routers, domain-name,    domain-name-servers, host-name, ntp-servers;

thanks!

Thu, 09/23/2010 - 09:51
spacechampion

bump

Fri, 09/24/2010 - 12:00
andreychek

Well, it looks like there's two entries for "home.interplanetary.ca" in your hosts file.

I suggest commenting this one out:

127.0.1.1       home.interplanetary.ca

And "192.168.1.65" is your Virtualmin servers IP address? And "192.168.1.254" is the correct DNS server? You may want to verify both of those, that the IP address is correct and your DNS server is responding correctly.

-Eric

Fri, 09/24/2010 - 13:22
spacechampion

That fixed it, thanks!

Topic locked