LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2017, 05:20 AM   #1
sensei90
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
Red face What is the boot reason ?


Hi everyone

I'm almost new in Linux systems and having trouble. I hope someone can help me.

The problem is there're 6 VM on ESX and they're identically same. 2 of them reboot last night. I searched log files but couldn't find anything. So, here is the info. you may want during solution :

# last reboot
reboot system boot 4.4.0-62-generic Wed Nov 15 22:50 still running (which is last night )
reboot system boot 4.4.0-62-generic Mon Nov 13 00:31 still running
reboot system boot 4.4.0-62-generic Wed Nov 8 15:21 still running

#lsb_release
Ubuntu 16.04.3 LTS

#uname -a
4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I wanted to share kern.log but forum said it's too long. There are some part which I don't know what that means.


And I wanna ask this too, what is the first line in reboot which tell you to "machine is rebooting now"


kern.log


Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] e820: last_pfn = 0xc0000 max_arch_pfn = 0x400000000
Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] found SMP MP-table at [mem 0x000f6b30-0x000f6b3f] mapped at [ffff8800000f6b30]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] Scanning 1 areas for low memory corruption
Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] BRK [0x0220b000, 0x0220bfff] PGTABLE

Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
Nov 15 22:50:16 HOSTNAME kernel: [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]


Nov 15 22:50:16 HOSTNAME kernel: [ 0.947247] pci 0000:00:15.4: BAR 13: failed to assign [io size 0x1000]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.947414] pci 0000:00:15.3: BAR 13: no space for [io size 0x1000]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.947572] pci 0000:00:15.3: BAR 13: failed to assign [io size 0x1000]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.947738] pci 0000:00:01.0: PCI bridge to [bus 01]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.948333] pci 0000:02:00.0: BAR 6: assigned [mem 0xfd500000-0xfd50ffff pref]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.948585] pci 0000:00:11.0: PCI bridge to [bus 02]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.948941] pci 0000:00:11.0: bridge window [io 0x2000-0x3fff]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.949378] pci 0000:00:11.0: bridge window [mem 0xfd500000-0xfdffffff]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.949661] pci 0000:00:11.0: bridge window [mem 0xe7b00000-0xe7ffffff 64bit pref]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.950153] pci 0000:00:15.0: PCI bridge to [bus 03]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.950395] pci 0000:00:15.0: bridge window [io 0x4000-0x4fff]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.950647] pci 0000:00:15.0: bridge window [mem 0xfd400000-0xfd4fffff]
Nov 15 22:50:16 HOSTNAME kernel: [ 0.950902] pci 0000:00:15.0: bridge window [mem 0xe7a00000-0xe7afffff 64bit pref]
 
Old 11-16-2017, 07:22 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,233
Blog Entries: 4

Rep: Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260
You should see evidence in one of the kernel log files, or the dmesg command, that documents the reboot sequence.

But the first order of business should be to figure out exactly why these machines were restarted! (Who did it, and why?) The virtual-machine monitor might also have important clues, e.g. if the VMs crashed due to some kind of panic and the monitor is set to automatically reboot them – which is usually not done because of the probability of a reboot-loop. You should regard the present case with suspicion, and, if you're new at this, ask for another pair of eyes.
 
Old 11-20-2017, 05:59 AM   #3
sensei90
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
You should see evidence in one of the kernel log files, or the dmesg command, that documents the reboot sequence.

But the first order of business should be to figure out exactly why these machines were restarted! (Who did it, and why?) The virtual-machine monitor might also have important clues, e.g. if the VMs crashed due to some kind of panic and the monitor is set to automatically reboot them which is usually not done because of the probability of a reboot-loop. You should regard the present case with suspicion, and, if you're new at this, ask for another pair of eyes.
I looked every log file in /var/log but found nothing. I doubt that the VM is crashed. Those who're loking VM side said nothing happened. So what am I missing ?
 
Old 11-20-2017, 06:24 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,617

Rep: Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607Reputation: 5607
you gave no usable information, so I can only guess:
in /var/log/messages (or somewhere next to this file) you need to see if something happened just before boot. And also you can see how it was booted. You need to check the logs of the VMs (=inside) and the logs on the host about the VM related events.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
For some reason, when I change the boot flag with fdisk for a drive, it still boots. dcsimmonssr Linux - Software 7 08-26-2014 04:41 PM
Disk checks during boot without any apparent reason stefanofalone Linux - Laptop and Netbook 1 05-21-2011 04:07 PM
What log file reflects boot hang reason? Dims Linux - Newbie 15 06-09-2009 03:53 PM
my new computer won't boot; reason unknown newbiesforever General 15 07-18-2008 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration