collect red hat linux error logs

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat collect red hat linux error logs
# 1  
Old 08-15-2012
collect red hat linux error logs

Hi,
I have two questions,first of all is where can I collect more error logs(the log under /var/log/messages), also give the corresponding explain is grateful.The second one is the log under various versions(such as red hat,suse,etc) is the same or not.
Thanks for answers.
# 2  
Old 08-16-2012
There is no formal consensus about what or where logs should be kept on a Linux distribution or even how the logs should be rotated, Each distribution does things slightly differently. If you are writing a general purpose tool to parse Linux distribution logs, you need first to determine the specific Linux distribution and release (not as trivial as it may seem) and then build the appropriate logic into your log parser to handle the differences between distributions and releases.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Patches for Red Hat Linux

i am installing an application and i am getting this error message about patches Would you like to see system information? Operating System Information Name: Linux Architecture: i386 Version: 2.6.32-431.el6.x86_64 Required OS Patch Levels Passed Name ... (4 Replies)
Discussion started by: DOkuwa
4 Replies

2. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

Buffer I/O error in red hat linux boot up

I get error message when boot up red hat linux Buffer I/O error on device hdc ,logical block XX ... /dev/hdc:read failed after 0 of 2048 at 0 : input/output error ..... I paste the /etc/fstab file in here /dev/hdc is cdrom How can I fix it Please advice # cat /etc/fstab # This file... (3 Replies)
Discussion started by: chuikingman
3 Replies

5. Red Hat

RAID on Red Hat Linux 7.2

Hi all I have an old Compaq DL380 (G1) server with 4 hard disks. It is running Red Hat Linux 7.2 One of the disks died. I didn't build the box myself. How would I determine if software RAID was configured? I had a look a /etc/fstab, but it's only referring to ida/c0d0 The... (3 Replies)
Discussion started by: soliberus
3 Replies

6. Linux

Red Hat Linux 9

Hello there! Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read. Thanks for cooperation in advance. Enjoy using open source and breathe freely! JAM (5 Replies)
Discussion started by: Jawwad
5 Replies

7. UNIX for Dummies Questions & Answers

XP to Linux (Red Hat)

I have a PC running XP, and I have a PC that dual boots W2K and Red Hat Linux 7.3. I have the two connected via crossover cable, and the two can access each other when both are running windows. If I were to boot up Linux, can my XP PC telnet to the Linux PC? Any pointers or websites to... (3 Replies)
Discussion started by: lawadm1
3 Replies

8. UNIX for Dummies Questions & Answers

Red Hat Linux - FreeBSD

Is there a major difference between this two flavours? I have read from the forums that Red Hat is ideal for newbies, but how about FreeBSD? In case of stability and usefulness/compatibility to hardware and third party software which one is the best bet? (3 Replies)
Discussion started by: charlie499
3 Replies

9. UNIX for Dummies Questions & Answers

Slackware's Linux 3.0 VS Red Hat Linux 7.x

Hello guys, I got overzealous (I Think). I got the book Linux Unleashed that comes with the Slackware 3.0 Version of Linux for $2.00.I also have Red Hat Linux 7.2 (No book, just the OS).What I wanted to know was,other than the bells and whistles of Red Hat is there any significant difference... (2 Replies)
Discussion started by: perrylx
2 Replies

10. UNIX for Dummies Questions & Answers

Red Hat Linux 6.0

Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
Login or Register to Ask a Question