Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
09-20-2010, 10:26 PM
#1
Member
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Rep:
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.
09-20-2010, 10:34 PM
#2
Member
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 723
Rep:
Quote:
Originally Posted by
Hi_This_is_Dev
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
[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?
09-20-2010, 11:01 PM
#3
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:
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 .
09-20-2010, 11:43 PM
#4
Member
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 723
Rep:
Quote:
Originally Posted by
Hi_This_is_Dev
To answer the first question, I exactly said "It depends on you."
OK, thank you.
Quote:
Originally Posted by
Hi_This_is_Dev
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
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).
09-21-2010, 11:23 AM
#5
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:
Quote:
Originally Posted by
quanta
OK, thank you.
You're welcome!
Quote:
Originally Posted by
quanta
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!
09-21-2010, 11:26 AM
#6
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,460
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
09-21-2010, 11:34 AM
#7
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:
Quote:
Originally Posted by
repo
The rotated logs, if you don't need them anymore.
Thanks for the suggestion!
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 10:00 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News