LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-20-2010, 10:26 PM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
Lightbulb System Log Files - What information do they contain and how useful they can be?


Hi,


[1] What log files in /var/logs can we safely delete to free up hard-disk space?

[2] System reports "Disk-Controller Failure" then which log files in /var/logs should we check?

/var/log/kern.log

/var/log/boot.log

or some other log files, and also how to diagnose / rectify that problem / error?


Please Note: I am using RHEL 5.x and AIX 5.x.
 
Old 09-20-2010, 10:34 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by Hi_This_is_Dev View Post
Hi,


[1] What log files in /var/logs can we safely delete to free up hard-disk space?
Depend on you.
Quote:
Originally Posted by Hi_This_is_Dev View Post
[2] System reports "Disk-Controller Failure" then which log files in /var/logs should we check?

/var/log/kern.log

/var/log/boot.log

or some other log files, and also how to diagnose / rectify that problem / error?
Where did you see this error?
 
Old 09-20-2010, 11:01 PM   #3
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
To answer the first question, I exactly said "It depends on you."

About the second question... I don't know. They asked me those questions in an interview yesterday.

I have mentioned these files here:

/var/log/kern.log

/var/log/boot.log

to ask you if they should be checked. I said, "dmesg" could be helpful.

Last edited by Hi_This_is_Dev; 09-20-2010 at 11:04 PM.
 
Old 09-20-2010, 11:43 PM   #4
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by Hi_This_is_Dev View Post
To answer the first question, I exactly said "It depends on you."
OK, thank you.
Quote:
Originally Posted by Hi_This_is_Dev View Post
About the second question... I don't know. They asked me those questions in an interview yesterday.
You can ask the interviewer (I guess it appears in the booting up).
Quote:
Originally Posted by Hi_This_is_Dev View Post
I have mentioned these files here:

/var/log/kern.log

/var/log/boot.log

to ask you if they should be checked. I said, "dmesg" could be helpful.
OK, 'dmesg' may help in this case (but you must boot from a live CD if system hang at this error).
 
Old 09-21-2010, 11:23 AM   #5
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by quanta View Post
OK, thank you.
You're welcome!

Quote:
Originally Posted by quanta View Post
OK, 'dmesg' may help in this case (but you must boot from a live CD if system hang at this error).

Thanks for pointing out that!
 
Old 09-21-2010, 11:26 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
[1] What log files in /var/logs can we safely delete to free up hard-disk space?
The rotated logs, if you don't need them anymore.



Kind regards
 
Old 09-21-2010, 11:34 AM   #7
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by repo View Post
The rotated logs, if you don't need them anymore.

Thanks for the suggestion!
 
  


Reply

Tags
error, files, information, log, system


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Freezes - where are log files? bkeeper Ubuntu 2 08-28-2009 04:38 PM
SuSE 9.3 - System went down; what log files should I be looking for to find out why? EnderX Linux - Newbie 2 07-31-2009 09:39 AM
How to find out indone information and datablocks information in a file system chaitanya1982 Linux - Newbie 1 09-24-2008 01:58 AM
Emailing log files and system mail... AnRkey Linux - Security 6 11-10-2005 06:17 PM
Sending system log files to an e-mail account darkbluex Linux - Security 1 10-27-2004 07:37 AM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration