LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-24-2019, 03:43 AM   #1
11ohina017
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
OS reboot without shutting down


There was an event that the OS restarted without shutting down. The shutdown message was not output to syslog.

```
Jul 23 22:55:01 CROND[30576]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 23 22:56:09 kernel: imklog 5.8.10, log source = /proc/kmsg started.
Jul 23 22:56:09 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1704" x-info="http://www.rsyslog.com"] start
Jul 23 22:56:09 kernel: Initializing cgroup subsys cpuset
Jul 23 22:56:09 kernel: Initializing cgroup subsys cpu
```

I thought that the physical server was powered off, so I contacted the cloud vendor.

However, they answered that the physical server was not powered off.

This server is in a cluster configuration using Pacemaker. I thought that Pacemaker fencing worked.

But, Pacemaker's fencing seems to be disabled

```
stonith-enabled="false"
```

What can be considered as the cause of the OS reboot?

kernel 2.6.32-431.el6
Distribution CentOS 6.6
Heartbeat 3.0.5-1.1.el6
Pacemaker 1.1.18-3.el6
 
Old 07-24-2019, 09:36 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
What does
Code:
last | grep boot
show?
 
Old 07-25-2019, 01:42 AM   #3
11ohina017
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
thank you for your comment.

The command execution result is as follows↓
=================================================================================
$ last | grep boot

reboot system boot 2.6.32-431.el6.x Wed Jul 23 22:55 - 06:02 (1+08:06)
=================================================================================
 
Old 07-25-2019, 01:53 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
so the system was rebooted at Wed Jul 23 22:55 - 06:02 (1+08:06)
 
Old 07-25-2019, 02:15 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by 11ohina017 View Post
thank you for your comment.

The command execution result is as follows↓
=================================================================================
$ last | grep boot

reboot system boot 2.6.32-431.el6.x Wed Jul 23 22:55 - 06:02 (1+08:06)
=================================================================================
I think you now need to look in the messages log to see what, if anything, happened just before then, but I'm not sure you can tell what happened. When everything goes away suddenly logging stops (doh).

Perhaps you're not asking the right question of your vendor. There are many reasons besides a power off that will cause a VM to reboot. You should open a ticket with them asking "Why did my VM reboot on Wed Jul 23 22:55 - 06:02 (1+08:06)"? At a minimum, you'll make them aware it happened, and they may be able to provide an RFO.

Was the server off-line for a significant time? Were your services affected?
Don't tell us...put the answers to those questions in your support ticket.
 
Old 08-13-2019, 09:44 PM   #6
dieselboy
LQ Newbie
 
Registered: Feb 2019
Posts: 25

Rep: Reputation: Disabled
Vendors hypervisor ran out of RAM and needed to start killing processes?
 
Old 08-22-2019, 03:58 AM   #7
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
I saw pacemaker freeze kernel if it cannot fence. I did not find any explanation of that behavior.
Once kernel frozen, any running watchdog can reset VM. To prove that, you can ask your provider for this kind event occur.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors on shutting down (does not let shut down) Sefid par Linux - Server 1 03-09-2014 03:27 PM
Reboot cycle after shutting down from linux nullifi Linux - Laptop and Netbook 3 04-24-2011 06:36 PM
Shutting down and non shutting down x windows golden_boy615 Linux - General 1 03-01-2010 06:28 AM
problem shutting down or reboot the machine. lancedance Slackware 8 01-14-2009 12:42 AM
shutting down computer does not auto power down... mmail75 Fedora 3 11-18-2003 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:04 PM.

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