Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/08/2016, à 12:51

abecidofugy

[Résolu] problème fichiers de conf avec apache

Salut,

Lorsque je fais un : apache2 -V
J'ai ça :

[Fri Aug 12 12:37:12.052700 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Fri Aug 12 12:37:12.052755 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Fri Aug 12 12:37:12.052770 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Fri Aug 12 12:37:12.052779 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Fri Aug 12 12:37:12.052790 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Aug 12 12:37:12.075670 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Aug 12 12:37:12.075806 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Aug 12 12:37:12.075819 2016] [core:warn] [pid 5468] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

Que faire stp ?

Dernière modification par abecidofugy (Le 12/08/2016, à 13:35)

Hors ligne

#2 Le 12/08/2016, à 13:03

bruno

Re : [Résolu] problème fichiers de conf avec apache

C'est normal et cela a déjà été expliqué sur ce forum…
Pour voir les informations de compilation faut utiliser :

sudo apache2ctl -V

Pour vérifier la configuration :

sudo apache2ctl -t
sudo apache2ctl -t DUMP_VHOSTS

etc. (voir apache2ctl -h)

EDIT : la commande apache2 fonctionne à condition de l'utiliser en tant que www-data :

sudo -u www-data apache2 -V

Dernière modification par bruno (Le 12/08/2016, à 13:38)

Hors ligne

#3 Le 12/08/2016, à 13:35

abecidofugy

Re : [Résolu] problème fichiers de conf avec apache

Merci bruno.

Hors ligne