Access to the site today, the database link error, and then want to restart the LNMP environment, found that the MySQL service can not be properly shut down, recall that the server has been running smoothly for 4 months, the configuration should not have any problems, so think, may be the data disk space used up, sure enough. Just think of the log file should be caused, and finally check to MySQL
PHP Small Code---separate log records from slow log files and store them in an Excel file
GetProperties ()->settitle ("Export")->setdescription ("none"); $objPHPExcel->setactivesheetindex (0); $ Objphpexcel->getactivesheet ()->getcolumndimension (' A ')->setwidth, $objPHPExcel->getactivesheet ( )->getcolumndimension (' B ')->setwidth (+), $objPHPExcel->getact
; Character Set
The following is the contents of the configuration file urconfig.properties, using configuration to control the log output of Log4cplus.
#全局默认根 logger, ignoring here.#log4cplus. Rootlogger=trace, All_msgs, Trace_msgs, Debug_info_msgs, fatal_msgs
#log4cplus. rootlogger=trace,all_msgs#log4cplus. Appender.all_msgs=log4cplus::rollingfileappender#log4cplus. Appender.all_msgs.
The main library occupies a large space, found in the OA data directory vigorously Binlog file many, in the server patrol process found that disk space is a large number of occupied, log in from the library to find the actual amount of data, should be occupied by other files, A large number of mysql-bin.xxxxx files are found under the data directory of the main library, and there are about 500 similar files
Sometimes, the log output will be sorted according to the time, such as "20140821\trace.log", in Enterprise Library through the tool configuration, can only define the log file name, You can modify the Flatfiletracelistenerdata implementation by code or the custom Trace listener way, The code to modify the Flatfiletracelistenerdata implementation code is as follo
The files under Project/runtime/logs/generate a lot, and are all 1m-2m txt filesSome sites are covered with small spaces. Which prawn knows how to turn off this log function' Db_sql_log ' = false,//SQL execution logging/* Log Settings */' Log_record ' = false,//log not logged by default' Log_type ' = 3,//logging type 0 System 1 message 3
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
Summary:A friend with Tomcat should know that it writes log files to the Catalina.out file, which is growing, and the log file is not very friendly. So we need to cut this file and show it as a file according to our needs, and we
When we use a real machine for Android Application debugging, we cannot obtain the debugging information. The error message is as follows: Unable to open log device '/dev/log/main': no such file or directory.
This is because our mobile phone has not enabled the log record. The following uses Huawei u8860 as an example
Problem Description: I have a class Foo.bar.Baz, I want to let Baz this class of log output to the specified log file, the others use the default configuration.Log4j.rootlogger=ERROR, logfilelog4j.appender.logfile= org.apache.log4j.dailyrollingfileappenderlog4j.appender.logfile.datepattern= '-' dd '. Log ' log4j.appe
Today, we use the Huawei u8825d ascend g330d mobile phone to debug logcat without outputting logs. This phone was just bought yesterday. It didn't have root, and it didn't have to be flushed.
Found the solution from the Internet
Enter the dialing interface (preferably not from a third party): * #2846579 #*#*
Select projectmenu> background Settings> Log Settings> log switch and click open. You can also se
PHP writes content to file, writes logs to log filePHPHeader("content-type:text/html; Charset=utf-8 ");/********************1, write content to file, append content to file 2, open and read file contents ********************/ $file
Statement not original ~ ~ ~
This article is the following operational consequences of the remedial method, for reference only:1, log file prompts are full, can not operate on the database;2, according to some people's experience, first detach the database, stop the SQL Server service, delete the log file, attach MDF
LNMP installation of a key install the MySQL default is to open the log file, if the data operation is more frequent will produce a lot of log, under/usr/local/mysql/var/produce mysql-bin.0000* similar files, And generally in dozens of MB to several GB, more will eat the entire hard disk space, never lead to MySQL can not start or error, such as VPS forum users f
After deploying an application on a real machine, you can use LogCat to view the Activity lifecycle logs and report the error "Unable to open log device '/dev/log/main': No such file or directory. Solution:1. Input in dial: * #2846579 #*#*________________________________________________2. See MMITEST_II.ProjectMenu________________________________________________
Execute ALTER DATABASE move operation Error ORA-01516:sql> ALTER DATABASE move datafile '/u01/app/oracle/oradata/cdb/pdb/pdb_users01.dbf ' to '/u01/app/pdb_user01.dbf ';ALTER DATABASE move datafile '/u01/app/oracle/oradata/cdb/pdb/pdb_users01.dbf ' to '/u01/app/pdb_user01.dbf '*ERROR at line 1:Ora-01516:nonexistent log file, data file, or temporary
(I) What is it?
Records detailed information about MySQL server startup and shutdown, and severe warnings and errors during running.
mysql> show variables like 'log_error';+---------------+---------------------------------+| Variable_name | Value |+---------------+---------------------------------+| log_error | /home/mysql/mysql/log/alert.log |+---------------+---------------------------------+1 row in set (0.01 sec)
F
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.