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

why you are using nis server

2 Answers  


This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.

0 Answers  


rpm package installation error in centos 6.4 [root@localhost packages6.4]# rpm -ivh nfs-utils-1.2.3-36.el6.i686.rpm warning: nfs-utils-1.2.3-36.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed dependencies: keyutils >= 1.4-4 is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent-1.4.so.2 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1(libgssapi_CITI_2) is needed by nfs-utils-1:1.2.3-36.el6.i686 libnfsidmap.so.0 is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 nfs-utils-lib >= 1.1.0-3 is needed by nfs-utils-1:1.2.3-36.el6.i686 rpcbind is needed by nfs-utils-1:1.2.3-36.el6.i686

1 Answers  


What is the minimum number of partitions you need to install Linux?

30 Answers  


What file should you examine to determine the defined runlevels for your system?

7 Answers  






what is NIS Server...?

2 Answers   IBM,


What is the complete name of the default configuration file for LILO?

1 Answers  


How to convert an IP address to a Domain name using Unix ?

2 Answers   Verse Innovation,


What text filter can you use to display a binary file in octal numbers?

1 Answers  


how can i make an user to nologin without locking the account for the user

7 Answers   CSS, CSS Corp,


how do you configure linux system as a router?

4 Answers   HCL,


What is the difference between an argument and an option/switch?

3 Answers   Wipro,


Categories