Pages : 1
#1 Le 11/05/2022, à 19:25
- PounkyM
[Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Bonjour à tous,
Mon serveur apache2 ne démarre plus…
$ systemctl status apache2.service
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-05-11 20:20:09 CEST; 2min 9s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 68016 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 24ms
mai 11 20:20:09 theo-laptop systemd[1]: Starting The Apache HTTP Server...
mai 11 20:20:09 theo-laptop apachectl[68019]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/module>
mai 11 20:20:09 theo-laptop apachectl[68016]: Action 'start' failed.
mai 11 20:20:09 theo-laptop apachectl[68016]: The Apache error log may have more information.
mai 11 20:20:09 theo-laptop systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
mai 11 20:20:09 theo-laptop systemd[1]: apache2.service: Failed with result 'exit-code'.
mai 11 20:20:09 theo-laptop systemd[1]: Failed to start The Apache HTTP Server.
J'ai l'impression que c'est lié à la librairie php8 mais je n'arrive pas à résoudre le problème…
Est-ce que quelqu'un pourrait m'aiguiller ?
Dernière modification par PounkyM (Le 12/05/2022, à 08:01)
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#2 Le 12/05/2022, à 06:55
- PounkyM
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Up…
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#3 Le 12/05/2022, à 07:04
- iznobe
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Bonjour , que donne :
apt policy php
vu :
mai 11 20:20:09 theo-laptop apachectl[68019]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/module>
Il y a de forte chances que appache pointe vers un PHP qui n' existe plus .
je ne suis cependant pas le mieux placé pour les soucis de serveur , mais c ' est devenu quelquechose de courant lors de mise a niveau vers 22.04 .
En fonction du retour , il faudrait dire a appache d' utiliser la version installée de PHP .
Il y a eu plusieurs post remontant une erreur similaire dans la section serveur , essaie de voir si ca peut t ' aider a resoudre ton probleme .
Donne les retours demandés ci-dessus .
En fonction des retours , il faudra peut etre passer ces commandes :
Et de toute façon la bonne méthode pour avoir la bonne version du module php d'Apache est :
sudo a2dismod php8.0 sudo a2enmod php8.1 sudo systemctl restart apache2
Dernière modification par iznobe (Le 12/05/2022, à 07:14)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#4 Le 12/05/2022, à 07:48
- PounkyM
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Merci iznobe pour ta réponse.
Voici le retour des commandes :
apt policy php
php:
Installé : 2:8.1+92ubuntu1
Candidat : 2:8.1+92ubuntu1
Table de version :
*** 2:8.1+92ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
100 /var/lib/dpkg/status
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#5 Le 12/05/2022, à 08:03
- PounkyM
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
sudo a2dismod php8.0
sudo a2enmod php8.1
sudo systemctl restart apache2
Ceci a résolu le problème…
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#6 Le 12/05/2022, à 08:09
- iznobe
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Cool , bonne journée .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#7 Le 13/09/2022, à 10:57
- bipbip38
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Bonjour,
J'ai un cas d'erreur similaire, mais les commandes n'ont pas résolues mon problème.:(
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-13 11:24:47 CEST; 1min 18s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 8469 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 29ms
sept. 13 11:24:47 VM-dolibarr systemd[1]: Starting The Apache HTTP Server...
sept. 13 11:24:47 VM-dolibarr apachectl[8472]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/lib>
sept. 13 11:24:47 VM-dolibarr apachectl[8469]: Action 'start' failed.
sept. 13 11:24:47 VM-dolibarr apachectl[8469]: The Apache error log may have more information.
sept. 13 11:24:47 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
sept. 13 11:24:47 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
sept. 13 11:24:47 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
~
apt policy php
php:
Installé : 2:8.1+92ubuntu1
Candidat : 2:8.1+92ubuntu1
Table de version :
*** 2:8.1+92ubuntu1 500
500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
100 /var/lib/dpkg/status
sudo a2enmod php8.1
Considering dependency mpm_prefork for php8.1:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.1:
Enabling module php8.1.
To activate the new configuration, you need to run:
systemctl restart apache2
sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
systemctl status apache2.service
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-13 11:24:47 CEST; 1min 18s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 8469 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 29ms
sept. 13 11:24:47 VM-dolibarr systemd[1]: Starting The Apache HTTP Server...
sept. 13 11:24:47 VM-dolibarr apachectl[8472]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/lib>
sept. 13 11:24:47 VM-dolibarr apachectl[8469]: Action 'start' failed.
sept. 13 11:24:47 VM-dolibarr apachectl[8469]: The Apache error log may have more information.
sept. 13 11:24:47 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
sept. 13 11:24:47 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
sept. 13 11:24:47 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
journalctl -xeu apache2.service
ept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exit>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result '>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-co>
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 14>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Serve>
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have mo>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exite>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'e>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-cod>
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have mor>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'ex>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code>
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 >
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited,>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exi>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 o>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more >
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, >
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more i>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more inform>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=ex>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/a>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more informat>
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, s>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, st>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/a>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAI>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.con>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax er>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on >
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 >
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /et>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mo>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enab>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabl>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
lines 4595-4617/4617 (END)
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
sept. 13 11:51:02 VM-dolibarr systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
sept. 13 11:51:02 VM-dolibarr apachectl[9589]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enable>
sept. 13 11:51:02 VM-dolibarr systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: L'unité (unit) apache2.service a échoué
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ L'unité (unit) apache2.service a échoué, avec le résultat failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: Action 'start' failed.
sept. 13 11:51:02 VM-dolibarr apachectl[9586]: The Apache error log may have more information.
Votre aide serrait la bienvenue.
Merci par avance.
Hors ligne
#8 Le 13/09/2022, à 13:14
- bruno
Re : [Résolu] Apache2 ne fonctionne plus après màj -> 22.04
Il suffit de lire les messages d'erreur, de comprendre les commandes proposées et de s'adapter :
sudo a2dismod php7.4
sudo a2enmod php8.1
sudo systemctl restart apache2
Dernière modification par bruno (Le 13/09/2022, à 13:14)