Monitor the PHP process and error log check shell1: when asynchronous processing is performed, the program will inevitably fail. this shell can be used to listen to the PHP script process processed by the queue, if the process is dead, it will restart. #! Binbashprocess 'PS-ef | grepwwwprojecthandle. php | grep-vgrep | wc-L' if [$ process-e monitor the shell for
cared for by the upper class or connection pool.5. Exception, handed to the caller to handle, if it is thought that the hierarchy should handle this exception, handle it yourself.6. If exception is processed at its own level, the return value is best for the program to continue, but does not further process the numeric value of the data. For example: Return an empty list, then the caller receives the return value, does not break the program, and because the number of returned list is 0, does no
Scenario: Sometimes the binary files in the disk are deleted due to disk corruption or human error, resulting in a mismatch between the show binary logs record in MySQL and the binary file in the actual physical disk#binlogdiff. Sh#!/bin/sh#[email protected]#作用: MySQL show binary logs recorded binary log file and actual physical file comparison, check#磁盘中对应的二进制日志
Error Log switch and view, SqlServer log
SQL Server logs and Agent error days are generally automatically switched after the instance is restarted. If the instance has not been restarted for a long time, too many logs may be accumulated, which is inconvenient to view.
Log
(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
[Architecture] MySQL Log File-Error Log (I) What is it? Record detailed information about MySQL Server startup and shutdown, and serious warnings and error messages during running [SQL] mysql> show variables like 'Log _ error '; +
1.1 symptom description authorized by common usersSysdbaFailed to log on to database with the permission. The system displays the following error message:% SqlplusAs sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 26 14:28:11 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon deniedHowever
S
to specify to the error page, you can also specify to the custom controller, or directly output custom error prompt!
App::error (function (Exception $exception, $code) {log::error ($exception); Return Response::view (' error
Phenomenon:
The operation cannot be completed while a DML operation is in progress. There is no response when exiting Sqlplus---------stuck and unable to exit normally.
Log on to the host of the database and use Sqlplus to log in to the DBA user, prompting for an error.
[Oracle@oel-01 ~]$ Sqlplus Bys/bys
Sql*plus:release 11.2.0.1.0 Production on Sun June 21 1
The SQL SERVER 2008 R2 database that was previously built in the UAT environment has been used fairly well, but recently found that nothing can be done in SharePoint, starting to think that there is something wrong with the configuration (because of the ongoing research on some new applications and integrations that need to be constantly tested), But later found that the database hard disk is not a bit of space, so naturally can not save any data, so the first start to clean up some useless data
Check the logs on the machine today, accidentally found a bunch of errors. Because previously configured DNS and squid, error, after the error, a certain degree, did not find the answer.Here is a little error message:8 11:40:30 host named[1668]: error (unexpected RCODE refus
started, and service httpd start fails directly without any error message. forget to help you.
Reply to discussion (solution)
Restart the server.
The cause is that the mod_nss certificate has expired. the solution is as follows: First, check apache's error_log. the following error is displayed in the/var/log/httpd/
the current user, and then install the system again, install myeclipse 8.5 In the new directory.When the system is started, there is a workspaces directory by default, which also points to a directory that does not contain Chinese text. After this startup, no output is reported.
An error has occurred. See error log for more details.107Error message to solve the
Simple REDO file corruption error ORA-00333 REDO log read Block ErrorI. fault description
First, the REDO file required for instance recovery is damaged.
Ii. solution 1. Use the following CLEAR command for non-current REDO or current REDO but no active transactions:
Use the CLEAR command to recreate the log file SQL> alter database clear logfile group 3;
If the
resetlogs to open a database
Note:
In this way, the recovered database is consistent and incomplete, and transaction data in the current online log is lost.
This method is suitable for archiving databases and full backup of available databases.
After the recovery is successful, remember to make a full backup of the database again.
It is recommended that online log files be stored on different disks to avoi
Reprinted from: http://blog.sina.com.cn/s/blog_709548200102vgy4.htmlProblem Description:The newly installed NetBeans8.0.2, the installation process also integrates with the included Tomcat8.0.15, open NetBeans Run Web project failed, console output error message is as follows:Failed to start Tomcat.\build-impl.xml:1164: Deployment error: Booting Tomcat failed.For more information,
Tags: io os on admin SQL window C Windows method1, IP address is not configured correctly:Open the SQL Server Configuration Manager under Microsoft SQL Server 2005 Config tool, select the MSSQLSERVER protocol, and then double-click TCP/IP in the right window to check the configuration in the pop-up window.2, may be caused by the VIA protocol enabled. Here's how to fix it:Additionally, the Administrator password modification can cause the SQL Server se
Cause: ORA-00257 error (lack of space error), by looking for information, the vast majority of this is due to the archive log too much, occupy all the hard disk space caused by the simple deletion of the log or increase storage space can be resolved.
Solution:
1, login server, user Oracle, connect Oracle
[root@userbeta
] StackTrace:java.lang.reflect.Method.invoke (method.java:592) [Oct 9, 4:27:55 AM] StackTrace:oracle.opatch.UtilSe Ssion.process (utilsession.java:322) [Oct 9, 4:27:55 AM] StackTrace:oracle.opatch.OPatchSession.main ( opatchsession.java:2346) [Oct 9, 4:27:55 AM] StackTrace:oracle.opatch.OPatch.main (opatch.java:613) Problem Analysis: We can clearly see through the above log information because opatch minimum version requirements are not met. Ref
server (s )...
ORACLE_BASE from environment =/u01/app/oracle
Wed Jul 08 21:59:39 2015
Alter database mount
Wed Jul 08 21:59:43 2015
Successful mount of redo thread 1, with mount id 2105928075
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount
Wed Jul 08 22:11:45 2015
Time drift detected. Please check VKTM trace file for more details.
Wed Jul 08 22:11:59 2015
Alter database open
Wed Jul 08 22:11:59 2015
E
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.