Oui pas de soucis je te donne ca :
koaz@koaz:~$ sudo systemctl status apache2
[sudo] Mot de passe de koaz :
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Fri 2021-01-22 21:56:11 CET; 2min>
Docs: https://httpd.apache.org/docs/2.4/
Process: 817 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAI>
janv. 22 21:56:11 koaz systemd[1]: Starting The Apache HTTP Server...
janv. 22 21:56:11 koaz apachectl[845]: AH00526: Syntax error on line 229 of /et>
janv. 22 21:56:11 koaz apachectl[845]: Invalid command 'ts=4', perhaps misspell>
janv. 22 21:56:11 koaz apachectl[817]: Action 'start' failed.
janv. 22 21:56:11 koaz apachectl[817]: The Apache error log may have more infor>
janv. 22 21:56:11 koaz systemd[1]: apache2.service: Control process exited, cod>
janv. 22 21:56:11 koaz systemd[1]: apache2.service: Failed with result 'exit-co>
janv. 22 21:56:11 koaz systemd[1]: Failed to start The Apache HTTP Server.
lines 1-14/14 (END)
Pour ta deuxième commande :
koaz@koaz:~$ iptables -L
Fatal: can't open lock file /run/xtables.lock: Permission denied
(Tu le voulais avec le sudo avant ?
Puis la derniere :
koaz@koaz:~$ sudo netstat -tlnp
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 654/systemd-resolve
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 685/cupsd
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN 913/mysqld
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 913/mysqld
tcp6 0 0 ::1:631 :::* LISTEN 685/cupsd