What is the name and path of the main system log?

Answers were Sorted based on User's Feedback



What is the name and path of the main system log?..

Answer / sudeep

Name of the main system log is "messages" and path is
/var/log/messages

Is This Answer Correct ?    19 Yes 0 No

What is the name and path of the main system log?..

Answer / krishna prasad m

/var/log/messages system log messages can be seen here
/var/log/dmesg Kernel boot log messages can view

Is This Answer Correct ?    8 Yes 1 No

What is the name and path of the main system log?..

Answer / amit kumar ghosh

There are Three centralized loggin demons
1)syslogd
2)klogd
3)auditd

klogd:- collect log file created by the Kernel
syslogd:- Collect log file created by the system
auditd:- Collect log file created by the SELinux

After collecting the log system store logs on different location
/var/log/dmesg:- Created at boot time, by kernel
/var/log/messages:- standard system error message,
/var/log/secure:- authentication related log
/var/log/maillog:- Mial related log
/var/log/audit/audit.log:-Selinux related log

We can redirect the log by configuring
/etc/sysconfig/syslog
/etc/syslog.conf

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

How to recover a deleted file in linux ?

5 Answers  


What is the difference between home directory and working directory?

10 Answers   Accenture, Flexi,


how do you configure linux system as a router?

4 Answers   HCL,


How find out drivers of installed devices in linux (RHEL)?

2 Answers  


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

1 Answers   Oracle,


How to send automated email to a set of people at fixed time ?

3 Answers   Accenture, HP,


Give a Linux shell command to find all files in a directory which contain ip addresses.

1 Answers   Amazon,


i want some basic level enterview questions can any one can help me in this

1 Answers   TCL,


How to load the old kernel without rebooting server

1 Answers  


How to build new filesystem ? and what is irig file system?

3 Answers  


what restrict telnet for root itself but allow for other user

3 Answers   CA,


What are main anti-spam features available in sendmail?

1 Answers   CSC,


Categories