diag erreur
This commit is contained in:
22
Readme.md
22
Readme.md
@@ -33,3 +33,25 @@ grep logio /etc/httpd/conf.modules.d/*
|
||||
```
|
||||
|
||||
Le module semble bien chargé, donc le format sera disponible.
|
||||
|
||||
|
||||
# Générer une erreur:
|
||||
```bash
|
||||
|
||||
echo plop > /etc/httpd/conf.d/error.conf
|
||||
|
||||
|
||||
systemctl restart httpd #Ouuups
|
||||
...
|
||||
|
||||
tail /var/log/httpd/error_log
|
||||
|
||||
systemctl status httpd
|
||||
|
||||
journalctl -eu httpd.service
|
||||
```
|
||||
|
||||
Il aurait mieux valu faire un :
|
||||
```bash
|
||||
apachectl configtest && apachectl graceful
|
||||
```
|
||||
Reference in New Issue
Block a user