Bonjour à tous,
J'ai un soucis avec mon serveur web maison sur Raspberry Pi 3.
J'ai un site héberger dessus et mon certificat ssl était expiré. En essayant de le renouveler il se trouve que apache s'est stoppé et il ne veut plus démarrer.
Quand j'essaie la commande
Code :
- systemctl restart apache2.service
|
Voilà l'erreur
Code :
- apache2.service - The Apache HTTP Server
- Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Tue 2018-07-10 06:35:38 GMT; 20min ago
- Process: 389 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
- juil. 10 06:35:36 raspberrypi systemd[1]: Starting The Apache HTTP Server...
- juil. 10 06:35:37 raspberrypi apachectl[389]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Could not ope…irectory
- juil. 10 06:35:37 raspberrypi apachectl[389]: Action 'start' failed.
- juil. 10 06:35:37 raspberrypi apachectl[389]: The Apache error log may have more information.
- juil. 10 06:35:38 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited status=1
- juil. 10 06:35:38 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
- juil. 10 06:35:38 raspberrypi systemd[1]: apache2.service: Unit entered failed state.
- juil. 10 06:35:38 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
- Hint: Some lines were ellipsized, use -l to show in full.
|
Et voilà ce que contient la ligne 225
Code :
- IncludeOptional sites-enabled/*.conf
|
J'ai essayé de rechercher une solution mais je suis un peu perdu étant débutant.
Quelqu'un pour m'aiguiller sur ce qui serait la cause ?
Je vous remercie d'avance !!