Projet

Général

Profil

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

Ajouté par Joël Cuissinat il y a plus de 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
04/01/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-upgradeauto-scribe-272-2.8.0-amd64/20/console

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.

Demandes liées

Lié à Distribution EOLE - Tâche #35056: Vérifier la migration php Fermé 23/11/2022

Révisions associées

Révision 8d57bdef (diff)
Ajouté par Benjamin Bohard il y a environ 3 ans

Purge des fichiers de configuration php 7.2

Ref #31488

Révision 3f888a1f (diff)
Ajouté par Joël Cuissinat il y a environ 3 ans

Correction et nettoyage du script post_upgrade/10-apache

Ref: #31488

Historique

#1 Mis à jour par Joël Cuissinat il y a plus de 3 ans

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 Mis à jour par Benjamin Bohard il y a environ 3 ans

  • Statut changé de Nouveau à En cours

#3 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • Assigné à mis à Benjamin Bohard
  • % réalisé changé de 0 à 100

OK sur le dernier test :

            MONITOR: diagnose -T
            *** Test du module scribe version 2.8.0 (scribe 00000001) ***

#4 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • Statut changé de En cours à Résolu

#5 Mis à jour par Joël Cuissinat il y a environ 3 ans

11:10:26             *** Services Web
11:10:26             .                         Web => Ok

#6 Mis à jour par Joël Cuissinat il y a environ 3 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

#7 Mis à jour par Joël Cuissinat il y a plus d'un an

Formats disponibles : Atom PDF