Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.