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 01/06/2016, à 14:18

Arnold59

[Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Bonjour,

Depuis quelques temps je n'arrives plus à exécuter GsmartControl  ( via sudo

Mode commande : démarrage du processus :
sudo /etc/init.d/smartmontools start
[ ok ] Starting smartmontools (via systemctl): smartmontools.service.

--> Vérification du status : sudo /etc/init.d/smartmontools status

● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
   Loaded: loaded (/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
   Active: active (running) since mer. 2016-06-01 10:32:42 CEST; 3h 37min ago
     Docs: man:smartd(8)
           man:smartd.conf(5)
 Main PID: 698 (smartd)
   CGroup: /system.slice/smartd.service
           └─698 /usr/sbin/smartd -n

juin 01 14:02:51 utilisateur systemd[1]: Started Self Monitoring and Reporting Technology (SMART) Daemon.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Le système indique le temps de session ...

Il m'est impossible de démarrer GsmartControl

gsmartcontrol
Erreur de segmentation (core dumped)

Comment résoudre le problème ?

D'avance merci

Hors ligne

#2 Le 02/06/2016, à 19:27

nam1962

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Donne le retour de

sudo apt update

[ Modéré ]

Hors ligne

#3 Le 02/06/2016, à 22:35

Arnold59

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Bonjour,

Concernant le fichier de configuration /etc/apt/source.list voici le contenu :

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# Installation depuis DVD Ubuntu 15.05 - Vivid Vervet --> Migration vers 16.04 Xenial
# deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release i386 (20150422)]/ vivid main restricted

# Dépots Main (libres) et Restricted (non-libres) maintenues par les développeurs d'Ubuntu
deb http://archive.ubuntu.com/ubuntu xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

# Dépots Universe et Multiverse, maintenues par les MOTU
deb http://archive.ubuntu.com/ubuntu xenial universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ xenial universe multiverse

# Dépôt pour les mises à jour
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse

# Dépots lié à sécurité
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse

# backports ou rétro-portage
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

# Dépôt partenaire ou Dépôt commercial
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

# Proposed
# deb http://archive.ubuntu.com/ubuntu vivid-proposed main restricted universe multiverse

# Autres logiciels
##Opera Browser (Final release
deb http://deb.opera.com/opera stable non-free

## Google earth
#deb http://dl.google.com/linux/earth/deb stable main # désactivé car Fin de support Google pour i386

Documentation sources.list ubuntu : https://doc.ubuntu-fr.org/sources.list


Voici le déroulement de apt-get update :

Atteint:1 http://archive.canonical.com/ubuntu xenial InRelease
Atteint:2 http://archive.ubuntu.com/ubuntu xenial InRelease                                                                          
Atteint:3 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                                                                       
Atteint:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                               
Réception de:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]                                                 
Atteint:6 http://deb.opera.com/opera stable InRelease                                                                                
Ign:7 http://dl.google.com/linux/earth/deb stable InRelease                                                                          
Atteint:8 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                             
Atteint:10 http://archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                 
Réception de:9 http://dl.google.com/linux/earth/deb stable Release [1 338 B]                     
Réception de:11 http://archive.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]             
Réception de:12 http://dl.google.com/linux/earth/deb stable Release.gpg [198 B]                  
Atteint:13 http://archive.ubuntu.com/ubuntu xenial-backports InRelease                           
Atteint:14 https://deb.opera.com/opera-stable stable InRelease

Le problème avec gsmartcontrol persiste :

gsmartcontrol
Erreur de segmentation (core dumped)

D'avance merci

Hors ligne

#4 Le 02/06/2016, à 23:11

nam1962

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Tente un

sudo apt clean
sudo apt update && sudo apt full-upgrade
sudo apt autoremove
sudo apt install --reinstall smartmontools
sudo apt install --reinstall gsmartcontrol

[ Modéré ]

Hors ligne

#5 Le 03/06/2016, à 00:20

Arnold59

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Bonsoir,

Merci de ces précisions, hélas  gsmartcontrol ne fonctionne toujours pas ?

Voici le déroulement

sudo /etc/init.d/smartmontools status

sudo /etc/init.d/smartmontools status
● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
   Loaded: loaded (/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
   Active: active (running) since ven. 2016-06-03 00:13:35 CEST; 39s ago
     Docs: man:smartd(8)
           man:smartd.conf(5)
 Main PID: xxxxx (smartd)
   CGroup: /system.slice/smartd.service
           └─xxxxx /usr/sbin/smartd -n

sudo apt install --reinstall gsmartcontrol

 sudo apt install --reinstall gsmartcontrol
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 568 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de:1 http://archive.ubuntu.com/ubuntu xenial/universe i386 gsmartcontrol i386 0.8.7-1.1ubuntu2 [568 kB]
568 ko réceptionnés en 0s (1 447 ko/s)
(Lecture de la base de données... 318765 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../gsmartcontrol_0.8.7-1.1ubuntu2_i386.deb ...
Dépaquetage de gsmartcontrol (0.8.7-1.1ubuntu2) sur (0.8.7-1.1ubuntu2) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.15-0ubuntu1) ...
Traitement des actions différées (« triggers ») pour menu (2.1.47ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Traitement des actions différées (« triggers ») pour bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22-1ubuntu5) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-6ubuntu3) ...
Traitement des actions différées (« triggers ») pour mime-support (3.59ubuntu1) ...
Paramétrage de gsmartcontrol (0.8.7-1.1ubuntu2) ...
Traitement des actions différées (« triggers ») pour menu (2.1.47ubuntu1) ...
# gsmartcontrol
Erreur de segmentation (core dumped)

Hors ligne

#6 Le 03/06/2016, à 09:29

nam1962

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Bizarre.
Que donnent :

lsblk
df -Th
df -i
sudo smartctl -a /dev/sda

Dernière modification par nam1962 (Le 03/06/2016, à 09:31)


[ Modéré ]

Hors ligne

#7 Le 17/07/2016, à 22:34

Arnold59

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Bonsoir,

Voici le résultat des commandes :

lsblk

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 93,2G  0 disk 
sda1   8:1    0   20G  0 part /windows
sda2   8:2    0    1K  0 part 
sda5   8:5    0  753M  0 part [SWAP]
sda6   8:6    0   45G  0 part /
sda7   8:7    0 27,4G  0 part /home
sr0     11:0    1 1024M  0 rom
 

df -Th

Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   1,5G       0  1,5G   0% /dev
tmpfs            tmpfs      303M     32M  272M  11% /run
/dev/sda6        ext4        45G     25G   18G  58% /
tmpfs            tmpfs      1,5G     41M  1,5G   3% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      1,5G       0  1,5G   0% /sys/fs/cgroup
/dev/sda1        fuseblk     21G     16G  4,6G  78% /windows
/dev/sda7        ext3        28G     23G  3,1G  89% /home
cgmfs            tmpfs      100K       0  100K   0% /run/cgmanager/fs
tmpfs            tmpfs      303M     64K  303M   1% /run/user/1000

df -i

Sys. de fichiers  Inœuds IUtil.  ILibre IUti% Monté sur
udev              208227    496  207731    1% /dev
tmpfs             217107    761  216346    1% /run
/dev/sda6        2951536 724828 2226708   25% /
tmpfs             217107     70  217037    1% /dev/shm
tmpfs             217107      8  217099    1% /run/lock
tmpfs             217107     18  217089    1% /sys/fs/cgroup
/dev/sda1        4967028 114436 4852592    3% /windows
/dev/sda7        1794048  83846 1710202    5% /home
cgmfs             217107     14  217093    1% /run/cgmanager/fs
tmpfs             217107     32  217075    1% /run/user/1000
sudo smartctl -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-31-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

...

SMART support is: Enabled

...

Error 899 occurred at disk power-on lifetime: 32001 hours (1333 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

...

Error 898 occurred at disk power-on lifetime: 31929 hours (1330 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

...

Error 897 occurred at disk power-on lifetime: 31899 hours (1329 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

...

Error 896 occurred at disk power-on lifetime: 31898 hours (1329 days + 2 hours)
  When the command that caused the error occurred, the device was active or idle.

...

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     23821         -
# 2  Short offline       Completed without error       00%     23150         -
# 3  Short offline       Completed without error       00%     22420         -
# 4  Short offline       Completed without error       00%     22057         -
# 5  Short offline       Aborted by host               80%     22056         -
# 6  Short offline       Completed without error       00%     18947         -
# 7  Short offline       Completed without error       00%     16045         -
# 8  Extended offline    Completed without error       00%     13899         -
# 9  Short offline       Completed without error       00%     13898         -
#10  Short offline       Completed without error       00%     13681         -

Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum.
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.

Erreur lors de l'exécution de gsmartcontrol
sudo gsmartcontrol
Erreur de segmentation (core dumped)

Que dois-je vérifier ?

D'avance merci

Dernière modification par Arnold59 (Le 17/07/2016, à 22:39)

Hors ligne

#8 Le 18/07/2016, à 07:45

nam1962

Re : [Ubuntu 16.04] Impossible d'exécuter GsmartControl ?

Il a l'air pas tout jeune ce disque
lance

sudo smartctl -t short /dev/sda

Puis le resultat :

sudo smartctl -l selftest /dev/sda

[ Modéré ]

Hors ligne