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 11-08-2018, 05:08 AM   #1
picklehead
Member
 
Registered: Jun 2018
Posts: 61

Rep: Reputation: Disabled
CentOS box just rebooted itself and I'm trying to figure out why.


I just found out that a system restarted a few days ago and I'm trying to identify the cause or to see if this is going to be a problem that might get worse. Here is the output from the messages log file for the time that it reboot which was 10:49

Nov 1 10:40:02 ggaux1 systemd: Removed slice User Slice of root.
Nov 1 10:40:02 ggaux1 systemd: Stopping User Slice of root.
Nov 1 10:49:30 ggaux1 kernel: microcode: microcode updated early to revision 0x200004d, date = 2018-05-15
Nov 1 10:49:30 ggaux1 kernel: Initializing cgroup subsys cpuset
Nov 1 10:49:30 ggaux1 kernel: Initializing cgroup subsys cpu
Nov 1 10:49:30 ggaux1 kernel: Initializing cgroup subsys cpuacct
Nov 1 10:49:30 ggaux1 kernel: Linux version 3.10.0-862.11.6.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Tue Aug 14
21:49:04 UTC 2018
Nov 1 10:49:30 ggaux1 kernel: Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/vg_ggaux1-lv_root ro crashkernel=auto rd.lvm.lv=vg_ggaux1/lv_root rd.
lvm.lv=vg_ggaux1/lv_swap rhgb quiet LANG=en_IE.UTF-8
Nov 1 10:49:30 ggaux1 kernel: e820: BIOS-provided physical RAM map:
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000003dfff] usable
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000000003e000-0x000000000003ffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x0000000000040000-0x000000000009ffff] usable
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x0000000000100000-0x000000005b871fff] usable
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000005b872000-0x000000005e15ffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000005e160000-0x000000005e287fff] ACPI data
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000005e288000-0x000000006d8f7fff] ACPI NVS
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000006d8f8000-0x000000006f317fff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000006f318000-0x000000006f7fffff] usable
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x000000006f800000-0x000000008fffffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x00000000fd000000-0x00000000fe7fffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x00000000fed20000-0x00000000fed44fff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Nov 1 10:49:30 ggaux1 kernel: BIOS-e820: [mem 0x0000000100000000-0x000000087fffffff] usable
Nov 1 10:49:30 ggaux1 kernel: NX (Execute Disable) protection: active
Nov 1 10:49:30 ggaux1 kernel: extended physical RAM map:





The logs go on for quite a bit after this so if you need more info I can provide it.

Thanks for any assistance.
 
Old 11-08-2018, 05:25 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I can't see anything in your above post that stands out, it all looks quite normal to me. But of course random restarts ain't normal though.

Have a look though your kernel log for anything that looks like an error message, and better still, attach the results of the following command to your next post;

Code:
dmesg > ~/kernellog.txt
If there are no errors logged there, it could be a hardware and/or a power issue of some kind.
 
Old 11-08-2018, 05:42 AM   #3
picklehead
Member
 
Registered: Jun 2018
Posts: 61

Original Poster
Rep: Reputation: Disabled
Hi js,

thanks for your response. Attached is the dmesg output that you requested
Attached Files
File Type: txt kernellog.txt (150.1 KB, 35 views)
 
Old 11-08-2018, 11:07 AM   #4
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
Looks like something is causing a panic and making your computer restart after a set amount of time. The restarts are only a side effect of what's really going on. Can you echo /proc/sys/kernel/panic and /proc/sys/kernel/panic_on_* and tell us what they say?
 
Old 11-09-2018, 05:22 AM   #5
picklehead
Member
 
Registered: Jun 2018
Posts: 61

Original Poster
Rep: Reputation: Disabled
Angry

Hi Rik,

I take it you meant to cat those files rather than echo them?

All the files that you mentioned are empty:

-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing
-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing_scan_delay_ms
-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing_scan_period_max_ms
-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing_scan_period_min_ms
-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing_scan_size_mb
-rw-r--r--. 1 root root 0 Nov 9 11:19 numa_balancing_settle_count
-r--r--r--. 1 root root 0 Nov 9 11:19 osrelease
-r--r--r--. 1 root root 0 Nov 9 11:19 ostype
-rw-r--r--. 1 root root 0 Nov 9 11:19 overflowgid
-rw-r--r--. 1 root root 0 Nov 9 11:19 overflowuid
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic_on_io_nmi
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic_on_oops
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic_on_stackoverflow
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic_on_unrecovered_nmi
-rw-r--r--. 1 root root 0 Nov 9 11:19 panic_on_warn
-rw-r--r--. 1 root root 0 Nov 9 11:19 perf_cpu_time_max_percent
-rw-r--r--. 1 root root 0 Nov 9 11:19 perf_event_max_sample_rate
-rw-r--r--. 1 root root 0 Nov 9 11:19 perf_event_mlock_kb
-rw-r--r--. 1 root root 0 Nov 9 11:19 perf_event_paranoid
-rw-r--r--. 1 root root 0 Nov 1 10:49 pid_max
-rw-r--r--. 1 root root 0 Nov 9 11:19 poweroff_cmd
-rw-r--r--. 1 root root 0 Nov 9 11:19 print-fatal-signals
-rw-r--r--. 1 root root 0 Nov 9 11:19 printk
-rw-r--r--. 1 root root 0 Nov 9 11:19 printk_delay
-rw-r--r--. 1 root root 0 Nov 9 11:19 printk_ratelimit
-rw-r--r--. 1 root root 0 Nov 9 11:19 printk_ratelimit_burst
dr-xr-xr-x. 1 root root 0 Nov 1 10:50 pty



[root@ggaux1 kernel]# cat panic
0
[root@ggaux1 kernel]#
 
Old 11-09-2018, 05:29 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
How long has the "random restarts" been happening for?
Did you do any updates when this started happening? If so, do you know what they where?
Have you installed anything from outside of the CentOS online software repositories?
Have you checked your machine's hardware?
Have you checked to make sure your machine has a good power source/supply?
 
Old 11-09-2018, 09:25 AM   #7
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
Yes, I meant to cat them. My bad.
 
Old 11-10-2018, 04:59 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response

Moved: This thread is more suitable in <CentOS> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
How do I figure out what is blocking our connection to port 80 on our Debian box? laredotornado Linux - Networking 3 09-20-2017 01:28 AM
Issue in increase open files limit on Centos 6.4 (Rebooted system even no success) jsaravana87 Linux - Server 2 01-03-2014 11:16 AM
How can I ssh to an encrypted CentOS system after it has had to be rebooted? mbvpixies78 Linux - Networking 2 12-09-2011 04:12 PM
Trying to figure out hardware info for Linux box ScoreOne Linux - General 4 10-21-2010 04:20 PM
To find, how many times my box has rebooted gsiva Linux - General 5 05-30-2009 02:12 AM

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

All times are GMT -5. The time now is 08:39 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