Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/04/2026, à 23:13

gilles deloustal

RESOLU mysql.service failed with error code

Bonjour
Mon nextcloud marchait bien jusqu'à ce soir au moment de l'arrêter. J'ai dû forcer l'arrêt de l'ordinateur, puis le re-démarrage restait sur une page blanche avec des accès disques nombreux. J'ai re-démarré une 2ième fois et obtenu des messages d'erreurs concernant mysql.service. J'ai re-démarré  une 3ième fois avec succès et nextcloud ne démarrant pas, j'ai re-démarré apache2, arrêté mysql et obtenu cette erreur lors du démarrage dans /var/log/mysql.

2026-04-02T20:50:17.299096Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:50:17.299207Z 0 [ERROR] [MY-012888] [InnoDB] Cannot resize redo log file ./#innodb_redo/#ib_redo162_tmp to 3 MB (Failed to set size)
2026-04-02T20:50:17.316839Z 0 [Warning] [MY-012638] [I2026-04-02T20:50:52.469063Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2026-04-02T20:50:52.470680Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2026-04-02T20:50:52.470795Z 0 [ERROR] [MY-010119] [Server] Aborting
2026-04-02T20:50:52.471951Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.45-0ubuntu0.24.04.1)  (Ubuntu).
2026-04-02T20:54:19.964172Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.45-0ubuntu0.24.04.1) starting as process 7082
2026-04-02T20:54:19.989031Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2026-04-02T20:54:20.656388Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:54:20.656625Z 0 [ERROR] [MY-012639] [InnoDB] Write to file ./#innodb_redo/#ib_redo159_tmp failed at offset 0, 1048576 bytes should have been written, only 0 were written. Operating system error number 28. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
2026-04-02T20:54:20.656809Z 0 [ERROR] [MY-012640] [InnoDB] Error number 28 means 'No space left on device'
2026-04-02T20:54:20.656845Z 0 [ERROR] [MY-012888] [InnoDB] Cannot resize redo log file ./#innodb_redo/#ib_redo159_tmp to 3 MB (Failed to set size)
2026-04-02T20:54:20.688052Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:54:20.902764Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:54:20.902833Z 0 [ERROR] [MY-012888] [InnoDB] Cannot resize redo log file ./#innodb_redo/#ib_redo159_tmp to 3 MB (Failed to set size)
2026-04-02T20:54:20.930230Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:54:20.930299Z 0 [ERROR] [MY-012888] [InnoDB] Cannot resize redo log file ./#innodb_redo/#ib_redo159_tmp to 3 MB (Failed to set size)
2026-04-02T20:54:20.953263Z 1 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.
2026-04-02T20:54:20.953330Z 1 [ERROR] [MY-012267] [InnoDB] Could not set the file siz

Je sais que je dois augmenter la taille de mon disque racine. C'est peut-être la cause ?
Capture-d-ecran-du-2026-04-02-22-57-20.png
Je viens de re-démarrer et obtenu plusieurs fois failed mysql.service et failed gnome display. service

Dernière modification par gilles deloustal (Le 04/04/2026, à 08:11)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#2 Le 03/04/2026, à 09:26

lann

Re : RESOLU mysql.service failed with error code

2026-04-02T20:54:20.656809Z 0 [ERROR] [MY-012640] [InnoDB] Error number 28 means 'No space left on device'
gilles deloustal a écrit :

Je sais que je dois augmenter la taille de mon disque racine. C'est peut-être la cause ?

Je crois que tu peux commencer par ça


<Modéré>

Hors ligne

#3 Le 03/04/2026, à 09:33

gilles deloustal

Re : RESOLU mysql.service failed with error code

Bonjour
Après avoir fait une sauvegarde de mon disque entier sur un disque externe, j'ai pu re-démarrer sans souci.
Je vais acheter une carte SD sur laquelle je déposerai mon nextcloud qui fait environ 8Go.
En revanche, j'ai fait le ménage comme indiqué ici https://doc.ubuntu-fr.org/tutoriel/comm … un_upgrade et
supprimé les programmes que je n'utilise pas. Or ayant installé waydroid pour des essais, j'ai supprimé le paquet avec synaptic, mais il reste des paquets. Comment les supprimer.

apt show -a waydroid
Package: waydroid
Version: 1.6.2
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 489 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, pipewire-pulse | pulseaudio, iptables
Recommends: ca-certificates
Download-Size: 230 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.6.1
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 489 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, pipewire-pulse | pulseaudio, iptables
Recommends: ca-certificates
Download-Size: 229 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.6.0
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 488 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, pipewire-pulse | pulseaudio, iptables
Recommends: ca-certificates
Download-Size: 229 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.5.4
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 486 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, pipewire-pulse | pulseaudio, iptables
Recommends: ca-certificates
Download-Size: 228 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.5.3
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 465 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, iptables
Download-Size: 224 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.5.2
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 465 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, iptables
Download-Size: 224 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.5.1
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 465 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, iptables
Download-Size: 224 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Package: waydroid
Version: 1.5.0
Priority: optional
Section: misc
Maintainer: Erfan Abdi <erfangplus@gmail.com>
Installed-Size: 464 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, iptables
Download-Size: 223 kB
APT-Sources: https://repo.waydro.id noble/main all Packages
Description: Android™ application support
 waydroid allows running a separate Android™ environment
 confined to a LXC container.

Capture-d-ecran-du-2026-04-03-09-34-03.png

Dernière modification par gilles deloustal (Le 03/04/2026, à 09:35)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#4 Le 03/04/2026, à 09:42

lann

Re : RESOLU mysql.service failed with error code

Gilles deloustal a écrit :

Or ayant installé waydroid pour des essais, j'ai supprimé le paquet avec synaptic, mais il reste des paquets. Comment les supprimer.

Comment les as-tu installés


<Modéré>

Hors ligne

#5 Le 03/04/2026, à 10:30

iznobe

Re : RESOLU mysql.service failed with error code

Or ayant installé waydroid pour des essais, j'ai supprimé le paquet avec synaptic, mais il reste des paquets. Comment les supprimer.

Bonjour , alors ce ne sont pas des paquets qui restent , mais des fichiers ou des dossiers puisque tu as deja desinstaller le paquet .

Pour peaufiner la désinstallation :

sudo find / -iname waydroid 2>/dev/null

ça te donnera les fichiers ou dossiers restant contenant " waydroid " peu importe la casse .
tu peux ensuite , si tu es vraiment certain , pour supprimer ces dossiers et fichiers :

sudo rm -r la listedu retour précédent

et pour les paquets restants inutiles installés en dépendance de waydroid( ainsi que d ' autres suite aux desinstallations précédentes ) :

sudo apt autopurge

Hors ligne

#6 Le 03/04/2026, à 12:19

gilles deloustal

Re : RESOLU mysql.service failed with error code

Mauvaise nouvelle, au bout de quelques temps, le PC est bloqué et le démarrage s'interrompt après avoir affiché plein de lignes.
Screenshot-from-2026-04-03-10-07-45.png
J'ai démarré sur une clé usb avec l'idée de déplacer les dossiers de /var/www dans ma partie home en attendant d'acheter une carte sd. Or, je ne vois ni /var/www ni /etc/sites-available dans nautilus.

ubuntu@ubuntu:/$ cd /var
ubuntu@ubuntu:/var$ ls -l
total 8
drwxr-xr-x 2 root root        3 Apr 22  2024 backups
drwxr-xr-x 1 root root      200 Apr  3 09:59 cache
drwxr-xr-x 2 root root     4096 Apr  3 09:57 crash
drwxr-xr-x 1 root root      420 Apr  3 09:58 lib
drwxrwsr-x 2 root staff       3 Apr 22  2024 local
lrwxrwxrwx 1 root root        9 Feb 15  2025 lock -> /run/lock
drwxrwxr-x 8 root syslog   4096 Apr  3 09:58 log
drwxrwsr-x 2 root mail        3 Feb 15  2025 mail
drwxrwsrwt 2 root whoopsie    3 Feb 15  2025 metrics
drwxr-xr-x 2 root root        3 Feb 15  2025 opt
lrwxrwxrwx 1 root root        4 Feb 15  2025 run -> /run
drwxr-xr-x 1 root root      140 Feb 15  2025 snap
drwxr-xr-x 1 root root       60 Feb 15  2025 spool
drwxrwxrwt 1 root root      240 Apr  3 10:12 tmp
ubuntu@ubuntu:/var$ 
ubuntu@ubuntu:/etc$ cd /etc
ubuntu@ubuntu:/etc$ ls -l
total 418
drwxr-xr-x  4 root                 root                    55 Feb 15  2025 ModemManager
drwxr-xr-x  1 root                 root                    60 Feb 15  2025 NetworkManager
drwxr-xr-x  2 root                 root                    57 Feb 15  2025 PackageKit
drwxr-xr-x  2 root                 root                    34 Feb 15  2025 UPower
drwxr-xr-x 12 root                 root                   310 Feb 15  2025 X11
-rw-r--r--  1 root                 root                  3444 Jul  5  2023 adduser.conf
drwxr-xr-x  3 root                 root                    29 Feb 15  2025 alsa
drwxr-xr-x  1 root                 root                    86 Feb 15  2025 alternatives
-rw-r--r--  1 root                 root                   335 Apr  8  2024 anacrontab
-rw-r--r--  1 root                 root                   433 Apr  8  2024 apg.conf
drwxr-xr-x  5 root                 root                    65 Feb 15  2025 apm
drwxr-xr-x  2 root                 root                    34 Feb 15  2025 apparmor
drwxr-xr-x  1 root                 root                   110 Feb 15  2025 apparmor.d
drwxr-xr-x  3 root                 root                    56 Feb 15  2025 apport
drwxr-xr-x  1 root                 root                   100 Apr  3 09:58 apt
drwxr-xr-x  3 root                 root                    69 Feb 15  2025 avahi
-rw-r--r--  1 root                 root                  2319 Mar 31  2024 bash.bashrc
-rw-r--r--  1 root                 root                    45 Jan 24  2020 bash_completion
-rw-r--r--  1 root                 root                   367 Aug  2  2022 bindresvport.blacklist
drwxr-xr-x  2 root                 root                     3 Apr 19  2024 binfmt.d
drwxr-xr-x  2 root                 root                    70 Feb 15  2025 bluetooth
-rw-r-----  1 root                 root                    33 Feb 15  2025 brlapi.key
drwxr-xr-x  7 root                 root                   105 Feb 15  2025 brltty
-rw-r--r--  1 root                 root                 30571 Mar 31  2024 brltty.conf
drwxr-xr-x  3 root                 root                    31 Feb 15  2025 ca-certificates
-rw-r--r--  1 root                 root                  6288 Feb 15  2025 ca-certificates.conf
-rw-r--r--  1 root                 root                   437 Apr  3 09:58 casper.conf
drwxr-s---  2 root                 dip                     54 Feb 15  2025 chatscripts
drwxr-xr-x  2 root                 root                    35 Feb 15  2025 cifs-utils
drwxr-xr-x  1 root                 root                    51 Feb 15  2025 cloud
drwxr-xr-x  2 colord               colord                  40 Apr  3 09:59 colord
drwxr-xr-x  1 root                 root                   160 Apr  3 09:58 console-setup
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 cracklib
drwx------  2 root                 root                     3 Apr 19  2024 credstore
drwx------  2 root                 root                     3 Apr 19  2024 credstore.encrypted
drwxr-xr-x  1 root                 root                    37 Feb 15  2025 cron.d
drwxr-xr-x  2 root                 root                   141 Feb 15  2025 cron.daily
drwxr-xr-x  2 root                 root                    35 Feb 15  2025 cron.hourly
drwxr-xr-x  2 root                 root                    51 Feb 15  2025 cron.monthly
drwxr-xr-x  2 root                 root                    65 Feb 15  2025 cron.weekly
drwxr-xr-x  2 root                 root                    35 Feb 15  2025 cron.yearly
-rw-r--r--  1 root                 root                  1136 Mar 31  2024 crontab
drwxr-xr-x  2 root                 root                    32 Feb 15  2025 cryptsetup-initramfs
-rw-r--r--  1 root                 root                    54 Feb 15  2025 crypttab
drwxr-xr-x  1 root                 lp                     120 Apr  3 10:00 cups
drwxr-xr-x  2 root                 root                    43 Feb 15  2025 cupshelpers
drwxr-xr-x  1 root                 root                    31 Feb 15  2025 dbus-1
drwxr-xr-x  4 root                 root                    40 Feb 15  2025 dconf
-rw-r--r--  1 root                 root                  2967 Apr 12  2024 debconf.conf
-rw-r--r--  1 root                 root                    11 Apr 22  2024 debian_version
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 debuginfod
drwxr-xr-x  1 root                 root                   115 Feb 15  2025 default
-rw-r--r--  1 root                 root                  1706 Jul  5  2023 deluser.conf
drwxr-xr-x  2 root                 root                    34 Feb 15  2025 depmod.d
drwxr-xr-x  3 root                 root                    44 Feb 15  2025 dhcp
-rw-r--r--  1 root                 root                  1429 Mar 31  2024 dhcpcd.conf
drwxr-xr-x  2 root                 root                    50 Feb 15  2025 dictionaries-common
drwxr-xr-x  4 root                 root                    64 Feb 15  2025 dpkg
-rw-r--r--  1 root                 root                   685 Apr  8  2024 e2scrub.conf
drwxr-xr-x  3 root                 root                    35 Feb 15  2025 emacs
-rw-r--r--  1 root                 root                   106 Feb 15  2025 environment
drwxr-xr-x  2 root                 root                    63 Feb 15  2025 environment.d
-rw-r--r--  1 root                 root                  1853 Oct 17  2022 ethertypes
drwxr-xr-x  1 root                 root                    29 Feb 15  2025 fonts
-rw-r--r--  1 root                 root                    20 Apr  4  2024 fprintd.conf
-rw-r--r--  1 root                 root                    59 Apr  3 09:57 fstab
-rw-r--r--  1 root                 root                   694 Apr  8  2024 fuse.conf
drwxr-xr-x  4 root                 root                    73 Feb 15  2025 fwupd
-rw-r--r--  1 root                 root                  2584 Jan 31  2024 gai.conf
drwxr-xr-x  3 root                 root                    47 Feb 15  2025 gdb
drwxr-xr-x  1 root                 root                    60 Apr  3 09:57 gdm3
drwxr-xr-x  3 root                 root                    49 Feb 15  2025 geoclue
drwxr-xr-x  4 root                 root                    49 Feb 15  2025 ghostscript
drwxr-xr-x  3 root                 root                    35 Feb 15  2025 glvnd
drwxr-xr-x  2 root                 root                    38 Feb 15  2025 gnome
drwxr-xr-x  2 gnome-remote-desktop gnome-remote-desktop     3 Feb 15  2025 gnome-remote-desktop
drwxr-xr-x  2 root                 root                    29 Feb 15  2025 gnutls
drwxr-xr-x  2 root                 root                    50 Feb 15  2025 groff
-rw-r--r--  1 root                 root                  1256 Apr  3 09:58 group
-rw-r--r--  1 root                 root                  1134 Apr  3 09:58 group-
drwxr-xr-x  2 root                 root                   254 Feb 15  2025 grub.d
-rw-r-----  1 root                 shadow                1076 Apr  3 09:58 gshadow
-rw-r-----  1 root                 shadow                 958 Apr  3 09:58 gshadow-
drwxr-xr-x  3 root                 root                    29 Feb 15  2025 gss
drwxr-xr-x  2 root                 root                    41 Feb 15  2025 gtk-2.0
drwxr-xr-x  2 root                 root                    61 Feb 15  2025 gtk-3.0
-rw-r--r--  1 root                 root                  4436 Oct  6  2022 hdparm.conf
-rw-r--r--  1 root                 root                    92 Apr 22  2024 host.conf
-rw-r--r--  1 root                 root                     4 Feb 15  2025 hostid
-rw-r--r--  1 root                 root                     7 Apr  3 09:57 hostname
-rw-r--r--  1 root                 root                   243 Apr  3 09:57 hosts
-rw-r--r--  1 root                 root                   411 Feb 15  2025 hosts.allow
-rw-r--r--  1 root                 root                   711 Feb 15  2025 hosts.deny
drwxr-xr-x  2 root                 root                    33 Feb 15  2025 hp
drwxr-xr-x  3 root                 root                    31 Feb 15  2025 ifplugd
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 init
drwxr-xr-x  1 root                 root                   144 Feb 15  2025 init.d
drwxr-xr-x  1 root                 root                    29 Feb 15  2025 initramfs-tools
-rw-r--r--  1 root                 root                  1875 Mar 31  2024 inputrc
drwxr-xr-x  2 root                 root                    27 Feb 15  2025 insserv.conf.d
drwxr-xr-x  2 root                 root                    35 Feb 15  2025 ipp-usb
drwxr-xr-x  4 root                 root                   206 Feb 15  2025 iproute2
-rw-r--r--  1 root                 root                    26 Feb  5  2025 issue
-rw-r--r--  1 root                 root                    19 Feb  5  2025 issue.net
drwxr-xr-x  1 root                 root                    66 Feb 15  2025 kernel
-rw-r--r--  1 root                 root                  1308 Mar 31  2024 kerneloops.conf
drwxr-xr-x  2 root                 root                     3 Feb 15  2025 keyutils
drwxr-xr-x  2 root                 root                    43 Feb 15  2025 krb5.conf.d
-rw-r--r--  1 root                 root                 63583 Apr  3 09:58 ld.so.cache
-rw-r--r--  1 root                 root                    34 Aug  2  2022 ld.so.conf
drwxr-xr-x  2 root                 root                    61 Feb 15  2025 ld.so.conf.d
drwxr-xr-x  2 root                 root                    32 Feb 15  2025 ldap
-rw-r--r--  1 root                 root                   267 Apr 22  2024 legal
-rw-r--r--  1 root                 root                    27 Apr  8  2024 libao.conf
-rw-r--r--  1 root                 root                   191 Mar 31  2024 libaudit.conf
drwxr-xr-x  3 root                 root                    24 Feb 15  2025 libblockdev
drwxr-xr-x  2 root                 root                   372 Feb 15  2025 libibverbs.d
drwxr-xr-x  2 root                 root                    44 Feb 15  2025 libnl-3
drwxr-xr-x  2 root                 root                     3 Apr  8  2024 libpaper.d
drwxr-xr-x  3 root                 root                    86 Feb 15  2025 libreoffice
-rw-r--r--  1 root                 root                  2996 Mar 30  2024 locale.alias
-rw-r--r--  1 root                 root                    13 Feb 15  2025 locale.conf
-rw-r--r--  1 root                 root                  9565 Feb 15  2025 locale.gen
lrwxrwxrwx  1 root                 root                    27 Feb 15  2025 localtime -> /usr/share/zoneinfo/Etc/UTC
drwxr-xr-x  1 root                 root                    58 Feb 15  2025 logcheck
-rw-r--r--  1 root                 root                 12345 Feb 22  2024 login.defs
-rw-r--r--  1 root                 root                   586 Apr  8  2024 logrotate.conf
drwxr-xr-x  2 root                 root                   299 Feb 15  2025 logrotate.d
-rw-r--r--  1 root                 root                   104 Feb  5  2025 lsb-release
drwxr-xr-x  3 root                 root                    67 Feb 15  2025 lvm
-r--r--r--  1 root                 root                    33 Apr  3 09:58 machine-id
-rw-r--r--  1 root                 root                   111 Mar 31  2024 magic
-rw-r--r--  1 root                 root                   111 Mar 31  2024 magic.mime
-rw-r--r--  1 root                 root                  5230 Apr  8  2024 manpath.config
drwxr-xr-x  2 root                 root                    33 Feb 15  2025 mdadm
-rw-r--r--  1 root                 root                 75113 Jul 12  2023 mime.types
-rw-r--r--  1 root                 root                   744 Apr  8  2024 mke2fs.conf
drwxr-xr-x  1 root                 root                   109 Feb 15  2025 modprobe.d
-rw-r--r--  1 root                 root                   212 Feb 15  2025 modules
drwxr-xr-x  2 root                 root                    60 Feb 15  2025 modules-load.d
lrwxrwxrwx  1 root                 root                    19 Feb 15  2025 mtab -> ../proc/self/mounts
-rw-r--r--  1 root                 root                 11424 May 23  2023 nanorc
-rw-r--r--  1 root                 root                   767 Mar 31  2024 netconfig
drwxr-xr-x  1 root                 root                    80 Apr  3 10:01 netplan
drwxr-xr-x  6 root                 root                    88 Feb 15  2025 network
drwxr-xr-x  8 root                 root                   118 Feb 15  2025 networkd-dispatcher
-rw-r--r--  1 root                 root                    91 Apr 22  2024 networks
drwxr-xr-x  2 root                 root                    76 Feb 15  2025 newt
-rwxr-xr-x  1 root                 root                   243 Oct 19  2023 nftables.conf
-rw-r--r--  1 root                 root                   594 Feb 15  2025 nsswitch.conf
drwxr-xr-x  4 root                 root                    69 Feb 15  2025 openvpn
drwxr-xr-x  2 root                 root                     3 Feb 15  2025 opt
lrwxrwxrwx  1 root                 root                    21 Feb  5  2025 os-release -> ../usr/lib/os-release
-rw-r--r--  1 root                 root                   552 Oct 13  2022 pam.conf
drwxr-xr-x  1 root                 root                    60 Apr  3 09:58 pam.d
-rw-r--r--  1 root                 root                     3 Feb 15  2025 papersize
-rw-r--r--  1 root                 root                  2948 Apr  3 09:58 passwd
-rw-r--r--  1 root                 root                  2878 Apr  3 09:57 passwd-
drwxr-xr-x  2 root                 root                    34 Feb 15  2025 pcmcia
drwxr-xr-x  3 root                 root                    26 Feb 15  2025 perl
drwxr-xr-x  4 root                 root                    50 Feb 15  2025 pki
drwxr-xr-x  2 root                 root                     3 Mar 31  2024 plymouth
drwxr-xr-x  3 root                 root                    30 Feb 15  2025 pm
-rw-r--r--  1 root                 root                  7649 Feb 15  2025 pnm2ppa.conf
drwxr-xr-x  4 root                 root                    59 Feb 15  2025 polkit-1
drwxr-xr-x  8 root                 dip                    266 Feb 15  2025 ppp
-rw-r--r--  1 root                 root                   582 Apr 22  2024 profile
drwxr-xr-x  2 root                 root                   355 Feb 15  2025 profile.d
-rw-r--r--  1 root                 root                  3144 Oct 17  2022 protocols
drwxr-xr-x  3 root                 root                    55 Feb 15  2025 pulse
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 python3
drwxr-xr-x  2 root                 root                    39 Feb 15  2025 python3.12
drwxr-xr-x  1 root                 root                   165 Feb 15  2025 rc0.d
drwxr-xr-x  1 root                 root                   117 Feb 15  2025 rc1.d
drwxr-xr-x  1 root                 root                    76 Feb 15  2025 rc2.d
drwxr-xr-x  1 root                 root                    76 Feb 15  2025 rc3.d
drwxr-xr-x  1 root                 root                    76 Feb 15  2025 rc4.d
drwxr-xr-x  1 root                 root                    76 Feb 15  2025 rc5.d
drwxr-xr-x  1 root                 root                   165 Feb 15  2025 rc6.d
drwxr-xr-x  1 root                 root                   104 Feb 15  2025 rcS.d
-rw-r--r--  1 root                 root                  1787 Feb 15  2025 request-key.conf
drwxr-xr-x  2 root                 root                    62 Feb 15  2025 request-key.d
lrwxrwxrwx  1 root                 root                    39 Feb 15  2025 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
lrwxrwxrwx  1 root                 root                    13 Apr  8  2024 rmt -> /usr/sbin/rmt
-rw-r--r--  1 root                 root                   911 Oct 17  2022 rpc
-rw-r--r--  1 root                 root                  1213 Mar 22  2024 rsyslog.conf
drwxr-xr-x  2 root                 root                    82 Feb 15  2025 rsyslog.d
-rw-r--r--  1 root                 root                  5772 Jan  6  2024 rygel.conf
drwxr-xr-x  3 root                 root                  1610 Feb 15  2025 sane.d
drwxr-xr-x  4 root                 root                   311 Feb 15  2025 security
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 selinux
drwxr-xr-x  2 root                 root                    35 Feb 15  2025 sensors.d
-rw-r--r--  1 root                 root                 10593 Mar 31  2024 sensors3.conf
-rw-r--r--  1 root                 root                 12813 Mar 27  2021 services
drwxr-xr-x  3 root                 root                   125 Feb 15  2025 sgml
-rw-r-----  1 root                 shadow                1336 Apr  3 10:00 shadow
-rw-r-----  1 root                 shadow                1233 Apr  3 09:57 shadow-
-rw-r--r--  1 root                 root                   118 Feb 15  2025 shells
drwxr-xr-x  2 root                 root                    66 Feb 15  2025 skel
drwxr-xr-x  2 root                 root                    32 Feb 15  2025 snmp
drwxr-xr-x  4 root                 root                    65 Feb 15  2025 speech-dispatcher
drwxr-xr-x  1 root                 root                   180 Apr  3 09:58 ssh
drwxr-xr-x  1 root                 root                    80 Feb 15  2025 ssl
drwx--x--x  3 root                 root                    29 Feb 15  2025 sssd
-rw-r--r--  1 root                 root                    43 Apr  3 09:58 subgid
-rw-r--r--  1 root                 root                    20 Apr  3 09:57 subgid-
drwxr-xr-x  2 root                 root                    42 Feb 15  2025 subiquity
-rw-r--r--  1 root                 root                    43 Apr  3 09:58 subuid
-rw-r--r--  1 root                 root                    20 Apr  3 09:57 subuid-
-rw-r--r--  1 root                 root                  4343 Apr  8  2024 sudo.conf
-rw-r--r--  1 root                 root                  9804 Apr  8  2024 sudo_logsrvd.conf
-r--r-----  1 root                 root                  1800 Jan 29  2024 sudoers
drwxr-x---  1 root                 root                    80 Apr  3 09:58 sudoers.d
drwxr-xr-x  2 root                 root                    63 Feb 15  2025 supercat
-rw-r--r--  1 root                 root                  2209 Mar 24  2024 sysctl.conf
drwxr-xr-x  2 root                 root                   307 Feb 15  2025 sysctl.d
drwxr-xr-x  2 root                 root                    52 Feb 15  2025 sysstat
drwxr-xr-x  1 root                 root                    80 Feb 15  2025 systemd
drwxr-xr-x  2 root                 root                    29 Feb 15  2025 terminfo
drwxr-xr-x  2 root                 root                    49 Feb 15  2025 thermald
-rw-r--r--  1 root                 root                     8 Feb 15  2025 timezone
drwxr-xr-x  2 root                 root                     3 Apr 19  2024 tmpfiles.d
drwxr-xr-x  2 root                 root                    36 Feb 15  2025 ubuntu-advantage
-rw-r--r--  1 root                 root                  1260 Jan 27  2023 ucf.conf
drwxr-xr-x  1 root                 root                    60 Feb 15  2025 udev
drwxr-xr-x  2 root                 root                    69 Feb 15  2025 udisks2
drwxr-xr-x  3 root                 root                   226 Feb 15  2025 ufw
drwxr-xr-x  3 root                 root                    85 Feb 15  2025 update-manager
drwxr-xr-x  2 root                 root                   274 Feb 15  2025 update-motd.d
drwxr-xr-x  2 root                 root                     3 Apr  8  2024 update-notifier
-rw-r--r--  1 root                 root                  1523 Apr  8  2024 usb_modeswitch.conf
drwxr-xr-x  2 root                 root                     3 Dec 16  2023 usb_modeswitch.d
lrwxrwxrwx  1 root                 root                    16 Feb 15  2025 vconsole.conf -> default/keyboard
drwxr-xr-x  2 root                 root                    46 Feb 15  2025 vim
lrwxrwxrwx  1 root                 root                    23 Feb 26  2024 vtrgb -> /etc/alternatives/vtrgb
drwxr-xr-x  5 root                 root                    76 Feb 15  2025 vulkan
-rw-r--r--  1 root                 root                  4942 Jun 19  2024 wgetrc
drwxr-xr-x  2 root                 root                    75 Feb 15  2025 wpa_supplicant
-rw-r--r--  1 root                 root                   681 Apr  8  2024 xattr.conf
drwxr-xr-x  1 root                 root                    60 Feb 15  2025 xdg
drwxr-xr-x  2 root                 root                   231 Feb 15  2025 xml
drwxr-xr-x  4 root                 root                    64 Feb 15  2025 zfs
-rw-r--r--  1 root                 root                   460 Jan 20  2023 zsh_command_not_found
ubuntu@ubuntu:/etc$ 

Screenshot-from-2026-04-03-10-24-30.png

Dernière modification par gilles deloustal (Le 03/04/2026, à 12:26)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#7 Le 03/04/2026, à 13:12

iznobe

Re : RESOLU mysql.service failed with error code

heu , je saispas trop ce que tu tentes de faire , mais , si tu démarres sur une clé USB , puis que tu fais :

ls -l /var/www/html

tu ne peux pas lister le contenu du dossier de ton disque dur . Forcément , tu obtiendras le listing du dossier en question de la clé USB . donc vide ...

Il faut commencer par monter la partition de ton systeme du disque dur si c ' est là dedans que tu veux aller voir .
Pour cela , il faut donner le retour de :

lsblk -fe7

Dernière modification par iznobe (Le 03/04/2026, à 13:13)

Hors ligne

#8 Le 03/04/2026, à 13:13

lann

Re : RESOLU mysql.service failed with error code

Gilles deloustal a écrit :

J'ai démarré sur une clé usb

C'est peut être ta clé USB que tu es en train de regarder.
As-tu monter les partitions de tes disques ?


<Modéré>

Hors ligne

#9 Le 03/04/2026, à 16:25

gilles deloustal

Re : RESOLU mysql.service failed with error code

En effet.
J'ai monté mes partitions home et ubuntu et supprimé tous les dossiers de /var/www après les avoir copié sur un dossier de mon home. Voilà ce que j'obtiens lors du boot. Dois-je ré-installer ubuntu ?
https://i.postimg.cc/ncN2q3q7/IMG-20260403-155323.jpg
https://i.postimg.cc/QMG6Zftd/Screenshot-from-2026-04-03-14-24-28.png


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images.

Dernière modification par cqfd93 (Le 03/04/2026, à 19:39)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#10 Le 03/04/2026, à 17:28

iznobe

Re : RESOLU mysql.service failed with error code

J'ai monté mes partitions home et ubuntu et supprimé tous les dossiers de /var/www après les avoir copié sur un dossier de mon home. Voilà ce que j'obtiens lors du boot.

Quel qu ' un a demandé de faire ça ?

On ne voit que du vert sur l' image , rien ne semble montrer que ça ne démarre plus ...

Hors ligne

#11 Le 03/04/2026, à 17:42

gilles deloustal

Re : RESOLU mysql.service failed with error code

Le démarrage reste bloqué sur la photo que j'ai déposée. Plus rien ne bouge
https://i.postimg.cc/MG1Zx0kd/IMG-20260403-155257.jpg

Dernière modification par cqfd93 (Le 03/04/2026, à 19:39)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#12 Le 03/04/2026, à 17:44

iznobe

Re : RESOLU mysql.service failed with error code

démarre sur la clé USB .
Ouvre un terminal.

Il faut commencer par monter la partition de ton systeme du disque dur si c ' est là dedans que tu veux aller voir .
Pour cela , il faut donner le retour de :

lsblk -fe7

Hors ligne

#13 Le 03/04/2026, à 18:10

gilles deloustal

Re : RESOLU mysql.service failed with error code

Ce que je voudrais, c'est re-démarrer mon ordinateur et remettre mes sites en fonction.

                                                                                       
ubuntu@ubuntu:/media$ lsblk -fe7
NAME   FSTYPE  FSVER     LABEL                    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                   
├─sda1 vfat    FAT32                              C2C8-95F4                                           
├─sda2 ext4    1.0                                bd8b0152-4b20-4d1b-8fac-61328dcd8c7b                
├─sda4 ext4    1.0                                6c059513-6e6d-49e3-9249-4d77c2f6677e   10.4G    80% /media/ubuntu/6c059513-6e6d-49e3-9249-4d77c2f6677e
└─sda5 ext4    1.0                                6663f3e4-4da5-482c-bb6d-75ef56337e35   24.5G    89% /media/ubuntu/6663f3e4-4da5-482c-bb6d-75ef56337e35
sdb    iso9660 Joliet Ex Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                              
├─sdb1 iso9660 Joliet Ex Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                     0   100% /cdrom
├─sdb2 vfat    FAT12     ESP                      B5A5-8010                                           
├─sdb3                                                                                                
└─sdb4 ext4    1.0       writable                 6d396c78-3aab-4955-8245-ed0be9ba9a3a    1.1G     7% /var/crash
                                                                                                      /var/log
sdc                                                                                                   
└─sdc1 vfat    FAT32     HERMES                   C417-5567                              12.6G    13% /media/ubuntu/HERMES
sr0                                                                                                   
ubuntu@ubuntu:/media$ 

Le disque sdc est une clé sur laquelle je copie mes sites pour les récupérer en cas de souci plus grave encore

Dernière modification par gilles deloustal (Le 03/04/2026, à 18:14)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#14 Le 03/04/2026, à 18:20

iznobe

Re : RESOLU mysql.service failed with error code

quelle est ta partition systeme ?
sda 2 4 ou 5 ?

Hors ligne

#15 Le 03/04/2026, à 18:23

gilles deloustal

Re : RESOLU mysql.service failed with error code

mon système est sur sda4, le home sur sda5


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#16 Le 03/04/2026, à 18:29

iznobe

Re : RESOLU mysql.service failed with error code

sudo add-apt-repository universe -y && sudo apt update && sudo apt install arch-install-scripts -y
sudo mount -v /dev/sda4 /mnt && sudo arch-chroot /mnt

Hors ligne

#17 Le 03/04/2026, à 18:33

gilles deloustal

Re : RESOLU mysql.service failed with error code

sudo add-apt-repository universe -y && sudo apt update && sudo apt install arch-install-scripts -y
Adding component(s) 'universe' to all repositories.
Added universe to: deb cdrom:[Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215)]/ noble restricted main universe
Ign:1 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble Release
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1576 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [601 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1875 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [398 kB]     
Get:12 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [252 kB]      
Get:13 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]           
Get:14 http://security.ubuntu.com/ubuntu noble-security/main Icons (48x48) [13.4 kB]                       
Get:15 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64) [20.0 kB]                       
Get:16 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [10.7 kB]           
Get:17 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [788 kB]               
Get:18 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1167 kB]             
Get:19 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [342 kB]            
Get:20 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [177 kB]          
Get:21 http://archive.ubuntu.com/ubuntu noble-updates/main Icons (48x48) [36.0 kB]                                             
Get:22 http://archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64) [51.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [16.9 kB]
Get:24 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1663 kB]   
Get:25 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [225 kB]  
Get:26 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.2 kB]                
Get:27 http://security.ubuntu.com/ubuntu noble-security/universe Icons (48x48) [49.8 kB]
Get:28 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64) [78.3 kB]                 
Get:29 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [22.8 kB]        
Get:30 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [25.3 kB]             
Get:31 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2757 kB]       
Get:32 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [1115 kB]                                         
Get:33 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [322 kB]                                         
Get:34 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB]                                       
Get:35 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (48x48) [236 kB]                                          
Get:36 http://archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64) [373 kB]                                          
Get:37 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [34.2 kB]                                  
Get:38 http://archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [27.7 kB]                                       
Get:39 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2894 kB]                                      
Get:40 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [642 kB]                                     
Get:41 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]                                    
Get:42 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [544 B]                                
Get:43 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [28.8 kB]                                    
Get:44 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [6648 B]                                      
Get:45 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [6980 B]                                     
Get:46 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]                                    
Get:47 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [396 B]                                
Get:48 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [671 kB]                                       
Get:49 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]                                      
Get:50 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [556 B]                                  
Get:51 http://archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [8180 B]                                        
Get:52 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [32.1 kB]                                      
Get:53 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [7520 B]                                       
Get:54 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]                                      
Get:55 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [500 B]                                  
Get:56 http://archive.ubuntu.com/ubuntu noble-backports/main i386 Packages [33.0 kB]                                           
Get:57 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [40.4 kB]                                          
Get:58 http://archive.ubuntu.com/ubuntu noble-backports/main Translation-en [9208 B]                                           
Get:59 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7368 B]                                         
Get:60 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (48x48) [9537 B]                                            
Get:61 http://archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64) [11.3 kB]                                           
Get:62 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [368 B]                                      
Get:63 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [30.7 kB]                                      
Get:64 http://archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [16.6 kB]                                       
Get:65 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [18.2 kB]                                      
Get:66 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [13.1 kB]                                    
Get:67 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (48x48) [23.3 kB]                                       
Get:68 http://archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64) [32.3 kB]                                       
Get:69 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1480 B]                                 
Get:70 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]                                    
Get:71 http://archive.ubuntu.com/ubuntu noble-backports/multiverse i386 Packages [780 B]                                       
Get:72 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [780 B]                                      
Get:73 http://archive.ubuntu.com/ubuntu noble-backports/multiverse Translation-en [372 B]                                      
Get:74 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]                                    
Fetched 19.7 MB in 13s (1506 kB/s)                                                                                             
Reading package lists... Done
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64@2.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
Ign:1 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble Release
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
590 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64@2.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  pacman-package-manager
The following NEW packages will be installed:
  arch-install-scripts
0 upgraded, 1 newly installed, 0 to remove and 590 not upgraded.
Need to get 16.4 kB of archives.
After this operation, 76.8 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 arch-install-scripts all 28-1 [16.4 kB]
Fetched 16.4 kB in 0s (78.5 kB/s)              
Selecting previously unselected package arch-install-scripts.
(Reading database ... 212032 files and directories currently installed.)
Preparing to unpack .../arch-install-scripts_28-1_all.deb ...
Unpacking arch-install-scripts (28-1) ...
Setting up arch-install-scripts (28-1) ...
Processing triggers for man-db (2.12.0-4build2) ...

et qu'est-ce que je fais maintenant ?

sudo mount -v /dev/sda4 /mnt && sudo arch-chroot /mnt
mount: /dev/sda4 mounted on /mnt.
root@ubuntu:/# 

Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#18 Le 03/04/2026, à 18:34

iznobe

Re : RESOLU mysql.service failed with error code

Maintenant , on est en chroot , c ' est a dire qu ' au travers de la clé , on accede désormais au systeme du disque dur .
On peut pontiellement donc réparer ton système .

Montre

df -Th
apt update

Dernière modification par iznobe (Le 03/04/2026, à 18:37)

Hors ligne

#19 Le 03/04/2026, à 18:39

gilles deloustal

Re : RESOLU mysql.service failed with error code

df -Th
Filesystem                  Type      Size  Used Avail Use% Mounted on
tmpfs                       tmpfs     383M  9.6M  374M   3% /run
efivarfs                    efivarfs   56K   16K   36K  30% /sys/firmware/efi/efivars
/dev/sdb1                   iso9660   6.0G  6.0G     0 100% /cdrom
/cow                        overlay   1.9G  1.3G  684M  65% /
/dev/disk/by-label/writable ext4      1.3G   86M  1.1G   8% /var/log
tmpfs                       tmpfs     1.9G  8.0K  1.9G   1% /dev/shm
tmpfs                       tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs                       tmpfs     1.9G     0  1.9G   0% /tmp
tmpfs                       tmpfs     383M  176K  383M   1% /run/user/1000
/dev/sda4                   ext4       70G   56G   11G  85% /mnt
/dev/sda5                   ext4      383G  339G   25G  94% /media/ubuntu/6663f3e4-4da5-482c-bb6d-75ef56337e35
/dev/sdc1                   vfat       15G  3.4G   12G  24% /media/ubuntu/HERMES
shm                         tmpfs     1.9G     0  1.9G   0% /mnt/dev/shm
run                         tmpfs     1.9G     0  1.9G   0% /mnt/run
tmp                         tmpfs     1.9G     0  1.9G   0% /mnt/tmp
ubuntu@ubuntu:~$ 
 sudo apt update
Ign:1 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble Release
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
590 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64@2.tar' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'cdrom://Ubuntu 24.04.2 LTS _Noble Numbat_ - Release amd64 (20250215) noble InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)

Dernière modification par gilles deloustal (Le 03/04/2026, à 18:44)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#20 Le 03/04/2026, à 18:43

iznobe

Re : RESOLU mysql.service failed with error code

Pourquoi as tu quitté le chroot ???

Hors ligne

#21 Le 03/04/2026, à 18:44

gilles deloustal

Re : RESOLU mysql.service failed with error code

je l'ai pas quitté. J'ai une fenêtre terminal en attente


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#22 Le 03/04/2026, à 19:01

iznobe

Re : RESOLU mysql.service failed with error code

Montre

df -Th
apt update

Dans le chroot pardine ...

Hors ligne

#23 Le 03/04/2026, à 19:10

gilles deloustal

Re : RESOLU mysql.service failed with error code

J'aurais dû y penser

root@ubuntu:/# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda4      ext4       70G   56G   11G  85% /
efivarfs       efivarfs   56K   16K   36K  30% /sys/firmware/efi/efivars
shm            tmpfs     1.9G     0  1.9G   0% /dev/shm
run            tmpfs     1.9G     0  1.9G   0% /run
tmp            tmpfs     1.9G     0  1.9G   0% /tmp
tmpfs          tmpfs     383M  9.6M  374M   3% /run/systemd/resolve/stub-resolv.conf
root@ubuntu:/# 
root@ubuntu:/# apt update
Hit:1 http://download.virtualbox.org/virtualbox/debian noble InRelease
Hit:2 https://repo.waydro.id noble InRelease                                                                                   
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease                                                                         
Hit:4 https://linux.teamviewer.com/deb stable InRelease                                                                   
Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1875 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.2 kB]
Get:12 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]                 
Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [177 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [16.9 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1663 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [34.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:20 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7368 B]
Get:21 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:22 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [13.1 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Fetched 4650 kB in 4s (1244 kB/s)                                     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
52 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ubuntu:/# 
root@ubuntu:/# apt list --upgradable
Listing... Done
fwupd/noble-updates 1.9.34-0ubuntu1~24.04.1 amd64 [upgradable from: 1.9.33-0ubuntu1~24.04.1ubuntu1]
libapache2-mod-php8.3/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
libarchive13t64/noble-updates,noble-security 3.7.2-2ubuntu0.6 amd64 [upgradable from: 3.7.2-2ubuntu0.5]
libfwupd2/noble-updates 1.9.34-0ubuntu1~24.04.1 amd64 [upgradable from: 1.9.33-0ubuntu1~24.04.1ubuntu1]
libipa-hbac0t64/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
libnetplan1/noble-updates 1.1.2-8ubuntu1~24.04.2 amd64 [upgradable from: 1.1.2-8ubuntu1~24.04.1]
libnss-sss/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
libpam-sss/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
libsss-certmap0/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
libsss-idmap0/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
libsss-nss-idmap0/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
linux-generic-hwe-24.04/noble-updates,noble-security 6.17.0-20.20~24.04.1 amd64 [upgradable from: 6.17.0-19.19~24.04.2]
linux-headers-generic-hwe-24.04/noble-updates,noble-security 6.17.0-20.20~24.04.1 amd64 [upgradable from: 6.17.0-19.19~24.04.2]
linux-image-generic-hwe-24.04/noble-updates,noble-security 6.17.0-20.20~24.04.1 amd64 [upgradable from: 6.17.0-19.19~24.04.2]
linux-libc-dev/noble-updates,noble-security 6.8.0-107.107 amd64 [upgradable from: 6.8.0-106.106]
linux-tools-common/noble-updates,noble-security 6.8.0-107.107 all [upgradable from: 6.8.0-106.106]
lshw/noble-updates 02.19.git.2021.06.19.996aaad9c7-2ubuntu0.24.04.1 amd64 [upgradable from: 02.19.git.2021.06.19.996aaad9c7-2build3]
netplan-generator/noble-updates 1.1.2-8ubuntu1~24.04.2 amd64 [upgradable from: 1.1.2-8ubuntu1~24.04.1]
netplan.io/noble-updates 1.1.2-8ubuntu1~24.04.2 amd64 [upgradable from: 1.1.2-8ubuntu1~24.04.1]
php8.3-bz2/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-cli/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-common/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-curl/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-gd/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-intl/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-mbstring/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-mysql/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-opcache/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-readline/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-xml/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3-zip/noble-updates 8.3.6-0ubuntu0.24.04.8 amd64 [upgradable from: 8.3.6-0ubuntu0.24.04.7]
php8.3/noble-updates 8.3.6-0ubuntu0.24.04.8 all [upgradable from: 8.3.6-0ubuntu0.24.04.7]
python3-netplan/noble-updates 1.1.2-8ubuntu1~24.04.2 amd64 [upgradable from: 1.1.2-8ubuntu1~24.04.1]
python3-sss/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
qemu-block-extra/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-common/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-data/noble-updates 1:8.2.2+ds-0ubuntu1.14 all [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-gui/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-modules-opengl/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-modules-spice/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-system-x86/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
qemu-utils/noble-updates 1:8.2.2+ds-0ubuntu1.14 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.13]
sssd-ad-common/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-ad/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-common/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-ipa/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-krb5-common/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-krb5/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-ldap/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd-proxy/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
sssd/noble-updates 2.9.4-1.1ubuntu6.4 amd64 [upgradable from: 2.9.4-1.1ubuntu6.3]
teamviewer/stable 15.76.5 amd64 [upgradable from: 15.75.4]
root@ubuntu:/# 

Dernière modification par gilles deloustal (Le 03/04/2026, à 19:12)


Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD

Hors ligne

#24 Le 03/04/2026, à 19:12

iznobe

Re : RESOLU mysql.service failed with error code

ok , fais les MAJ deja meme si je pense que ça ne solutionnera rien :

apt full-upgrade -y

Ton home n ' est pas monté dans le chroot par contre .

Dernière modification par iznobe (Le 03/04/2026, à 19:14)

Hors ligne

#25 Le 03/04/2026, à 19:18

iznobe

Re : RESOLU mysql.service failed with error code

J'ai monté mes partitions home et ubuntu et supprimé tous les dossiers de /var/www après les avoir copié sur un dossier de mon home.

Avant que tu déplaces les fichiers , ca démarrait normalement ?

Hors ligne