What is the name and path of the main system log?
Answers were Sorted based on User's Feedback
Answer / sudeep
Name of the main system log is "messages" and path is
/var/log/messages
| Is This Answer Correct ? | 19 Yes | 0 No |
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 |
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 |
How to recover a deleted file in linux ?
What is the difference between home directory and working directory?
how do you configure linux system as a router?
How find out drivers of installed devices in linux (RHEL)?
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 ?
How to send automated email to a set of people at fixed time ?
Give a Linux shell command to find all files in a directory which contain ip addresses.
i want some basic level enterview questions can any one can help me in this
How to load the old kernel without rebooting server
How to build new filesystem ? and what is irig file system?
what restrict telnet for root itself but allow for other user
What are main anti-spam features available in sendmail?