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 31/08/2023, à 13:16

Gaofr

Problème au démarrage : Failed to start snapd.service

Bonjour à tous !

J’ai un problème au moment du démarrage sur Ubuntu 23.04. Au démarrage je reste bloqué sur l’écran logo avec le petit cercle qui tourne. Si j’appuie sur ESC je vois que ce qui bloque c’est une erreur qui se répète en boucle (voir ci-dessous). Pourtant tout allait bien jusqu’à présent. Ça m’était déjà arrivé et j’avais réinstallé le système après des recherches infructueuses pour trouver une solution à mon problème sur les forums. Mais comme ça recommence je me dis qu’il faut que je vous demande conseil…

Voilà le bloc qui apparaît en boucle :

[ Ok. ] Stopped snapd.service - Snap Daemon.
Starting snapd.service - Snap Damon...
[64.020137] ata1.00: exception Emask 0x0 SAct 9x80099062 SErr 0x40000 action 0x0
[64.621627] ata1.90: irq_stat 0x40000008
[64.023106] ata1: SError: { Commwake }
[64.024795] ata1.00: failed command: READ FPDMA QUEUED
[64.026254] ata1.00: cmd 60/08:08:00:13:C8/00:00:08:00:00/40 tag 1 ncq dma 40% in
[64.026254] res 41/49:08:00:13:C8/00:00:08:00:00/40 Emask 0x409 (media error) <F>
[64.029267] ata1.00: status: { DRDY ERR }
[64.080920] ata1.00: error: { UNC }
[64.411925] I/O error, dev sda, sector 147829792 op 0x0: (READ) flags 6x0 physaseg 1 prio class 2
[FAILED] Failed to start snapd.service - Snap Daemon.
See 'systemcti status snapd service' for details.

Hors ligne

#2 Le 31/08/2023, à 13:27

FrancisFDZ

Re : Problème au démarrage : Failed to start snapd.service

Bonjour,
Peux-tu démarrer en live usb ?

Dernière modification par FrancisFDZ (Le 31/08/2023, à 13:31)


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#3 Le 31/08/2023, à 13:28

geole

Re : Problème au démarrage : Failed to start snapd.service

Bonjour
I/O error, dev sda, sector 147829792
Il faut changer de disque big_smile
Plus sérieusement,  installe l'application smartmontools et donne l'état du disque ( Chapitre trois)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#4 Le 31/08/2023, à 13:29

xubu1957

Re : Problème au démarrage : Failed to start snapd.service

Bonjour,

Nous avions vu passer [Résolu] Failed to start Snap Daemon

Tente :

snap-store --quit
snap refresh

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 31/08/2023, à 13:44

Gaofr

Re : Problème au démarrage : Failed to start snapd.service

FrancisFDZ a écrit :

Bonjour,
Peux-tu démarrer en live usb ?

Oui !

geole a écrit :

Bonjour
I/O error, dev sda, sector 147829792
Il faut changer de disque big_smile
Plus sérieusement,  installe l'application smartmontools et donne l'état du disque ( Chapitre trois)

Question bête mais… J’installe l’application dans une session Live USB ou en Recovery mode ?

Hors ligne

#6 Le 31/08/2023, à 13:49

geole

Re : Problème au démarrage : Failed to start snapd.service

Si ton ordinateur ne sais pas booter,  il faut le live USB
Si tu réussis à booter et a utiliser le réseau, tu peux le faire depuis  le ubuntu installé


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#7 Le 31/08/2023, à 15:44

Gaofr

Re : Problème au démarrage : Failed to start snapd.service

geole a écrit :

Bonjour
I/O error, dev sda, sector 147829792
Il faut changer de disque big_smile
Plus sérieusement,  installe l'application smartmontools et donne l'état du disque ( Chapitre trois)

Voici le résultat. Lancé sur un terminal depuis une session live USB :

ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.2.0-20-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, [url=http://www.smartmontools.org]www.smartmontools.org[/url]

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MQ01ABD...
Device Model:     TOSHIBA MQ01ABD100
Serial Number:    35JNT1Q9T
LU WWN Device Id: 5 000039 621b0659d
Firmware Version: AX0R2J
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database 7.3/5319
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Aug 31 13:42:57 2023 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  120) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 237) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1660
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       7857
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   061   061   000    Old_age   Always       -       15941
 10 Spin_Retry_Count        0x0033   253   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       7497
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       224
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       163
193 Load_Cycle_Count        0x0032   094   094   000    Old_age   Always       -       61223
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       27 (Min/Max 14/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       8712
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   064   064   000    Old_age   Always       -       14402
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       265
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 7654 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 7654 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 a8 00 13 c8 40  Error: WP at LBA = 0x00c81300 = 13112064

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 08 00 c8 29 86 40 00      00:01:03.375  WRITE FPDMA QUEUED
  61 30 f0 e8 f4 01 40 00      00:01:03.375  WRITE FPDMA QUEUED
  61 10 e8 d0 f4 01 40 00      00:01:03.375  WRITE FPDMA QUEUED
  61 50 e0 78 f4 01 40 00      00:01:03.375  WRITE FPDMA QUEUED
  61 58 d8 18 f4 01 40 00      00:01:03.375  WRITE FPDMA QUEUED

Error 7653 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 90 00 13 c8 40  Error: UNC at LBA = 0x00c81300 = 13112064

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 e0 98 a0 7d 4a 40 00      00:00:58.709  READ FPDMA QUEUED
  60 08 90 00 13 c8 40 00      00:00:58.709  READ FPDMA QUEUED
  60 38 88 60 b4 d1 40 00      00:00:58.709  READ FPDMA QUEUED
  60 00 80 e8 e7 ce 40 00      00:00:58.709  READ FPDMA QUEUED
  60 00 78 30 46 95 40 00      00:00:58.709  READ FPDMA QUEUED

Error 7652 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 28 00 13 c8 40  Error: WP at LBA = 0x00c81300 = 13112064

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 08 88 b0 e6 01 40 00      00:00:54.002  WRITE FPDMA QUEUED
  61 08 78 98 e6 01 40 00      00:00:54.002  WRITE FPDMA QUEUED
  61 18 70 78 e6 01 40 00      00:00:54.002  WRITE FPDMA QUEUED
  61 08 68 68 e6 01 40 00      00:00:54.002  WRITE FPDMA QUEUED
  61 08 60 50 e6 01 40 00      00:00:54.002  WRITE FPDMA QUEUED

Error 7651 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 98 00 13 c8 40  Error: UNC at LBA = 0x00c81300 = 13112064

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 20 e8 70 4b 16 40 00      00:00:49.187  READ FPDMA QUEUED
  60 58 e0 38 bb b2 40 00      00:00:49.187  READ FPDMA QUEUED
  60 00 d8 f8 eb 87 40 00      00:00:49.187  READ FPDMA QUEUED
  60 08 d0 28 19 81 40 00      00:00:49.187  READ FPDMA QUEUED
  60 00 c8 48 0e cf 40 00      00:00:49.187  READ FPDMA QUEUED

Error 7650 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 b0 00 13 c8 40  Error: UNC at LBA = 0x00c81300 = 13112064

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 10 d8 e8 ef 94 40 00      00:00:44.672  READ FPDMA QUEUED
  60 08 b0 00 13 c8 40 00      00:00:44.424  READ FPDMA QUEUED
  60 08 a8 00 13 01 40 00      00:00:44.424  READ FPDMA QUEUED
  60 08 a0 88 14 01 40 00      00:00:44.424  READ FPDMA QUEUED
  60 18 98 40 7a 8e 40 00      00:00:44.424  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Hors ligne

#8 Le 31/08/2023, à 16:01

Gaofr

Re : Problème au démarrage : Failed to start snapd.service

xubu1957 a écrit :

Bonjour,

Nous avions vu passer [Résolu] Failed to start Snap Daemon

Tente :

snap-store --quit
snap refresh

Même question bête que avant : je fais cette commande où et quand ? Je l’ai faite en Live USB et ça a eu l’air de faire un truc sur le périphérique USB (sdb) mais pas sur mon disque sda…

(Je ne suis plus très doué en informatique)

Hors ligne

#9 Le 31/08/2023, à 16:19

geole

Re : Problème au démarrage : Failed to start snapd.service

ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA MQ01ABD100
Serial Number:    35JNT1Q9T
Sector Sizes:     512 bytes logical, 4096 bytes physical
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   061   061   000    Old_age   Always       -       15941
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       8712

Error 7654 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours) Error: WP at LBA = 13112064
Error 7653 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours) UNC at LBA = 13112064
Error 7652 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours) Error: WP at LBA = 13112064
Error 7651 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours) UNC at LBA = 13112064
Error 7650 occurred at disk power-on lifetime: 15941 hours (664 days + 5 hours)  Error: UNC at LBA = 13112064

8712 secteurs  illisibles en 7654 tentatives de lectures.  Seules les cinq dernières sont reportées et  aucune n'a été corrigée.
On voit que les secteurs sont  déclarés illisibles (UNC) et la correction est déclarée Ecriture protégée (WP).
Si tu ne souhaites passer ton temps à réinstaller, change le disque.

Dernière modification par geole (Le 31/08/2023, à 16:23)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne