Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
PostPosted: Thu Aug 11, 2011 10:38 pm 
Offline
New to forums
New to forums
User avatar

Joined: Fri Feb 18, 2011 10:27 am
Posts: 7
Location: Seattle
I've got a VDS running CentOS 5.6, setup as a single core web server running cpanel/apache/mysql etc. In the past week it's rebooted 3 times -- extremely unexpected and undesirable.

Any tips on where to look through system logs to figure out what's going on?

Looking through apache logs I see various 404s and then
Code:
[Thu Aug 11 23:19:33 2011] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?


So there was definitely an unexpected shutdown. But so far I have no idea what...


Top
 Profile  
 
PostPosted: Thu Aug 11, 2011 10:57 pm 
Offline
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 9222
Location: Seattle
/var/log/messages would be the main place to check. Ideally, there will be kernel output there saying what happened at the time of the crash.

Are you running the latest stable kernel release?


Top
 Profile  
 
PostPosted: Thu Aug 11, 2011 11:05 pm 
Offline
New to forums
New to forums
User avatar

Joined: Fri Feb 18, 2011 10:27 am
Posts: 7
Location: Seattle
I'm not running the latest kernel no, updating now.

In /var/log/messages I do see:

Aug 11 23:18:04 kelvin syslogd 1.4.1: restart.

Indicating a restart...but no clues as to why. I do have cpanel set to handle upgrading software but I'm not aware of it being able to kick off system reboots...


Top
 Profile  
 
PostPosted: Thu Aug 11, 2011 11:13 pm 
Offline
New to forums
New to forums
User avatar

Joined: Fri Feb 18, 2011 10:27 am
Posts: 7
Location: Seattle
I don't see an edit so I guess I'll double post :)

Updated the kernel, and did a manual reboot...and now comparing the logs my reboot has much more verbose logs with various services shutting down, etc. Whereas the unexpected reboot was just the sudden restart. So I guess that would rule out my shot in the dark about cpanel kicking off a reboot :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
It is currently Sat May 18, 2013 1:47 am
Powered by phpBB® Forum Software © phpBB Group