1847184 Members
4371 Online
110263 Solutions
New Discussion

Kernal log

 
SOLVED
Go to solution
Waleed_2
Occasional Contributor

Kernal log

Where can i find Kernal log and event file?
also i want to know all logs and events files
thanks


4 REPLIES 4
Muthukumar_5
Honored Contributor
Solution

Re: Kernal log

It is based upon your /etc/syslog.conf file. If you are having only default configuration of syslog.conf then event messages will be in /var/adm/syslog/syslog.log or /var/adm/message also.

dmesg -c will gives diagnostic messages.

hth.
Easy to suggest when don't know about the problem!
RAC_1
Honored Contributor

Re: Kernal log

/var/adm/syslog/syslog.log

What is logged in syslog/log is controlled by /etc/syslog.conf file.
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Kernal log

It should be something like,
# cat /etc/syslog.conf
# @(#)B.11.11_LR
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

You can use dmesg for reading messages from syslog. man dmesg for more details..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robert Fritz
Regular Advisor

Re: Kernal log

Also, if you're using kernal auditing, the fiel location is defined in /var/.audit/audtrail ($PRI_AUDFILE).

Also, here are the other sam-registered system logs:
/etc/eisa/config.err
/etc/eisa/config.log
/etc/rc.log
/etc/rc.log.old
/etc/shutdownlog
/var/adm/OLDmessages
/var/adm/OLDrld.log
/var/adm/OLDsulog
/var/adm/backuplog
/var/adm/btmp
/var/adm/cron/OLDlog
/var/adm/cron/log
/var/adm/lp/log
/var/adm/lp/log.piftopcl
/var/adm/lp/lpana.log
/var/adm/lp/lpd.log
/var/adm/lp/lpdaemon.log
/var/adm/lp/oldlog
/var/adm/messages
/var/adm/msgbuf
/var/adm/ptydaemonlog
/var/adm/rbootd.log
/var/adm/rld.log
/var/adm/snmpd.log
/var/adm/spellhist
/var/adm/sulog
/var/adm/sw/swagent.log
/var/adm/sw/swagentd.log
/var/adm/sw/swconfig.log
/var/adm/sw/swcopy.log
/var/adm/sw/swinstall.log
/var/adm/sw/swpackage.log
/var/adm/sw/swremove.log
/var/adm/sw/swverify.log
/var/adm/syslog/OLDsyslog.log
/var/adm/syslog/mail.log
/var/adm/syslog/syslog.log
/var/adm/vtdaemonlog
/var/adm/wtmp
/var/sam/log/br_log
/var/uucp/.Admin/DIALLOG
/var/uucp/.Admin/Foreign
/var/uucp/.Admin/audit
/var/uucp/.Admin/errors
/var/uucp/.Admin/uucleanup
/var/uucp/.Admin/xferstats
/var/uucp/.Log/LOGX25
/var/yp/ypserv.log
/var/yp/ypxfr.log
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin