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

Problem with apache2-common not installing apache2.conf?



This seems sort of too basic to be bug and there doesn't seem to be one
filed on this, so I must be doing something wrong...

Warning: I'm new at Apache. I'm using Debian testing, kernel 2.4.20. 

In the process of tryiing to get subversion up on my home server. Local
subverting works fine. Networked subversion apparently needs webdav and
apache2. I was using the older apache, so I naively tried to upgrade
with apt, removing apache and installing apache2-common and
apache2-mpm-prefork (prefork seems to be the safest deb to use for a
low-utilization machine.)

My problem is that I can't get apache2 to install. It *seems* like
apache.conf isn't being created by apache2-common and when
apache2-mpm-prefork's processing tries to read the file, it blows up. I
am sure that, after apt-get errors out, the /etc/apache2 directory
doesn't contain an apache2.conf file and the httpd.conf file is empty.
That doesn't seem right.

Here's some output indicative of my problem:
***************************************************************************
kiyone:/etc# apt-get install apache2-common apache2-mpm-prefork
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apache2-common
The following NEW packages will be installed:
  apache2-common apache2-mpm-prefork
0 packages upgraded, 2 newly installed, 0 to remove and 0  not
upgraded.
Need to get 0B/2869kB of archives. After unpacking 14.7MB will be used.
Do you want to continue? [Y/n]
Selecting previously deselected package apache2-common.
(Reading database ... 27563 files and directories currently installed.)
Unpacking apache2-common (from .../apache2-common_2.0.46-2_i386.deb)
...
Selecting previously deselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from
.../apache2-mpm-prefork_2.0.46-2_i386.deb) ...
Setting up apache2-common (2.0.46-2) ...
Setting Apache2 to Listen on port 80. If this is not desired, please
edit /etc/apache2/ports.conf as desired. Note that the Port directive
no longer works.

Setting up apache2-mpm-prefork (2.0.46-2) ...
Starting web server: Apache2apache2: could not open document config
file /etc/apache2/apache2.conf
invoke-rc.d: initscript apache2, action "start" failed.
dpkg: error processing apache2-mpm-prefork (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)

***************************************************************************
Can anyone point me in a useful direction?

Thanks, 
-darin


=====
darin_strait@yahoo.com  
Database Development and Administration 

'Words ought to be a little wild for they are the assaults of thought on the unthinking.' John Maynard Keynes

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



Reply to: