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

Etch : Apache2 - désinstallation incomplète



Bonsoir la liste,


Aptitude m'indique qu'Apache2 a bien été installé mais aucun fichier de conf 
n'est visible et le service est inactif.

Cela s'est produit après une désinstallation propre d'apache2 + apache-ssl :
# aptitude remove --purge apache2
# aptitude remove --purge apache-ssl
# aptitude autoclean
# aptitude clean

Un nettoyage manuel de tous les répertoires ayant comme nom "apache..." 
n'ayant pas été purgés par aptitude a suivi.

Deux reboots au final avaient finis par me rassurer qu'apache avait bel et 
bien disparu.

Maintenant qu'il est à nouveau installé, pour le mettre en service j'en suis 
à rechercher des pistes...

Je serai malheureusement obligé d'arbitrer entre le temps nécessaire pour 
tenter de réparer cette installation et le temps de 
reformatage/réinstallation du disque au détriment de l'aspect pédagogique.

Merci d'avance pour vos conseils.





L'installation :
# aptitude install apache2

Précision utile pour la suite :
je n'ai pas encore réinstallé apache-ssl.



Mes investigations :

# aptitude show apache2
Paquet : apache2
État: installé
Automatiquement installé: non
Version : 2.2.3-4+etch6
Priorité : optionnel
[...]


Pas d'apache ici :
# ls -l /var/lib/
# ls -l /etc/ (ni de http)
# ls -l /usr/share/
# ls -l /var/log/
# /etc/init.d/


Ici non plus :
Pas d'index.html dans /var/www/
# man apache
Aucune entrée de manuel pour apache
# cat /var/log/syslog | grep "apache"
#


Depuis une autre machine, nmap n'affiche pas le port 80.
Assurément, le service est inactif :
# ps -ef | grep httpd
root      2765  2672  0 04:01 pts/0    00:00:00 grep httpd
# ps -ef | grep apache2
root      2769  2672  0 04:02 pts/0    00:00:00 grep apache2



Serait-ce les restes de l'install précédente?
# apache2 -V
Server version: Apache/2.2.3
Server built:   Sep  8 2008 09:03:05
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


Encore des restes?
# ls -l /usr/sbin/apache*
-rwxr-xr-x 1 root root 382944 2008-09-08 11:09 /usr/sbin/apache2
-rwxr-xr-x 1 root root   3404 2008-09-08 10:58 /usr/sbin/apache2ctl
-rwxr-xr-x 1 root root  12155 2008-01-21 10:53 /usr/sbin/apache-modconf

# ls -l /usr/lib/apache*
/usr/lib/apache:
total 4
drwxr-xr-x 2 root root 4096 2008-11-27 00:40 1.3
/usr/lib/apache2:
total 20
drwxr-xr-x 2 root root      4096 2008-10-24 17:14 modules
-rwsr-x--- 1 root www-data 12472 2008-09-08 11:09 suexec

# ls -l /etc/logrotate.d/apache*
-rw-r--r-- 1 root root 240 2008-01-31 09:50 /etc/logrotate.d/apache2
-rw-r--r-- 1 root root 382 2008-01-21 11:01 /etc/logrotate.d/apache-ssl


Ici, le silence est total :
# dpkg-reconfigure apache2
#


Est-ce que le problème viendrait d'ici?
# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official amd64 NETINST 
Binary-1 20070820-20:16]/ etch contrib main

deb http://ftp.fr.debian.org/debian/ etch main
deb-src http://ftp.fr.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib


Mes capacités d'investigation s'arrêtent ici :-(



-- 
Cordialement,

Alain Vaugham
--------------------------------------------------------
[PUB] Signature numérique GPG de ce courrier: 0xD26D18BC

Attachment: pgpmrvFEyG0Dd.pgp
Description: PGP signature


Reply to: