cant start apache2

Derek Broughton news at pointerstop.ca
Fri Oct 19 00:37:58 UTC 2007


dave selby wrote:

>> ps ax | grep httpd
>>
> 
> root at dave-desktop:/etc/apache2# ps ax | grep httpd
> 10220 pts/2    R+     0:00 grep httpd
> root at dave-desktop:/etc/apache2#
> 
> :(
> 
> In desperation I just
> 
> aptitude reinstall apache2-mpm-prefork apache2 apache2-utils
> libapache2-mod-php5 libapr1 libaprutil1 apache2.2-common
> 
> ie all the apache packages that I have installed,  its still broke but
> I now get ...
> 
>   root at dave-desktop:/etc/apache2#
> root at dave-desktop:/etc/apache2# /etc/init.d/apache2 start
>  * Starting web server (apache2)...

My _guess_ is that /etc/apache2 exists, but isn't owned by apache!  (can
happen if, for instance, you copy from another system - as I have just
done).

Try;

# sudo aptitude purge apache2

# sudo aptitude install apache2
-- 
derek





More information about the ubuntu-users mailing list