View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-02-2010, 07:19 PM   #1
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,604

Rep: Reputation: 38
How to tell who or what restarted a server

Is there any way to tell who or what process rebooted a RHEL server?

Somehow one of my boxes got restarted this morning, i'm trying to figure out who/what did it.
Old 10-02-2010, 08:05 PM   #2
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Brown out?
0 members found this post helpful.
Old 10-02-2010, 08:07 PM   #3
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,604

Original Poster
Rep: Reputation: 38
Old 10-02-2010, 11:27 PM   #4
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
You can try examining your 'messages' files in /var/log. Maybe someone invoked an 'su' or 'sudo' command. Or, you could check all user's ~/.bash_history files for command history to see if they tried a shutdown. Maybe someone did a shutdown over ssh (ssh machine sudo shutdown -r now) or something. That's all I can think of at the moment.


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
Recently restarted DNS server on Linux jester_69 Linux - General 2 01-01-2010 08:01 AM
Uptime/shutdown question - server restarted without my permission hedron Slackware 7 12-05-2009 02:39 AM
how to determine server has been restarted nima0102 Linux - Server 2 11-03-2008 06:04 AM
The X server restarted and then the fonts became ugly BK2 Mandriva 3 12-22-2007 02:11 AM
Route getting deleted when the Linux server is restarted halaatnaren Linux - Newbie 2 07-29-2004 06:02 PM

All times are GMT -5. The time now is 05:31 PM.

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