Page 1 sur 4
Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 11:07
par Robinwood
Bonjour à toutes, tous et les autres,
j'ai évoqué sur le forum que mon portable asus x751ma planté, l'écran figé, même la souris.
Hard-reeboot obligé.
Environ tout les jours, ce matin c'est arrivé à 10 heures 52 ou 53.
Dans journaux système à 10h52:


Si vous avez une piste, moi je n'y comprend rien

.
Ou des idées, je suis preneur

.
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 11:55
par Robinwood
Bonjour Tedsc,
je n'ai pas ufw ni gufw.
Dans mes recherches, j'ai trouvé:
http://www.howtoeverything.net/linux/ha ... sd-upgrade
J'ai suivi "How to fix it (1. attempt)", à suivre.
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 12:45
par mpat
c'est toi qui a lancé rsyslod ?
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 12:59
par Robinwood
Bonjour Mpat,
je n'ai pas lancé rsyslod, à moins que se soit le trim activé à chaque démarrage, si rapport.
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:08
par mpat
c'est toi qui as installé anacron ? et envoyé une tâche avant ton plantage
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:12
par Robinwood
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:13
par mpat
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:15
par Robinwood
Merci, mais j'y comprend rien

.
Si tu pouvais éclairer ma lanterne.
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:25
par mpat
Tu as créer une tâche cron pour ton ssd dans ce genre ?
#!/bin/sh
# call fstrim-all to trim all mounted file systems which support it set -e
#
# This only runs on Intel and Samsung SSDs by default, as some SSDs with
# faulty firmware may encounter data loss when running fstrim under high I/O
# load (e. g.
https://launchpad.net/bugs/1259829" onclick="window.open(this.href);return false;). You can append the
# --no-model-check option here to disable the vendor check and run fstrim on
# all SSD drives Like this (remove the hash):
#exec fstrim-all --no-model-check exec fstrim-all
+
sudo chmod +x /etc/cron.daily/trim
Re: Trouver une erreur journaux système
Posté : jeu. 25 févr. 2016 13:30
par Robinwood
/etc/crontab:
Code : Tout sélectionner
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
/etc/rc.local:
Code : Tout sélectionner
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
fstrim /
exit 0
et