LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   System Log Files - What information do they contain and how useful they can be? (http://www.linuxquestions.org/questions/linux-server-73/system-log-files-what-information-do-they-contain-and-how-useful-they-can-be-833450/)

Hi_This_is_Dev 09-20-2010 10:26 PM

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.

quanta 09-20-2010 10:34 PM

Quote:

Originally Posted by Hi_This_is_Dev (Post 4103964)
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 (Post 4103964)
[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?

Hi_This_is_Dev 09-20-2010 11:01 PM

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. :scratch:

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.

quanta 09-20-2010 11:43 PM

Quote:

Originally Posted by Hi_This_is_Dev (Post 4104001)
To answer the first question, I exactly said "It depends on you."

OK, thank you.
Quote:

Originally Posted by Hi_This_is_Dev (Post 4104001)
About the second question... I don't know. They asked me those questions in an interview yesterday. :scratch:

You can ask the interviewer (I guess it appears in the booting up).
Quote:

Originally Posted by Hi_This_is_Dev (Post 4104001)
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).

Hi_This_is_Dev 09-21-2010 11:23 AM

Quote:

Originally Posted by quanta (Post 4104019)
OK, thank you.

You're welcome! ;)

Quote:

Originally Posted by quanta (Post 4104019)
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!

repo 09-21-2010 11:26 AM

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

Hi_This_is_Dev 09-21-2010 11:34 AM

Quote:

Originally Posted by repo (Post 4104671)
The rotated logs, if you don't need them anymore.


Thanks for the suggestion! :D


All times are GMT -5. The time now is 04:26 AM.