Pages : 1
#1 Le 08/06/2016, à 22:06
- Thymon
Linux reboot sans explication
Bonjour,
Voilà j'ai un petit problème. Je constate que mon serveur Xubuntu reboot dans la journée. Mais je n'arrive pas à savoir pourquoi.
J'ai regarder dans /var/log/syslog et kernel.
Mais il y a trop de chose dedans pour comprendre ce qui se passe.
JE suis passé de Xubuntu 14.04 au 16.04 (installation propre car formatage entre les deux.
Et depuis j'ai ce problème. JE ne sais pas si il y a un rapport. Mais c'est le seul point commun que j'ai.
Alors je viens cherche un peu d'aide ici. Car je suis trop novice moi.
Pour moi cela c'est produit vers 17h
Alors voici un extrait de log kenel et syslog. on l'ont voit les dernier log avant 17h11. Si jamais vous y voyez quelque chose...
D'avance merci !!
log Kernel :
Jun 8 11:23:56 Home-Server NetworkManager[745]: <info> [1465377836.2815] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 8 11:23:56 Home-Server NetworkManager[745]: <info> [1465377836.3312] manager: NetworkManager state is now CONNECTED_GLOBAL
Jun 8 11:23:56 Home-Server NetworkManager[745]: <info> [1465377836.3313] policy: set 'Connexion filaire 1' (enp2s0) as default for IPv4 routing and DNS
Jun 8 11:23:56 Home-Server NetworkManager[745]: <info> [1465377836.3314] dns-mgr: Writing DNS information to /sbin/resolvconf
Jun 8 11:23:56 Home-Server NetworkManager[745]: <info> [1465377836.3348] device (enp2s0): Activation: successful, device activated.
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpu
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 (Ubuntu 4.4.0-21.37-generic 4.4.6)
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=c87d7276-9401-47d6-bbef-c6f0ef914eeb ro quiet splash vt.handoff=7
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] KERNEL supported cpus:
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Intel GenuineIntel
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] AMD AuthenticAMD
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Centaur CentaurHauls
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] x86/fpu: Using 'eager' FPU context switches.
log Syslog :
Jun 8 15:39:50 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 15:52:51 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 16:05:35 Home-Server systemd-timesyncd[618]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com).
Jun 8 16:05:35 Home-Server systemd-timesyncd[618]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Jun 8 16:05:52 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 16:09:01 Home-Server CRON[22000]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Jun 8 16:09:01 Home-Server CRON[21999]: (CRON) info (No MTA installed, discarding output)
Jun 8 16:17:01 Home-Server CRON[23222]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 8 16:18:52 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 16:31:53 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 16:39:01 Home-Server CRON[26468]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Jun 8 16:39:01 Home-Server CRON[26467]: (CRON) info (No MTA installed, discarding output)
Jun 8 16:44:54 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 16:57:54 Home-Server systemd[1]: Started CUPS Scheduler.
Jun 8 17:09:01 Home-Server CRON[30944]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Jun 8 17:09:02 Home-Server CRON[30943]: (CRON) info (No MTA installed, discarding output)
Jun 8 17:11:16 Home-Server rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="807" x-info="http://www.rsyslog.com"] start
Jun 8 17:11:16 Home-Server rsyslogd-2222: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
Jun 8 17:11:16 Home-Server rsyslogd: rsyslogd's groupid changed to 108
Jun 8 17:11:16 Home-Server rsyslogd: rsyslogd's userid changed to 104
Jun 8 17:11:16 Home-Server systemd-modules-load[278]: Inserted module 'lp'
Jun 8 17:11:16 Home-Server systemd-modules-load[278]: Inserted module 'ppdev'
Jun 8 17:11:16 Home-Server systemd-modules-load[278]: Inserted module 'parport_pc'
Jun 8 17:11:16 Home-Server systemd[1]: Started Load Kernel Modules.
Jun 8 17:11:16 Home-Server systemd[1]: Mounting FUSE Control File System...
Jun 8 17:11:16 Home-Server systemd[1]: Starting Apply Kernel Variables...
Jun 8 17:11:16 Home-Server systemd[1]: Mounted FUSE Control File System.
Jun 8 17:11:16 Home-Server systemd[1]: Started Apply Kernel Variables.
Jun 8 17:11:16 Home-Server systemd[1]: Started Create Static Device Nodes in /dev.
Jun 8 17:11:16 Home-Server systemd[1]: Starting udev Kernel Device Manager...
Jun 8 17:11:16 Home-Server systemd[1]: Started udev Kernel Device Manager.
Jun 8 17:11:16 Home-Server systemd[1]: Starting Remount Root and Kernel File Systems...
Jun 8 17:11:16 Home-Server systemd[1]: Started Remount Root and Kernel File Systems.
Jun 8 17:11:16 Home-Server rsyslogd-2039: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
Jun 8 17:11:16 Home-Server systemd[1]: Starting Load/Save Random Seed...
Jun 8 17:11:16 Home-Server systemd[1]: Starting udev Coldplug all Devices...
Jun 8 17:11:16 Home-Server systemd[1]: Reached target Local File Systems (Pre).
Jun 8 17:11:16 Home-Server systemd[1]: Starting Flush Journal to Persistent Storage...
Jun 8 17:11:16 Home-Server systemd[1]: Started Load/Save Random Seed.
Jun 8 17:11:16 Home-Server rsyslogd-2007: action 'action 10' suspended, next retry is Wed Jun 8 17:11:46 2016 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jun 8 17:11:16 Home-Server systemd[1]: Started udev Coldplug all Devices.
Jun 8 17:11:16 Home-Server systemd[1]: Starting Show Plymouth Boot Screen...
Jun 8 17:11:16 Home-Server systemd[1]: Started Flush Journal to Persistent Storage.
Jun 8 17:11:16 Home-Server systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Jun 8 17:11:16 Home-Server systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpu
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Jun 8 17:11:16 Home-Server systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 (Ubuntu 4.4.0-21.37-generic 4.4.6)
Jun 8 17:11:16 Home-Server kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=c87d7276-9401-47d6-bbef-c6f0ef914eeb ro quiet splash vt.handoff=7
Jun 8 17:11:16 Home-Server systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Dernière modification par Thymon (Le 08/06/2016, à 22:07)
Hors ligne
#2 Le 09/06/2016, à 17:34
- Thymon
Re : Linux reboot sans explication
Une nouvelle fois aujourd’hui le serveur à reboot à 18h00 tout pile.
Et je ne sais pas pourquoi.
Où puis-je regarder ?
Merci pour votre aide.
Hors ligne
#3 Le 09/06/2016, à 17:43
- tuxmarc
Re : Linux reboot sans explication
Bonjour.
Je vais essayer de te filer un coup de main, car dans ce domaine, je ne suis pas du tout top
La machine redémarre à l'heure pile, on dirait que c'est cron chrono table pour les intimes, qui est dans le coup.
Du moins, c'est ce que je suppose .....
Je te laisse étudier la doc et j'espère que d'autres plus "barbus" à ce niveau vont rappliquer
Vive Richard Stalmann, Linus Torvalds, et tous les fondus de Linux.
De l'Ordinosaure fait à 90% de récup, à deux portables LDLC, neufs sans système et une carte mère sans boitier, tous libres !!
Parrain Linux sur www.parrain-linux.com et www.parrains.linux.free.fr
Hors ligne
#4 Le 09/06/2016, à 19:03
- Thymon
Re : Linux reboot sans explication
Bonsoir,
merci de prendre mon problème en considération.
Je connais CRON mais ce n'est pas lui je pense.
Et puis ce n'est jamais la même heure le reboot, donc ça doit être autre chose...
Dernière modification par Thymon (Le 09/06/2016, à 19:03)
Hors ligne
#5 Le 14/06/2016, à 08:21
- Thymon
Re : Linux reboot sans explication
Je me permet de faire un petit UP.
Car je ne trouve toujours pas la cause :-(
Hors ligne
#6 Le 14/06/2016, à 09:10
- moko138
Re : Linux reboot sans explication
Que retourne
cat /etc/crontab
(Mais moi non plus je ne suis pas un spécialiste.)
Dernière modification par moko138 (Le 14/06/2016, à 09:12)
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#7 Le 14/06/2016, à 09:25
- Nasman
Re : Linux reboot sans explication
Surchauffe ?
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#8 Le 14/06/2016, à 10:10
- Bougron
Re : Linux reboot sans explication
Une nouvelle fois aujourd’hui le serveur à reboot à 18h00 tout pile.
Et je ne sais pas pourquoi.Où puis-je regarder ?
Merci pour votre aide.
Bonjour
Il me semble que dans un cron on peut dire qu'il s'éxecute toutes les 25 heures ou 49 heures.....
Car un arrêt à 17 heures pile et un autre à 18 heures pile c'est bizarre pour de la surchauffe.
Quoiqu'il en soit , il va falloir regareder les fichiers de trace de l'ordinateur.
Cette fois-ci, ce sont les traces de l'arrêt et non du démarrage. Je ne suis pas habitué. Peut-être avec la commande
tail -200 /var/log/syslog.1
Hors ligne
Pages : 1