linux系统varlog目录下的信息详解(国外英语)
linux系统varlog目录下的信息详解(国外英语资料)
Detailed information in the Linux system/var/log directory
A, the/var directory
All services/var file or error message of login, file (LOG FILES) are under/var/LOG, in addition, some database such as MySQL under/var/lib, and user unread mail the default location is/var/spool/mail
2: / var/log /
System boot log: / var/log/boot. Log
For example: Feb 26 10:40:48 sendmial: sendmail startup succeeded
It's the email service that started successfully!
The system log is always under/var/log
Common system logs are as follows:
Core startup log: / var/log/dmesg
System error log: / var/log/messages
Mail system log: /var/log/maillog
FTP system log: / var/log/xferlog
Security information and system login with network connection information: / var/log/secure
Login record: / var/log/WTMP records login record, binaries, you must use the last to read the content who -u/var/log/WTMP view information
News log: / var/log/spooler
RPM packages: / var/log/RPMPKGS
XFree86 log: / var/log/XFree86.0. Log
Boot log: / var/log/boot. Log log boot up message, dmesg | more
Cron (custom task log) log: / var/log/cron
Security information and system login with network connection information: / var/log/secure
The file/var/run/utmp records the user logged in now.
File/var/log/WTMP records all login and logout.
File/var/log/lastlog records the last login information for each user.
File/var/log/BTMP record incorrect login attempts.
Less/var/log/auth. Log requires an authentication operation
Partial orders are detailed
The/var/log/messages
The messages log is the core system log file. It contains boot messages for the system startup and other status messages when the system is running. The IO errors, network errors, and other system errors are recorded in this file. Other information, such as a person's identity switching to root, is also listed here. If the service is running, such as the DHCP server, you can observe its activities in the messages file. Usually, /var/log/messa