Koozali.org: home of the SME Server

Promème de maj (résolu)

Offline ecureuil

  • *
  • 261
  • +0/-0
Promème de maj (résolu)
« on: December 31, 2019, 02:59:30 PM »
bonjour

Lors de la dernière maj :

===
=== yum reports available updates:
===

ImageMagick6-libs.x86_64             6.9.10.79-1.el6.remi              remi-safe
ca-certificates.noarch               2019.2.32-65.1.el6_10             updates 
curl.x86_64                          7.19.7-54.el6_10                  updates 
freetype.x86_64                      2.3.11-19.el6_10                  updates 
kernel.x86_64                        2.6.32-754.25.1.el6               updates 
kernel-firmware.noarch               2.6.32-754.25.1.el6               updates 
kernel-headers.x86_64                2.6.32-754.25.1.el6               updates 
libcurl.x86_64                       7.19.7-54.el6_10                  updates 
net-snmp.x86_64                      1:5.5-60.el6_10.1                 updates 
net-snmp-libs.x86_64                 1:5.5-60.el6_10.1                 updates 

===
=== yum reports available updates for Contribs :
===

nextcloud.noarch                  17.0.1-1.el6.sme                   smecontribs

    To apply all these updates, you can log on your server and run the following command :

    yum update --enablerepo=smecontribs

J'ai eu un souci lors du redémarrage


www.linux-nuts.com/convert-vcf2/IMG_2496.JPG


« Last Edit: January 06, 2020, 12:25:48 PM by ecureuil »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Promème de maj
« Reply #1 on: December 31, 2019, 08:01:45 PM »
No one can see an image on your own computer....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ecureuil

  • *
  • 261
  • +0/-0
Re: Promème de maj
« Reply #2 on: December 31, 2019, 10:25:16 PM »
comment insérer une image ici?

J'ai pris une photo de l'écran lors du rebbot
Je voulais l'insérer mais je ne sais pas comment faire.

C'était pour montrer l'erreur lors du reboot

Anne
 

Offline ecureuil

  • *
  • 261
  • +0/-0
Re: Promème de maj
« Reply #3 on: January 01, 2020, 01:16:30 AM »
bonjour

Lors de la dernière maj :

===
=== yum reports available updates:
===

ImageMagick6-libs.x86_64             6.9.10.79-1.el6.remi              remi-safe
ca-certificates.noarch               2019.2.32-65.1.el6_10             updates 
curl.x86_64                          7.19.7-54.el6_10                  updates 
freetype.x86_64                      2.3.11-19.el6_10                  updates 
kernel.x86_64                        2.6.32-754.25.1.el6               updates 
kernel-firmware.noarch               2.6.32-754.25.1.el6               updates 
kernel-headers.x86_64                2.6.32-754.25.1.el6               updates 
libcurl.x86_64                       7.19.7-54.el6_10                  updates 
net-snmp.x86_64                      1:5.5-60.el6_10.1                 updates 
net-snmp-libs.x86_64                 1:5.5-60.el6_10.1                 updates 

===
=== yum reports available updates for Contribs :
===

nextcloud.noarch                  17.0.1-1.el6.sme                   smecontribs

    To apply all these updates, you can log on your server and run the following command :

    yum update --enablerepo=smecontribs

J'ai eu un souci lors du redémarrage


www.linux-nuts.com/convert-vcf2/files/IMG_2496.JPG


J'ai réussi à intégrer l'image

Si cela dit quelque chose.

Je ne peux pas booter sur le dernier noyau

# rpm -qa | grep kernel
kernel-2.6.32-754.23.1.el6.x86_64
dracut-kernel-004-411.el6.noarch
kernel-2.6.32-754.25.1.el6.x86_64
kernel-headers-2.6.32-754.25.1.el6.x86_64
kernel-firmware-2.6.32-754.25.1.el6.noarch
kernel-2.6.32-754.24.3.el6.x86_64

Pour l'instant, je suis toujours avec kernel-2.6.32-754.24.1.el6.x86_64

kernel-2.6.32-754.25.1.el6.x86_64 me donne le message d'erreur que j'ai mis

Si quelqu'un a une idée

Merci
Anne
« Last Edit: January 01, 2020, 02:40:25 AM by ecureuil »

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Promème de maj
« Reply #4 on: January 01, 2020, 02:27:11 PM »
I don't know if this will help, but here's what Google found for the error message:

You are missing the initramfs for that kernel. Choose another kernel from the GRUB menu under Advanced options for Ubuntu and run sudo update-initramfs -u -k version to generate the initrd for version (replace version with the kernel version string such as 4.15.0-36-generic) then sudo update-grub.

Offline ecureuil

  • *
  • 261
  • +0/-0
Re: Promème de maj
« Reply #5 on: January 01, 2020, 05:08:48 PM »
You are missing the initramfs for that kernel. Choose another kernel from the GRUB menu under Advanced options for Ubuntu and run sudo update-initramfs -u -k version to generate the initrd for version (replace version with the kernel version string such as 4.15.0-36-generic) then sudo update-grub.

Il faudrait traduire les commandes apt en rpm (debian en redhat)

# update-initramfs -u -k 2.6.32-754.25.1.el6.x86_64.img
-bash: update-initramfs : commande introuvable


# uname -r
2.6.32-754.24.3.el6.x86_64

# ls -al /boot/initramfs-2.6.32-754.2*
-rw------- 1 root admin 16671395  2 oct.  23:15 /boot/initramfs-2.6.32-754.23.1.el6.x86_64.img
-rw------- 1 root admin 16710299 16 nov.  14:49 /boot/initramfs-2.6.32-754.24.3.el6.x86_64.img
-rw------- 1 root root  10256384 29 déc.  02:26 /boot/initramfs-2.6.32-754.25.1.el6.x86_64.img

=> mkinitrd -f -v   initramfs-2.6.32-754.25.1.el6.x86_64.img    2.6.32-754.25.1.el6.x86_64

J'ai essayé aussi
=> dracut -f /boot/initramfs-2.6.32-754.25.1.el6.x86_64.img   2.6.32-754.25.1.el6.x86_64

le boot sur le noyau 2.6.32-754.24.3 fonctionne mais que nenni sur le noyau 2.6.32-754.25.1

https://sites.google.com/site/syscookbook/rhel/rhel-kernel-rebuild

J'ai toujours la même erreur avec  le noyau 2.6.32-754.25.1
www.linux-nuts.com/convert-vcf2/IMG_2496.JPG

suite...

Quote
 
cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro rd_NO_PLYMOUTH root=/dev/sda3
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
title SME Server 9.2 (2.6.32-754.25.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.25.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
title SME Server 9.2 (2.6.32-754.24.3.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
        initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.23.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.23.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
        initrd /initramfs-2.6.32-754.23.1.el6.x86_64.img

Pour la version 2.6.32-754.25.1.el6.x86_64 pas de ligne :
initrd /initramfs-2.6.32-754.25.1.el6.x86_64.img

=> suite
J'ai trouvé la solution ici
https://forums.contribs.org/index.php?topic=53312.0

voir le post de  Stefano

Quote
# rpm -qa | grep kernel
kernel-2.6.32-754.23.1.el6.x86_64
dracut-kernel-004-411.el6.noarch
kernel-2.6.32-754.25.1.el6.x86_64
kernel-headers-2.6.32-754.25.1.el6.x86_64
kernel-firmware-2.6.32-754.25.1.el6.noarch
kernel-2.6.32-754.24.3.el6.x86_64

Quote
# yum remove kernel-2.6.32-754.25.1.el6.x86_64
Modules complémentaires chargés : fastestmirror, post-transaction-actions, smeserver
Configuration du processus de suppression
Résolution des dépendances
--> Lancement de la transaction de test
---> Package kernel.x86_64 0:2.6.32-754.25.1.el6 will be effacé
--> Résolution des dépendances terminée

Dépendances résolues

=============================================================================================================================================================================================================================================================================================================================
 Paquet                                                                   Architecture                                                             Version                                                                                 Dépôt                                                                       Taille
=============================================================================================================================================================================================================================================================================================================================
Suppression:
 kernel                                                                   x86_64                                                                   2.6.32-754.25.1.el6                                                                     installed                                                                   133 M

Résumé de la transaction
=============================================================================================================================================================================================================================================================================================================================
Suppression de     1 paquet(s)

Taille d'installation : 133 M
Est-ce correct [o/N] : o
Téléchargement des paquets :
Lancement de rpm_check_debug
Lancement de la transaction de test
Transaction de test réussie
Lancement de la transaction
  Suppression   : kernel-2.6.32-754.25.1.el6.x86_64                                                                                                                                                                                                                                                                      1/1
attention:    erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.order: Aucun fichier ou dossier de ce type
attention:    erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.networking: Aucun fichier ou dossier de ce type
attention:    erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.modesetting: Aucun fichier ou dossier de ce type
attention:    erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.drm: Aucun fichier ou dossier de ce type
attention:    erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.block: Aucun fichier ou dossier de ce type
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database spamassassin
Migrating existing database domains
Migrating existing database networks
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database yum_repositories
  Verifying     : kernel-2.6.32-754.25.1.el6.x86_64                                                                                                                                                                                                                                                                      1/1

Supprimé:
  kernel.x86_64 0:2.6.32-754.25.1.el6

Terminé !

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================

Quote
# yum update
Modules complémentaires chargés : fastestmirror, post-transaction-actions, smeserver
Configuration du processus de mise à jour
Loading mirror speeds from cached hostfile
 * base: ftp.pasteur.fr
 * updates: ftp.pasteur.fr
base                                                                                                                                                                                                                                                                                                  | 3.7 kB     00:00
remi-safe                                                                                                                                                                                                                                                                                             | 3.0 kB     00:00
smeaddons                                                                                                                                                                                                                                                                                             | 2.9 kB     00:00
smeextras                                                                                                                                                                                                                                                                                             | 2.9 kB     00:00
smeos                                                                                                                                                                                                                                                                                                 | 3.1 kB     00:00
smeupdates                                                                                                                                                                                                                                                                                            | 2.9 kB     00:00
updates                                                                                                                                                                                                                                                                                               | 3.4 kB     00:00
Résolution des dépendances
--> Lancement de la transaction de test
---> Package kernel.x86_64 0:2.6.32-754.25.1.el6 will be installé
--> Résolution des dépendances terminée

Dépendances résolues

=============================================================================================================================================================================================================================================================================================================================
 Paquet                                                                    Architecture                                                              Version                                                                                Dépôt                                                                      Taille
=============================================================================================================================================================================================================================================================================================================================
Installation:
 kernel                                                                    x86_64                                                                    2.6.32-754.25.1.el6                                                                    updates                                                                     32 M

Résumé de la transaction
=============================================================================================================================================================================================================================================================================================================================
Installation de     1 paquet(s)

Taille totale des téléchargements : 32 M
Taille d'installation : 133 M
Est-ce correct [o/N] : o
Téléchargement des paquets :
kernel-2.6.32-754.25.1.el6.x86_64.rpm                                                                                                                                                                                                                                                                 |  32 MB     00:06
Lancement de rpm_check_debug
Lancement de la transaction de test
Transaction de test réussie
Lancement de la transaction
  Installation  : kernel-2.6.32-754.25.1.el6.x86_64                                                                                                                                                                                                                                                                      1/1
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database spamassassin
Migrating existing database domains
Migrating existing database networks
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database yum_repositories
  Verifying     : kernel-2.6.32-754.25.1.el6.x86_64                                                                                                                                                                                                                                                                      1/1

Installé:
  kernel.x86_64 0:2.6.32-754.25.1.el6

Terminé !

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================


Quote
# signal-event post-upgrade

Quote
# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro rd_NO_PLYMOUTH root=/dev/sda3
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
title SME Server 9.2 (2.6.32-754.25.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.25.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
        initrd /initramfs-2.6.32-754.25.1.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.24.3.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
        initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.23.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-754.23.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16  KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
        initrd /initramfs-2.6.32-754.23.1.el6.x86_64.img


je crois que c'est ok

Quote
# signal-event reboot

Après le reboot

Quote
# uname -a
Linux tux 2.6.32-754.25.1.el6.x86_64 #1 SMP Mon Dec 23 15:19:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Je suis avec le dernier noyau!

Anne
« Last Edit: January 02, 2020, 02:19:58 AM by ecureuil »