LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-20-2013, 09:30 AM   #1
rushenas
Member
 
Registered: May 2005
Posts: 34

Rep: Reputation: 15
Linux server restarts frequently


Hi there
I have a CentOS 6 server, and recently I faced an odd problem.
Server restarts unexpectedly, without any known reason. This was happened when I moved to a new data center. There is nothing wrong with the power supply, as the server has two redundant power supply, each one connected to a separate source of power (one through UPS, another one to a diesel generator).
I checked /var/log/messages, and it only contains boot messages (not events before restarting).
Can anybody give me a clue how to trace the problem?
 
Old 09-20-2013, 09:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rushenas View Post
Hi there
I have a CentOS 6 server, and recently I faced an odd problem.
Server restarts unexpectedly, without any known reason. This was happened when I moved to a new data center. There is nothing wrong with the power supply, as the server has two redundant power supply, each one connected to a separate source of power (one through UPS, another one to a diesel generator).
I checked /var/log/messages, and it only contains boot messages (not events before restarting).
Can anybody give me a clue how to trace the problem?
The only thing would be to check whatever services are running on that system. You say you've moved to a new data center...have you opened the server up, and checked the connections/cables of the components of the system? Something could have gotten loose during the move. And is ALL you changed the physical location?

I have seen issues where a service update (Oracle), caused a problem with the kernel version (RHEL), and the system would just halt. No errors/messages at all. Applying the Oracle patch caused it, so the solution was to remove that patch, until RHEL released the fix for the kernel.
 
Old 09-20-2013, 10:01 AM   #3
rushenas
Member
 
Registered: May 2005
Posts: 34

Original Poster
Rep: Reputation: 15
Actually, I have not patched anything or installed since the movement.
I am looking for a solution, to save a log file whenever something cause a restart. Do you have any suggestion?
 
Old 09-20-2013, 10:36 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rushenas View Post
Actually, I have not patched anything or installed since the movement. I am looking for a solution, to save a log file whenever something cause a restart. Do you have any suggestion?
I gave you a suggestion...did you not read/understand it? Check the connections on all the server components first. This includes memory chips, CPU's, cables, everything. Again, YOU might not have patched something, but someone ELSE might have, or a process could have done it automatically. Do you have online updates turned on?

AGAIN: what services are running on that system?? Have you checked THEIR logs?
 
  


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
[SOLVED] Tomcat server getting shutdown frequently sanjay87 Linux - Server 6 01-20-2012 02:10 PM
Server restarts on his own ticoloco Linux - Server 11 10-11-2010 10:48 AM
server hung frequently samprabhu Linux - Server 6 05-10-2010 12:34 PM
X server restarts jayakrishnan Linux - General 1 11-13-2003 07:02 AM


All times are GMT -5. The time now is 04:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration