systemd[1]: Starting The Apache HTTP Server...
apachectl[2204]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:7
apachectl[2204]: (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:80
apachectl[2204]: no listening sockets available, shutting down
apachectl[2204]: AH00015: Unable to open logs
apachectl[2201]: Action 'start' failed.
apachectl[2201]: The Apache error log may have more information.
systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
systemd[1]: apache2.service: Failed with result 'exit-code'.
systemd[1]: Failed to start The Apache HTTP Server.
Bonjour à tous
Avec la commande : systemctl status apache2.service
mars 24 22:52:55 reseau systemd[1]: Starting The Apache HTTP Server...
mars 24 22:52:55 reseau apachectl[2294]: AH00526: Syntax error on line 5 of /etc/apache2/ports.conf:
mars 24 22:52:55 reseau apachectl[2294]: Invalid address or port
mars 24 22:52:55 reseau systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
mars 24 22:52:55 reseau apachectl[2291]: Action 'start' failed.
mars 24 22:52:55 reseau apachectl[2291]: The Apache error log may have more information.
mars 24 22:52:55 reseau systemd[1]: apache2.service: Failed with result 'exit-code'.
mars 24 22:52:55 reseau systemd[1]: Failed to start The Apache HTTP Server.
root@reseau:~#
Dans la config fichier PORTS.CONF
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
ServerName monpostereseaux
Listen :80
#avant Listen 80
NameVirtualHost *:800
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Avec la commande journalctl -xe
L'unité (unit) apache2.service a commencé à démarrer.
mars 25 06:03:50 reseau apachectl[3570]: AH00526: Syntax error on line 5 of /etc/apache2/ports.conf:
mars 25 06:03:50 reseau apachectl[3570]: Invalid address or port
mars 25 06:03:50 reseau apachectl[3567]: Action 'start' failed.
mars 25 06:03:50 reseau apachectl[3567]: The Apache error log may have more information.
mars 25 06:03:50 reseau systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: https://www.debian.org/support
An ExecStart= process belonging to unit apache2.service has exited.
The process' exit code is 'exited' and its exit status is 1.
mars 25 06:03:50 reseau systemd[1]: apache2.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: https://www.debian.org/support
The unit apache2.service has entered the 'failed' state with result 'exit-code'.
mars 25 06:03:50 reseau systemd[1]: Failed to start The Apache HTTP Server.
Subject: L'unité (unit) apache2.service a échoué
Defined-By: systemd
Support: https://www.debian.org/support
L'unité (unit) apache2.service a échoué, avec le résultat failed.
Re-bonjour à tous, le problème qu’il à eu avant que tout ne fonctionne plus jusqu’a samba, et mon site internet, je voulais faire un compte mail avec POSFIX
je me souviens avoir rentrer une commande comme sa :
chown -R www-data:www-data /var/www/postfix
Si sa peut aider
Merci de votre aide
Bonjour mon serveur apache2 ne démarre plus code erreur :
systemd[1]: Starting The Apache HTTP Server...
apachectl[2204]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:7
apachectl[2204]: (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:80
apachectl[2204]: no listening sockets available, shutting down
apachectl[2204]: AH00015: Unable to open logs
apachectl[2201]: Action 'start' failed.
apachectl[2201]: The Apache error log may have more information.
systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
systemd[1]: apache2.service: Failed with result 'exit-code'.
systemd[1]: Failed to start The Apache HTTP Server.
Avez vous une solution merci
Dans le ficher port.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/default.conf
Listen 80
NameVirtualHost *:800
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>