1. Information about the current logged-in user is recorded in file utmp; ==who command2. Login entry and exit record in document WTMP; ==W command3, the last login file can be viewed with lastlog command;4. messages====== log information from the SyslogNote: Wtmp and utmp files are binary files and they cannot be clipped or merged (using the Cat command) such as
1. Information about the current logged-in user is recorded in file utmp; ==who command2. Login entry and exit record in document WTMP; ==W command3, the last login file can be viewed with lastlog command;4. messages====== log information from the SyslogNote: Wtmp and utmp files are binary files and they cannot be clipped or merged (using the Cat command) such as
/log/boot.logExample: Feb 10:40:48 Sendmial:sendmail startup succeededIs that the Mail service started successfully!System logs generally exist under/var/logThe common system logs are as follows:Core Boot log:/VAR/LOG/DMESGSystem error l
/yum.log -Contains package information that is installed with Yum.
/var/log/cron -each time the cron process starts a job, the information is recorded in this file.
/var/log/secure -contains authentication and authorization aspects information. For example, SSHD will record all information (including failed logins)
) here./var/log/wtmp or/var/log/utmp-contains login information. Use Wtmp to find out who is logging into the system, who uses commands to display this file or information./var/
/Boot Log for system:/var/log/boot.logFor example: Feb 10:40:48 Sendmial:sendmail startup succeededIs that the Mail service started successfully!System logs are generally present under/var/logThe usual system logs are as follows:Core Boot log:/
/yum.log -Contains package information that is installed with Yum.
/var/log/cron -each time the cron process starts a job, the information is recorded in this file.
/var/log/secure -contains authentication and authorization aspects information. For example, SSHD will record all information (including failed logins)
the font configuration . /VAR/LOG/FSCK-File System log/var/log/faillog-Contains user logon failure information. In addition, the error login command is also recorded in this file./var/log
record all information (including failed logins) here.
/var/log/wtmp or/var/log/utmp -contains login information. Use Wtmp to find out who is logging into the system, who uses the command to display this file or information, an
the cron process starts a job, the information is recorded in this file.The/var/log/secure-contains authentication and authorization aspects information. For example, SSHD will record all information (including failed logins) here./var/log/wtmp or/
1)/var/log/secure: Record log in system to access data files;For example: POP3,SSH,TELNET,FTP, etc. will be recorded here.2)/var/log/wtmp: Record login This information record, has been encoded, so must be resolved with last;Examp
Linux system logs are generally placed in the/var/log directory, for the understanding of this directory of the role of the document is very important, I would like to list some of the work commonly used in the log document, and the role of the file, I hope to help you, record down to oneself also convenient:/var/
Method 1:Solution:Enter the following command on the terminal:Setsebool ftpd_disable_trans 1Service vsftpd restartPress enter. The network is too powerful.Method 2:I had the same problem recently, I also got the message:500 OOPS: failed to open xferlog log file:/var/log/xferlogThis is what I did:Open a terminalSwitch to root using su-Service vsftpd stopWait for t
configuration . /var/log/fsck- File System log/var/log/faillog- contains user logon failure information. In addition, the error login command is also recorded in this file. /var/log/h
1. Description of the problemThe log file for the system needs to be viewed today, but the file is not found /var/log/messages . Online search for the material, said to be configured /etc/syslog.conf . Syslog uses a configurable, unified system registration program that accepts log requests from all parts of the system
Ubuntu System log configuration/var/log/messages1. Problem Description
You need to view the system log file today, but cannot find the/var/log/messages file. You need to configure/etc/syslog. conf. Syslog uses a configurable and u
Ubuntu System log configuration/var/log/messages, tumessages1. Problem Description
You need to view the system log file today, but cannot find it/var/log/messagesThis file. Search for documents on the Internet, saying you want to
Tags: shell script periodic commands use quotation marks Roo chmod log file var logSimple little script, big God DetourImplementation steps:1 Writing scripts2 Doing recurring planning tasks1 scripting[Email protected] ~]# vim tar.shScript content:#!/bin/bash#编写备份脚本, the file name contains a date label after the backup, preventing subsequent backups from overwriting the previous backup data#注意将date命令使用反引号扩起来
/Var/log/messages is fully occupied (Problem Solving), and messages is fully occupied
We have encountered a problem before. The web service is abnormal because the log file occupies the server space.
Problem -- tomcat restarts Insufficient space for shared memory file
The solution is to delete the log file and restore
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.