Read about how to check error logs in linux, The latest news, videos, and discussion topics about how to check error logs in linux from alibabacloud.com
Linux system logs and analysis, linux logs
Linux has flexible and powerful log functions, which can save almost all operation records and retrieve the information we need.
The default log daemon process for most Linux distributions is syslog
Actually:
First, use Windows as the environment:
Logs in Windows
Overview of log file types:1.The error log records the problems that occur when you start, run, or stop mysqld.My. ini configuration information:# Enter a name for the error log file.
You cannot create a session when an error occurs. check the PHP or website server logs and correctly configure PHP installation (win + linux ). Solution in windows: Find the session. save_path path of php. ini and check whether this directory exists
Article Title: Analysis of Linux system logs by network engineers. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
How to query Apache logs using SQL statements in Linux
Linux has a notable feature. Under normal circumstances, you can analyze system logs to understand what is happening in your system or what is happening. Indeed, system logs are the first-hand
Sort out some common commands for Linux to view system logs.
Organize common commands for viewing system logs in Linux
Last
-A displays the host name or IP address from which to log on to the system in the last line.
-D specifies the record
Shell script batch export MYSQL database logs automatically export MYSQL binary logs locally, backed up by day
Mysqlbinlog
A tool that reads statements from binary logs. Logs of executed statements contained in the binary log file can be used to
MysqlbinlogA tool that reads statements from binary logs. Logs of executed statements contained in the binary log file can be used to help recover from a crash. I. MYSQL database logs:1. error log:-log-error2. query logs:-log3. slow query
Solution in windows:
Find the path of session. save_path = "" in php. ini and check whether this directory exists or whether the directory has write permissions for everyone or Authenticated Users. Generally
Solution in linux:
After updating
How to thoroughly Delete WDCP logs in linux: linuxwdcp
Both apache and nginx have default switch logs. One is normal access logs and the other is error logs,Directory in/Www/wdlinux/nginx-1.0.15/logs/Www/wdlinux/httpd-2.2.22/logsThese two logs
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.