LinuxQuestions.org
Help answer threads with 0 replies.
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-29-2010, 06:31 AM   #1
chobong
Member
 
Registered: Jan 2010
Posts: 90

Rep: Reputation: 15
Please check log system on Centos 5


Dear All,

Im using a server hosting and I just can work on the server via SSH.
Today, the server was died and I contacted ISP to find out the problem.
ISP said that the network were okay, please check log the server to find the reason.

But I don't know how to check...
I checked in /var/log/boot.log, it is empty.
And in /var/log/message and /var/log/dmesg: i don't understand...

Please help me...
 
Old 09-29-2010, 06:47 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by chobong View Post
...

But I don't know how to check...
I checked in /var/log/boot.log, it is empty.
And in /var/log/message and /var/log/dmesg: i don't understand...

Please help me...
What is it you do not understand?

So far you seem to be on the right track - checking the logs is a good step in the right direction to try to determine what happened to the server.

Are /var/log/messages and /var/log/dmesg and /var/log/syslog and /var/log/kernel all empty? Or do they contain stuff and you don't understand the data in the logs?

There could/should be a fairly large amount of data in these logs; you may or may not have every one of the files I mention, but those that are present, you want to examine the records leading up to the shutdown, and try to figure out what happened.

Please explain more thoroughly what it is you don't understand. Thanks!

Cheers.
 
Old 09-29-2010, 10:52 PM   #3
chobong
Member
 
Registered: Jan 2010
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks GrapefruiTgirl

Sorry for I didn't explain clearly.
There is data in the /var/log/mesage and /var/log/dmesg but I don't know lines which relate the problem.

The file is too long, and I cannot paste in the forum...
 
Old 09-30-2010, 01:04 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Quote:
Originally Posted by chobong View Post
Dear All,
Today, the server was died and I contacted ISP to find out the problem.
Server died means?You were not able to ssh it?
You were doing ssh from which system?
Where is server located?
Please let us know what that died means?
Which services were installed on the server?You mean to say those services not running on the server?

Last edited by prayag_pjs; 09-30-2010 at 01:05 AM.
 
Old 09-30-2010, 04:36 AM   #5
chobong
Member
 
Registered: Jan 2010
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Server died means?You were not able to ssh it?
You were doing ssh from which system?
Where is server located?
Please let us know what that died means?
Which services were installed on the server?You mean to say those services not running on the server?
Sorry you guys. Im really confused these days

The server is located in Germany, not in my country.
I couldn't connect by ssh,ping from my computer to server in some hours, so I contacted to ISP and then ISP rebooted the server.
Now the server is working fine but i don't know the reason why server was die.
I checked in /var/log folder with boot.log (empty), messages, dmesg but I really didn't find anything.
(Actually, dmesg and messages is long, and I can't understand all contents in these files)

Is there any other way to check this...?
 
Old 09-30-2010, 05:46 AM   #6
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by chobong View Post
(Actually, dmesg and messages is long, and I can't understand all contents in these files)
Check from timestamp when server shutdown (upload this to somewhere or paste into pastebin.com). Also check with dmesg command (not /var/log/dmesg).
 
Old 10-12-2010, 11:15 PM   #7
chobong
Member
 
Registered: Jan 2010
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Check from timestamp when server shutdown (upload this to somewhere or paste into pastebin.com). Also check with dmesg command (not /var/log/dmesg).
Sorry, you mean what's "timestamp"?

When I run dmesg, it displayed these lines ( have no in /var/log/dmesg )
Code:
powernow-k8: Found 1 Quad-Core AMD Opteron(tm) Processor 1385 processors (4 cpu cores) (version 2.20.00)
powernow-k8:    0 : fid 0x0 gid 0x0 (2700 MHz)
powernow-k8:    1 : fid 0x0 gid 0x0 (2000 MHz)
powernow-k8:    2 : fid 0x0 gid 0x0 (1500 MHz)
powernow-k8:    3 : fid 0x0 gid 0x0 (800 MHz)
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
TCP: Treason uncloaked! Peer 84.183.92.114:49202/80 shrinks window 3016473706:3016512272. Repaired.
TCP: Treason uncloaked! Peer 217.15.116.126:20826/80 shrinks window 2256082214:2256082215. Repaired.
TCP: Treason uncloaked! Peer 217.15.116.126:20829/80 shrinks window 2258868427:2258868428. Repaired.
TCP: Treason uncloaked! Peer 217.15.116.126:20829/80 shrinks window 2258868427:2258868428. Repaired.
TCP: Treason uncloaked! Peer 217.15.116.126:20831/80 shrinks window 2269474238:2269474239. Repaired.
TCP: Treason uncloaked! Peer 217.15.116.126:20831/80 shrinks window 2269474238:2269474239. Repaired.
TCP: Treason uncloaked! Peer 213.209.163.110:55613/80 shrinks window 2150450065:2150450066. Repaired.
TCP: Treason uncloaked! Peer 213.209.163.110:55716/80 shrinks window 2189063760:2189063761. Repaired.
TCP: Treason uncloaked! Peer 213.209.163.110:55733/80 shrinks window 2191591743:2191591744. Repaired.
TCP: Treason uncloaked! Peer 213.209.163.110:55716/80 shrinks window 2189063760:2189063761. Repaired.
TCP: Treason uncloaked! Peer 79.240.204.161:52413/80 shrinks window 50105669:50119288. Repaired.
TCP: Treason uncloaked! Peer 79.240.204.161:52413/80 shrinks window 50105669:50119288. Repaired.
TCP: Treason uncloaked! Peer 79.240.204.161:49511/80 shrinks window 63916317:63926585. Repaired.
TCP: Treason uncloaked! Peer 79.240.204.161:47734/80 shrinks window 61463495:61477015. Repaired.
TCP: Treason uncloaked! Peer 79.240.204.161:33088/80 shrinks window 148229886:148230440. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1681/80 shrinks window 207850964:207850965. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1818/443 shrinks window 1274838439:1274838440. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1818/443 shrinks window 1274838439:1274838440. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1825/443 shrinks window 1306784212:1306784213. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1825/443 shrinks window 1306784212:1306784213. Repaired.
TCP: Treason uncloaked! Peer 208.78.63.100:1841/443 shrinks window 1393472894:1393472895. Repaired.
 
Old 10-13-2010, 04:47 AM   #8
chobong
Member
 
Registered: Jan 2010
Posts: 90

Original Poster
Rep: Reputation: 15
My server crashed two times, and after reboot, found no problem in the log file .
The cause can be
- kernel panic?
- network problem?
- hardware problem?
- software problem?

I don't know when it will be crashed and how to fix it...

Please help me ...
Thank you so much!
 
  


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] can someone check out my log? v00d00 ch1ld Slackware 11 05-17-2010 10:52 AM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 05:41 PM
how to check the log? bogwato Linux - Newbie 1 07-15-2009 03:09 PM
which log do i check after system crash? ijsman77 Red Hat 0 08-24-2004 07:16 AM


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