Tâche #10692
Scénario #10630: Préparer une maquette EOLE 2.5α
Revoir les fichiers de configuration apache2 et leur emplacement
Remaining (hours):
0.0
Description
-------------------------------------------------------------------------------------------------------------------------------------- Génération des fichiers de configuration. -------------------------------------------------------------------------------------------------------------------------------------- le répertoire /etc/apache2/conf.d n'existe pas mais est obligatoire pour /etc/apache2/conf.d/security le répertoire /etc/apache2/conf.d n'existe pas mais est obligatoire pour /etc/apache2/conf.d/security
La correction simple est d'ajouter mkdir='True' mais faut-il toujours utiliser ce répertoire ?
Malgré la correction précédente, apache2 n'est pas fonctionnel en fin d'instance :
root@ubuntu:~# service apache2 restart * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 222 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory Action 'configtest' failed. The Apache error log may have more information.
Related issues
Associated revisions
Mise à niveau du fichier /etc/apache2/conf-available/security.conf
- tmpl/apache-security : mise à niveau depuis le fichier fourni sur trusty
- dicos/20_web.xml : déplacement du template de "conf.d" vers "conf-available"
Ref: #10692 @1h
Mise à niveau du fichier /etc/apache2/apache2.conf
- tmpl/apache2.conf : mise à niveau depuis le fichier fourni sur trusty
avec report des modifications liées à la gestion des logs- ErrorLog syslog
- LogLevel info
Ref: #10692 @1h
History
#1 Updated by Joël Cuissinat over 8 years ago
- Subject changed from Le répertoire /etc/apache2/conf.d n'est plus créé par défaut to Revoir les fichiers de configuration apache2 et leur emplacement
- Description updated (diff)
- Estimated time changed from 2.00 h to 4.00 h
- Remaining (hours) changed from 2.0 to 4.0
#2 Updated by Joël Cuissinat over 8 years ago
NB : on a l'erreur même avec activer_apache="non", je ne sais pas dans quelle mesure des filelist='apache'
seraient à ajouter...
#3 Updated by Joël Cuissinat over 8 years ago
- Status changed from Nouveau to En cours
#4 Updated by Joël Cuissinat over 8 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#5 Updated by Joël Cuissinat over 8 years ago
/etc/apache2/conf.d/security est remplacé par /etc/apache2/conf-available/security.conf mais pas toujours !
root@horus:~# dpkg -S /etc/apache2/conf-available/ apache2: /etc/apache2/conf-available
root@eolebase:/etc/apache2# dpkg -S /etc/apache2/conf.d apache2.2-common: /etc/apache2/conf.d
#6 Updated by Joël Cuissinat over 8 years ago
- Status changed from En cours to Fermé
- % Done changed from 0 to 100
- Remaining (hours) changed from 4.0 to 0.0
Les deux modifications permettent le démarrage d'apache :
*** Services Web . Web => Ok
Je crée de nouveaux signalements pour les autres problèmes :)