Tâche #31488
Scénario #30986: Implémenter l'Upgrade Auto 2.7.2 → 2.8.0
apache2 ne démarre pas après Upgrade en 2.8.0
Start date:
01/04/2021
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
15:18:27 MONITOR: diagnose -T 15:18:27 *** Test du module scribe version 2.8.0 (scribe 00000001) *** 15:18:27 Attention, serveur opérationnel mais des services ne sont pas démarrés : 15:18:27 apache2.service loaded failed
root@scribe:~# systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/apache2.service.d └─override.conf Active: failed (Result: exit-code) since Mon 2021-01-04 15:32:06 CET; 3min 26s ago Docs: https://httpd.apache.org/docs/2.4/ janv. 04 15:32:06 scribe systemd[1]: Starting The Apache HTTP Server... janv. 04 15:32:06 scribe apachectl[10071]: apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.2.load: Cannot load /usr/lib/apache2/modules/l> janv. 04 15:32:06 scribe apachectl[10065]: Action 'start' failed. janv. 04 15:32:06 scribe apachectl[10065]: The Apache error log may have more information. janv. 04 15:32:06 scribe systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE janv. 04 15:32:06 scribe systemd[1]: apache2.service: Failed with result 'exit-code'. janv. 04 15:32:06 scribe systemd[1]: Failed to start The Apache HTTP Server.
Related issues
Associated revisions
Purge des fichiers de configuration php 7.2
Ref #31488
Correction et nettoyage du script post_upgrade/10-apache
Ref: #31488
History
#1 Updated by Joël Cuissinat over 2 years ago
La commande suivante permet de résoudre le problème :
apt remove --purge libapache2-mod-php7.2
Après l'upgrade, de nombreux paquets PHP 7.2 sont toujours en statut RC, je pense que c'est un sujet à traiter :
root@scribe:~# dpkg -l php* | grep rc ||/ Nom Version Architecture Description rc php7.2-cli 7.2.24-0ubuntu0.18.04.7 amd64 command-line interpreter for the PHP scripting language rc php7.2-common 7.2.24-0ubuntu0.18.04.7 amd64 documentation, examples and common module for PHP rc php7.2-gd 7.2.24-0ubuntu0.18.04.7 amd64 GD module for PHP rc php7.2-imap 7.2.24-0ubuntu0.18.04.7 amd64 IMAP module for PHP rc php7.2-intl 7.2.24-0ubuntu0.18.04.7 amd64 Internationalisation module for PHP rc php7.2-json 7.2.24-0ubuntu0.18.04.7 amd64 JSON module for PHP rc php7.2-ldap 7.2.24-0ubuntu0.18.04.7 amd64 LDAP module for PHP rc php7.2-mbstring 7.2.24-0ubuntu0.18.04.7 amd64 MBSTRING module for PHP rc php7.2-mysql 7.2.24-0ubuntu0.18.04.7 amd64 MySQL module for PHP rc php7.2-opcache 7.2.24-0ubuntu0.18.04.7 amd64 Zend OpCache module for PHP rc php7.2-readline 7.2.24-0ubuntu0.18.04.7 amd64 readline module for PHP rc php7.2-sqlite3 7.2.24-0ubuntu0.18.04.7 amd64 SQLite3 module for PHP rc php7.2-xml 7.2.24-0ubuntu0.18.04.7 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
#2 Updated by Benjamin Bohard over 2 years ago
- Status changed from Nouveau to En cours
#3 Updated by Emmanuel GARETTE over 2 years ago
- Assigned To set to Benjamin Bohard
- % Done changed from 0 to 100
OK sur le dernier test :
MONITOR: diagnose -T *** Test du module scribe version 2.8.0 (scribe 00000001) ***
#4 Updated by Emmanuel GARETTE over 2 years ago
- Status changed from En cours to Résolu
#5 Updated by Joël Cuissinat over 2 years ago
11:10:26 *** Services Web 11:10:26 . Web => Ok
#6 Updated by Joël Cuissinat over 2 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
#7 Updated by Joël Cuissinat 10 months ago
- Related to Tâche #35056: Vérifier la migration php added