Computer room A server on the MySQL run for some time, suddenly appeared a very strange phenomenon: After restarting can not be restored! The exact situation is: After starting MySQL, it is closed again. View the MySQL error log as follows:160920 22:41:41 Mysqld_safe starting mysqld daemon with databases from/home/mysqldata/2016-09-20 22:41:41 0 [Note]/data/app/mysql5.6.25/bin/mysqld (mysqld 5.6.25-log) starting as Process 32372 ...2016-09-20 22:41:42
Tags: mtime original article ali span size Linux file sizes execute shorthandLinux file propertiesIn Linux, for each file has the corresponding attributes, in the root user home directory of Linux in the new file A.txt as an example, enter a few characters in the A.txt
Use command Ls-ild a.txt to view file permissions, etc.
[Email protected] ~]# Ls-ild a.txt1057689-rw-r--r--. 1 root root 8 Apr 9 19:42 a.txtDescriptionFirst column: 105768
printing tm,tm_year from 1900, so to add 1900, month Tm_mon, calculated from 0, so add 13. Ideas:Using random numbers to generate an array subscript in the 0~n-1 range, when the corresponding number is not 0, then set to N-i-1, so that only need to put n-1, the last one is 0.The method for generating a random number in the 0~n-1 range is to take the random number pair n to generate the rand ().4. Operation Result:Time:tue APR 19 12:28:42 2016A[7]:23T
by each file refer to the combination of file permission attributes and type attributes. You can use the ls command to view the permissions of personal files and directories. For example, the following file:
1example @ localhost ~ /Test ls-lrt stock_trading_systems
2-rwxrwxrwx 1 example Domain Users 0 Jul 15 :42 stock_trading_systems *
All users, group members, and others have read, write, and execute permissions on them. You can learn more about fil
/mysql3606.sock \> -- defaults-file =/data/inst3606/data3606/my3606.cnf/data/bak /hotbakInnoDB Backup Utility v1.5.1-xtrabackup; copyright 2003,200 9 Innobase Oy ............ 141105 15:41:59 innobackupex: Connecting to MySQL server with DSN 'dbi: mysql :;............. innobackupex: Using mysql server version 5.6.12-loginnobackupex: Creat Ed backup directory/data/bak/hotbak/2014-11-05_15-42-02 # create a timestamp-based folder under the specified backu
Because Lync2013 needs to install stand-alone Office web App services for OneNote and PPT sharing, and in Lync2010, the PPT sharing feature is integrated by default in the Lync front-end server, where the Office Web Apps server begins to deployInstall the prerequisite components for the Office Web App Server first, with the following commandAdd-windowsfeature? Web-server,web-mgmt-tools,web-mgmt-console,web-webserver,web-common-http,web-default-doc,web-static-content, Web-performance,web-stat-com
the following arguments:--socket=/tmp/mysql3306.sock--port=3306--pid-file=/var/lib/mysql/my3306.pid--user=mysql--server-id=3306-- Federated[[email protected] ~]# ps-ef|grep MySQLRoot 2963 2840 0 14:10 pts/0 00:00:00 grep mysql# Author:leshami# Blog: Http://blog.csdn.net/leshami#查看mysqld启动配置文件的优先级[[email protected] ~]# mysqld--verbose--help |grep-a 1 "Default Options"Default options is read from the following files in the given order:/ETC/MY.CNF/ETC/MYSQL/MY.CNF/USR/ETC/MY.CNF ~/.my.cnf#查看当前的my.
After uploading to a git repository with a maven-built Java Web project, when a colleague clones the project and deploys to Tomcat, the following error is reported, that is, when the Web project is launched, the. xml file is loaded, the spring listener is not found, and the console error is as follows:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
十月 30, 2015 4:42:36 下午 org.apache.catali
Yum has been configured in advance
1. Check whether iptableis disabled
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/D6/wKiom1PY1JSiEN0wAAGmHS6y_ig133.jpg "Title =" 18.png" alt = "wkiom1py1jsien0waagmhs6y_ig133.jpg"/>
Ii. Install the DHCP service and modify the configuration
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/C5/wKiom1PYxdGzIxjnAAF8W4VodcU555.jpg "style ="
protocol information.
-R
-S
-S lists the number of TCP associations with absolute rather than relative values.
-T displays a time stamp on each column dumping data.
The-TT displays an unformatted timestamp on each column of dumping data.
-T
-V details the instruction execution process.
-VV Displays the instruction execution process in more detail.
-X lists the packet data in hexadecimal codewords.
-W
Instance
displaying TCP packet information
# tcpdump
Tcpdump:ver
binlog when the master database dies.F. Check whether binlog (apply_diff_relay_logs) of different slave databases can be applied)G. Check IP address switching. If there is a deployment script
4. Actual detection process[Root @ vdbsrv4 ~] # Masterha_check_repl -- conf =/etc/masterha/app1.cnfFri Apr 17 18:48:41 2015-[warning] Global configuration file/etc/masterha_default.cnf not found. Skipping.Fri Apr 17 18:48:41 2015-[info] Reading application default configuration from/etc/masterha/app1.cnf
system (192.168.6.101). The following first deceives the target system, and executes the command as follows:[emailprotected]:~# arpspoof -i eth0 -t 192.168.6.101 192.168.6.150:e5:49:eb:46:8d 0:19:21:3f:c3:e5 0806 42: arp reply 192.168.6.1 is-at 50:e5:49:eb:46:8d50:e5:49:eb:46:8d 0:19:21:3f:c3:e5 0806 42: arp reply 192.168.6.1 is-at 50:e5:49:eb:46:8d50:e5:49:eb:46:8d 0:19:21:3f:c3:e5 0806
Before the start of MongoDB is quite normal, do not know the start error later, the paste out query. Finally know is due to their abnormal shutdown caused by this situation.--Excerpt: MongoDB abnormal shutdown after repair recordMongod no background execution, after the terminal connection is not properly disconnected, perform the Mongod error again, as follows:[[emailprotected] mongodb]#./bin/mongod/bin/mongod--help for help and startup options Thu Nov 22:4
I. Basic authority and attribution1. Access rightsREAD: Allow viewing, displaying directory listingsWrite: Allow modification, allow new, move, delete files or subdirectories in the directoryExecutable: Allow to run programs, switch directories2. View permissions for a file# ls-l Install.log-|rw-|r--|r--1 root root 26195 Dec 10:42 Install.log①②③④⑤⑥⑦⑧⑨⑩①. File type-Representing ordinary documentsD Stands for DirectoryL Stands for Connection②. rw-: Perm
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.