Trace: • apache_install
Screendump from terminal session for the Apache 2.2 installation on Debian Sarge, using dotdeb:
myhost:/etc/apache2/mods-available# apt-get install apache2 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: apache2-mpm-worker apache2.2-common libapr1 libaprutil1 libpq4 libsqlite3-0 The following packages will be REMOVED: apache2-common apache2-mpm-prefork libapache2-mod-php4 php4 The following NEW packages will be installed: apache2-mpm-worker apache2.2-common libapr1 libaprutil1 libpq4 libsqlite3-0 The following packages will be upgraded: apache2 1 upgraded, 6 newly installed, 4 to remove and 268 not upgraded. Need to get 2065kB of archives. After unpacking 1303kB disk space will be freed. Do you want to continue? [Y/n] Y Get:1 ftp://80.237.136.138 stable/main libapr1 1.2.7-8.2 [109kB] Get:2 http://security.debian.org stable/updates/main libpq4 8.1.9-0etch1 [270kB] Get:3 ftp://80.237.136.138 stable/main libsqlite3-0 3.3.8-1.1 [194kB] Get:4 ftp://80.237.136.138 stable/main libaprutil1 1.2.7+dfsg-2 [68.5kB] Get:5 ftp://80.237.136.138 stable/main apache2 2.2.3-4+etch1 [39.6kB] Get:6 ftp://80.237.136.138 stable/main apache2.2-common 2.2.3-4+etch1 [962kB] Get:7 ftp://80.237.136.138 stable/main apache2-mpm-worker 2.2.3-4+etch1 [422kB] Fetched 2065kB in 0s (2256kB/s) Selecting previously deselected package libapr1. (Reading database ... 40113 files and directories currently installed.) Unpacking libapr1 (from .../libapr1_1.2.7-8.2_i386.deb) ... Selecting previously deselected package libpq4. Unpacking libpq4 (from .../libpq4_8.1.9-0etch1_i386.deb) ... Selecting previously deselected package libsqlite3-0. Unpacking libsqlite3-0 (from .../libsqlite3-0_3.3.8-1.1_i386.deb) ... Selecting previously deselected package libaprutil1. Unpacking libaprutil1 (from .../libaprutil1_1.2.7+dfsg-2_i386.deb) ... Preparing to replace apache2 2.0.54-5sarge1 (using .../apache2_2.2.3-4+etch1_all.deb) ... Unpacking replacement apache2 ... (Reading database ... 40159 files and directories currently installed.) Removing php4 ... Removing libapache2-mod-php4 ... Module php4 disabled; run /etc/init.d/apache2 force-reload to fully disable. dpkg: apache2-common: dependency problems, but removing anyway as you request: apache2-mpm-prefork depends on apache2-common (= 2.0.54-5sarge1). Removing apache2-common ... Stopping web server: Apache2. dpkg: apache2-mpm-prefork: dependency problems, but removing anyway as you request: libapache2-svn depends on apache2; however: Package apache2 is not configured yet. Package apache2-mpm-prefork which provides apache2 is to be removed. Removing apache2-mpm-prefork ... Stopping web server: Apache2 ... failed! You may still have some apache2 processes running. There are processes named 'apache2' which do not match your pid file, and in the name of safety, we've left them alone. Please review the situation by hand. . Selecting previously deselected package apache2.2-common. (Reading database ... 39781 files and directories currently installed.) Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-4+etch1_i386.deb) ... Selecting previously deselected package apache2-mpm-worker. Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.3-4+etch1_i386.deb) ... Setting up libapr1 (1.2.7-8.2) ... Setting up libpq4 (8.1.9-0etch1) ... Setting up libsqlite3-0 (3.3.8-1.1) ... Setting up libaprutil1 (1.2.7+dfsg-2) ... Setting up apache2.2-common (2.2.3-4+etch1) ... Installing new version of config file /etc/init.d/apache2 ... Configuration file `/etc/apache2/sites-available/default' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** default (Y/I/N/O/D/Z) [default=N] ? N Installing new version of config file /etc/apache2/envvars ... Installing new version of config file /etc/apache2/mods-available/proxy_ftp.load ... Installing new version of config file /etc/apache2/mods-available/disk_cache.load ... Installing new version of config file /etc/apache2/mods-available/file_cache.load ... Installing new version of config file /etc/apache2/mods-available/proxy_http.load ... Installing new version of config file /etc/apache2/mods-available/userdir.conf ... Installing new version of config file /etc/apache2/mods-available/cgid.conf ... Installing new version of config file /etc/apache2/mods-available/ssl.conf ... Installing new version of config file /etc/apache2/mods-available/mem_cache.load ... Installing new version of config file /etc/apache2/mods-available/mime_magic.conf ... Installing new version of config file /etc/apache2/mods-available/proxy_connect.load ... Installing new version of config file /etc/apache2/mods-available/proxy.conf ... Installing new version of config file /etc/apache2/mods-available/proxy.load ... Installing new version of config file /etc/apache2/mods-available/dav_fs.conf ... Installing new version of config file /etc/apache2/mods-available/dav_fs.load ... Configuration file `/etc/apache2/apache2.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** apache2.conf (Y/I/N/O/D/Z) [default=N] ? N Module alias installed; run /etc/init.d/apache2 force-reload to enable. Module autoindex installed; run /etc/init.d/apache2 force-reload to enable. Module dir installed; run /etc/init.d/apache2 force-reload to enable. Module env installed; run /etc/init.d/apache2 force-reload to enable. Module mime installed; run /etc/init.d/apache2 force-reload to enable. Module negotiation installed; run /etc/init.d/apache2 force-reload to enable. Module setenvif installed; run /etc/init.d/apache2 force-reload to enable. Module status installed; run /etc/init.d/apache2 force-reload to enable. Module auth_basic installed; run /etc/init.d/apache2 force-reload to enable. Module authz_default installed; run /etc/init.d/apache2 force-reload to enable. Module authz_user installed; run /etc/init.d/apache2 force-reload to enable. Module authz_groupfile installed; run /etc/init.d/apache2 force-reload to enable. Module authn_file installed; run /etc/init.d/apache2 force-reload to enable. Module authz_host installed; run /etc/init.d/apache2 force-reload to enable. Enabling proxy as a dependency This module is already enabled! Module proxy_http installed; run /etc/init.d/apache2 force-reload to enable. Enabling cache as a dependency Module cache installed; run /etc/init.d/apache2 force-reload to enable. mod_disk_cache needs configuration before being able to work. See the comments in /etc/apache2/mods-available/disk_cache.conf for details. Module disk_cache installed; run /etc/init.d/apache2 force-reload to enable. Setting up apache2-mpm-worker (2.2.3-4+etch1) ... * Starting web server (apache2)... apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: API module structure `dav_svn_module' in file /usr/lib/apache2/modules/mod_da *svn.so is garbled - perhaps this is not an Apache module DSO? [fail] invoke-rc.d: initscript apache2, action "start" failed. Setting up apache2 (2.2.3-4+etch1) ...
Fix any minor issues by reinstalling individual modules. For instance, in the example above the dav_svn_module could not be loaded: just comment out this module in the Apache config files until you've got the basic stuff up and running.
You are here: start » linux » apache_install