[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with the installation of imp



Hi,

Attached you find a copy of the output of the installation process of imp.
Can someone help me with the error that occurred?

Thanks,
Werner


gaius:/home/werner# apt-get install imp
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apache-common apache-ssl horde php3 php3-imap php3-ldap php3-pgsql
  postgresql-client
The following NEW packages will be installed:
  apache-common apache-ssl horde imp php3 php3-imap php3-ldap php3-pgsql
  postgresql-client
0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 1622kB/2196kB of archives. After unpacking 10.2MB will be used.
Do you want to continue? [Y/n] y
Media Change: Please insert the disc labeled 'Debian GNU/Linux 2.2 r4 _Potato_ - Official i386 Binary-1 (20011106)' in the drive '/cdrom/' and press enter

Get:1 http://non-us.debian.org stable/non-US/main apache-ssl 1.3.9.13-2 [407kB]
Get:2 ftp://ftp.kulnet.kuleuven.ac.be stable/main imp 2:2.2.6-0.potato.4 [409kB]
Get:3 ftp://ftp.kulnet.kuleuven.ac.be stable/main apache-common 1.3.9-14 [719kB]
Get:4 ftp://ftp.kulnet.kuleuven.ac.be stable/main postgresql-client 6.5.3-27 [87.8kB]
Fetched 1622kB in 56s (28.5kB/s)
Configuring packages ...
Configuring Horde
-----------------

Welcome to the new HORDE setup program
Please note that these options will only be asked of you the first time around
and only new options will show during future upgrades.

If you are upgrading currently and this is the first time your using the
debconf version of the horde install we'll let you know this once. Your current
horde.php3 file is getting backed up during the preinst process.  This will
happen every time you upgrade even though you will never see this prompt again
unless you have debconf set to prompt you for everything.  Also note that the
horde.php3 file is now generated on the fly *everytime* you install or upgrade
horde.

You must have a database already setup locally and ready to go if you are going
to have this program configure your database for you.  If you are not
comfortable with this, you should tell the debconf process that your database
is not local

Because HORDE uses phplib, we have the ability to support several different
types of containers.  Currently this package only supports MySql and PostgreSQL
[More]
but in the future will support others.

        p. PostgreSQL
        m. MySql

What type of container (database) are you going to use? [p]

If your database is on another machine besides the one that HORDE is running on
then you need to change this value to the fully qualified domain name for that
system.

What is the hostname where your database is running? [localhost]

By default this will be "horde".  This is where all the HORDE related database
items will be setup and stored.  All other HORDE modules will most likely use
this database as well.  If you are upgrading and you use a different database
then you need to put it in here.

What is the name of your HORDE database? [horde]

What username will access the database for HORDE?  By default this is it's own
user "hordemgr" so that permissions can be tightened down.

What is your database username? [hordemgr]

Enter a password for the database user.  (type "none" for no password) This is
the password that will be used along with the database user name you have
already supplied to connect to the database.

What is the password you wish to use for the database user  none

If you are upgrading or for any other reason have already configured your
database for use with HORDE you'll want to set this to yes.

        y. yes
        n. no

Have you already configured your HORDE database? [n]

Currently this install process has the ability to configure a database that is
on the local machine.  In the future it will be able to handle remote databases
as well.  Is your database local?

        y. yes
        n. no

Is your database local? [y]

HORDE works with both php3 and php4 but the configuration of php differs for
each version.  We need to know which version you plan on using  (especially
since you can have both installed at the same time) with HORDE.

        p. php3
        a. php4

What version of PHP are you using? [p]

By default HORDE supports any web server that php3 does.  This config process
currently only supports Apache and Apache-SSL directly.  If you use another
type you will have to handle the web ends manually.  If you chose one of the
first three options, this install process will manage the configuration (or
attempt to) of the Apache specific portions necessary to run horde  properly.
If you do not wish this to happen, please chose the Other option.

        a. Apache
        c. Apache-SSL
        b. Both
        o. Other

What type of Web Server are you running? [a]

What username do you use to run your webserver.  By default on Debian it is
www-data, but some people like to change it.  We need this so that we can set
the security on the HORDE files properly.  Since there is system configuration
information stored in some files we need to only allow  the web server to view
these files.

What is the username that your web server runs as? [www-data]

What group do you use to run your webserver.  By default on Debian it is
www-data, but some people like to change it.  We need this so that we can set
the security on the HORDE files properly.  Since there is system configuration
information stored in some files we need to only allow the web server to view
these files.

What is the group that your web server runs as? [www-data]

This install has the ability to modify services such as your web server and
your database server.  Please select whether you want either or all of the
services to be restarted after an installation.

        w. webserver
        d. database
        b. both
        n. none

Restart affected services (Webserver, Database or Both) after installation? [b]

Note to EXIM users and possibly others...
All mail sent from the Horde system modifies the sending user's name. With mail
programs such as Exim, you must set the up the web user as  someone allowed to
modify the senders name in mail headers.  We can  attempt to do this for you.
You must edit the /etc/exim.conf file and add "www-data" to the list of trusted
users.  Failure to do this will cause all bounced messages sent by the Horde
system to go to postmaster (or root) instead of the originating user.

Configuring Imp
---------------

Welcome to the new IMP setup program
Please note that these options will only be asked of you the first time around
and only new options will show during future upgrades.  If you need to change
any of these options after installation, please look at
/etc/imp/defaults.choices.

If you are upgrading currently and this is the first time your using the
debconf version of the imp install we'll let you know this once. Your current
defaults.php3 file is getting backed up during the preinst process.  This will
happen every time you upgrade even though you will never see this prompt again
[More]
unless you have debconf set to prompt you for everything.  Also note that the
defaults.php3 file is now generated on the fly *everytime* you install or
upgrade imp.

This is the default IMAP/POP server you plan on having IMP connect to. Please
change it from localhost to the fully qualified domain name.

Enter the hostname for the IMAP/POP server you want to connect to [localhost]

For the server you just entered, what type of service is it running?  Please
chose either IMAP or POP as that's the only 2 choices you have. :)

        i. imap
        p. pop3

What type of mail server is this?  [i]

For the IMAP/POP server you chose above, what port is the daemon running. By
default this is 143 for a IMAP server and 110 for a POP server.

What port is IMAP/POP running on? [143]

If you are upgrading or for any other reason have already configured your
database for use with IMP you'll want to set this to yes.

        y. yes
        n. no

Have you already configured your IMP database? [n]

Selecting previously deselected package apache-common.
(Reading database ... 9701 files and directories currently installed.)
Unpacking apache-common (from .../apache-common_1.3.9-14_i386.deb) ...
Selecting previously deselected package php3.
Unpacking php3 (from .../web/php3_3.0.18-0potato1.deb) ...
Selecting previously deselected package apache-ssl.
Unpacking apache-ssl (from .../apache-ssl_1.3.9.13-2_i386.deb) ...
Selecting previously deselected package postgresql-client.
Unpacking postgresql-client (from .../postgresql-client_6.5.3-27_i386.deb) ...

Selecting previously deselected package php3-pgsql.
Unpacking php3-pgsql (from .../php3-pgsql_3.0.18-0potato1.deb) ...
Selecting previously deselected package horde.
Unpacking horde (from .../web/horde_1.2.6-0.potato.4.deb) ...
Selecting previously deselected package php3-imap.
Unpacking php3-imap (from .../php3-imap_3.0.18-0potato1.deb) ...
Selecting previously deselected package php3-ldap.
Unpacking php3-ldap (from .../php3-ldap_3.0.18-0potato1.deb) ...
Setting up apache-common (1.3.9-14) ...

Setting up apache-ssl (1.3.9.13-2) ...
Adding webmaster to /etc/aliases ...

creating selfsingned certificate
replace it with one signed by a certification authority (CA)

enter your ServerName at the Common Name prompt

If you want your certificate to expire after x days call this programm
with -days x
Using configuration from /usr/share/doc/apache-ssl/examples/ssleay.cnf
unable to load 'random state'
What this means is that the random number generator has not been seeded
with much random data.
Consider setting the RANDFILE environment variable to point at a file that
'random' data can be kept in.
Generating a 1024 bit RSA private key
.....+++++
..........+++++
writing new private key to '/etc/apache-ssl/apache.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:BE
State or Province Name (full name) [Some-State]:Antwerp
Locality Name (eg, city) []:Sint-Niklaas
Organization Name (eg, company; recommended) []:i-engineering
Organizational Unit Name (eg, section) []:
server name (eg. ssl.domain.tld; required!!!) []:gaius
Email Address []:
Initializing apache config for immediate operation.
Installing new configuration file /etc/apache-ssl/httpd.conf ...
Installing new configuration file /etc/apache-ssl/access.conf ...
Installing new configuration file /etc/apache-ssl/srm.conf ...
Installing new configuration file /etc/apache-ssl/cron.conf ...
Correcting mime_module loading.
The ServerAdmin is set to webmaster@gaius.
The DocumentRoot is set to /var/www.
Created directory /var/www.
Fixing: owner of /var/www retained as root.root
Installing your new homepage in /var/www.
Finding DSO mods..............................................found.

# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
# LoadModule env_module /usr/lib/apache/1.3/mod_env.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config_ssl.so
# LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
# LoadModule info_module /usr/lib/apache/1.3/mod_info.so
# LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
# LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
# LoadModule imap_module /usr/lib/apache/1.3/mod_imap.so
# LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
# LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so
# LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so
# LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so
# LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so
# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
# LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so
# LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
# LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so
# LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
# LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so
# LoadModule put_module /usr/lib/apache/1.3/mod_put.so
# LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so
AddModule apache_ssl.c
# LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so
# LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
# LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
# LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so

Pondering.............................................. done.

apache-ssl: cannot determine local host name.
Use the ServerName directive to set it manually.
/usr/sbin/apache-sslctl start: httpd could not be started

Configuration failed!  Run "apache-sslconfig" to try this again later.


Setting up postgresql-client (6.5.3-27) ...

Setting up php3 (3.0.18-0potato1) ...
I see you have apache-ssl webserver installed and so far you haven't
eused the apache module version of php3 in your apache-ssl. If you
want to use it, you should reconfigure the apache-ssl webserver and
select to load the php module. I can call the apache-sslconfig script
now for you to do it, or you can insert the following line into
/etc/apache-ssl/httpd.conf manually:

LoadModule php3_module /usr/lib/apache/1.3/libphp3.so

Do you want me to run the apache-sslconfig script now [y/N] ? y

Your config files will not be modified until you select Y at "save changes."

Enter the email address of your server administrator.  This address
will be used in error messages allowing users to submit reports of
faulty links or misconfigured cgi-programs to you. It should be an email
address that corresponds to a human.

Who should the ServerAdmin be? [webmaster@gaius]

You may want to choose the publicized name for your server.  This name
is used to make the server report itself as being someone else, for
example to replace gaius by www.gaius which looks nicer.
Please note that you may still need to make sure this alternative name
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so
# LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so
# LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so
# LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so
# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
# LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so
# LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
# LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so
# LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
# LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so
# LoadModule put_module /usr/lib/apache/1.3/mod_put.so
# LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so
AddModule apache_ssl.c
# LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so
# LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
# LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
# LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so

Pondering.............................................. done.

Save these changes to the configuration files? [Y/n] Y

Rotated `/etc/apache-ssl/httpd.conf' at Thu Feb 28 22:30:03 CET 2002.
Restart Apache-SSL now? [Y/n] Y
apache-ssl: cannot determine local host name.
Use the ServerName directive to set it manually.
/usr/sbin/apache-sslctl start: httpd could not be started
dpkg: error processing php3 (--configure):
 subprocess post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of php3-pgsql:
 php3-pgsql depends on php3 (= 3:3.0.18-0potato1); however:
  Package php3 is not configured yet.
dpkg: error processing php3-pgsql (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of horde:
 horde depends on php3 | php4 (>= 4.0b4); however:
  Package php3 is not configured yet.
  Package php4 is not installed.
 horde depends on php3-pgsql | php3-mysql | php4-pgsql | php4-mysql; however:
  Package php3-pgsql is not configured yet.
  Package php3-mysql is not installed.
  Package php4-pgsql is not installed.
  Package php4-mysql is not installed.
dpkg: error processing horde (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 php3
 php3-pgsql
 horde
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply to: