一.前提知识 主机时间与虚拟机时间不同步所致.我们在某一操作系统所属磁盘空间下创建一个文件,那么这个文件的创建时间是以磁盘所属的操作系统的时钟为基准的. 我们假设主机windows的系统时间是10:00,但是虚拟机linux系统的时间是9:00.c:/work是主机通过VMware Tools共享给虚拟机的文件夹,挂载在虚拟机的位置是/mnt/hgfs/work. 我们在虚拟机上在/mnt/hgfs/work目录下创建一个文件,那么这个文件的创建时间是10:00,因为work文件夹属于windo…
linux下,make makefile文件的时候报警告: make: Warning: File `Makefile' has modification time 17 s in the future make: warning: Clock skew detected. Your build may be incomplete. 原因是:系统时间不正确,文档被修改的时间比系统时间大,把系统时间修改正确即可. 解决方法: 修改时间的命令: date -s 07/13/2007 date -s…
错误描述: 执行make命令时出现"make[2]: Warning: File `xxx.c' has modification time 1.6e+05 s in the future "警告,原因是宿主机与虚拟机的系统时间没有同步造成的. 解决方法: 将时间将同步! 由于时钟同步问题,出现 warning:  Clock skew detected.  Your build may be incomplete.这样的警告, 解决办法: find . -type f | xargs…
Nginx安装时Warning: File `src/core/nginx.h' has modification time 1.2e+07 s in the future问题的解决方法 问题场景: 解压文件:tar -zxvf nginx-1.7.4.tar.gz nginx-1.7.4/ nginx-1.7.4/auto/ nginx-1.7.4/conf/ tar: nginx-1.7.4/auto: time stamp 2014-08-05 19:13:10 is 12165186.0…
前段时间集群出问题,hadoop和hbase启动不了了. 后来hadoop回复了,hbase死活master无法启动.打开日志发现报了以下错误: WARNING! File system needs to be upgraded. You have version null and I want version 7. Run the '${HBASE_HOME}/bin/hbase migrate' script. 于是上网search,网上这位兄弟提供了解决办法: http://www.cnb…
jenkins:master-slave 模式: master编码配置: slave编码配置: 可以看出master 和 slave的配置是一样的,但是当项目在slave上执行的时候,偶尔会报如下错误(偶尔的原因可能在于项目是否配置了项目插件的编码,而不是依赖于平台的编码) 另外编码信息,还有这样查看: 错误信息如下: [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i…
upload_tmp_dir 临时文件夹问题 上传文件提示 Warning: File upload error - unable to create a temporary file in Unknown on line 0 找到php.ini 中的 upload_tmp_dir 把前边的“:”去掉然后改为upload_tmp_dir =C:\Windows\temp最后记得重启apache…
国内私募机构九鼎控股打造APP,来就送 20元现金领取地址:http://jdb.jiudingcapital.com/phone.html内部邀请码:C8E245J (不写邀请码,没有现金送)国内私募机构九鼎控股打造,九鼎投资是在全国股份转让系统挂牌的公众公司,股票代码为430719,为“中国PE第一股”,市值超1000亿元.  -----------------------------------------------------------------------------------…
代码在本地运行一切都OK,放到服务器上,网站访问正常,上传就出现该错误. 提示:PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 出现问题的服务器:Windows server 2012 Standard iis8 php5.5.37 fastCGI 原因:原来是在配置php环境的时候,php.ini没有设置upload_tmp_dir . 如果 php.ini 没有设置…
问题:再利用webuploader上传图片的时候发现,报错,打印了$_FILES["file"]["error"] 发现是6,找不到临时文件夹: $_FILES['file']['error']有以下几种类型: 1.UPLOAD_ERR_OK 其值为 0,没有错误发生,文件上传成功. 2.UPLOAD_ERR_INI_SIZE 其值为 1,上传的文件超过了 php.ini 中 upload_max_filesize选项限制的值. 3.UPLOAD_ERR_FORM_…
原因:上传文件时,没有管理员权限的你不能读取临时文件夹; 解决方法(两种)找到临时文件夹并给当前访问用户所有权限; 方法一: 找到Apache默认的临时文件,步骤如下: 1.找到临时文件夹,一般在C:\Windows\Temp; 2.右键属性>安全>用户>编辑>开启所有权限; 如果第一种办法系统提示不够权限,那么使用方法二; 方法二: 自定义一个新的临时文件夹,步骤如下: 1.找到并打开php.ini; 2. php.ini里搜索upload_tmp_dir,去掉前面的分号,设置一…
这是因为一个项目从一个电脑拷贝的到另一个电脑上时,两个电脑的时钟不一致所致,修改一下项目所在目录的修改时间即可: find /your/dir -type f -exec touch {} + 也可以通过修改系统时间来解决: date -s '13:49:00 2014-01-18'…
开发板:EDUKIT-III实验箱,S3C2410+LINUX2.4,实验箱随箱光盘提供的Zimage,nor flash启动. 主机:ubnutn10.4LTS,arm-linux-gcc 2.95.3 问题1:交叉工具链:cross-2.95.3.tar.bz2(下载地址:http://ftp.arm.linux.org.uk/pub/armlinux/toolchain/),开始使用的交叉工具链是arm-linux-gcc-3.3.2(下载地址:http://www.handhelds.o…
1:/tmp/redis-2.6.14/src/zmalloc.c:223:undefined reference to '__sync_add_and_fetch' make时加参数: make CFLAGS= -march=i686(这个根据情况填写参数值) 2:make[1]: Warning: File `.make-settings' has modification time 8.3e+02 s in t....' 修改文件修改时间: find |axvf touch touch .…
Linux makefile 教程 非常详细,且易懂 http://blog.csdn.net/liang13664759/article/details/1771246 //sort.c #include <stdio.h> #include <string.h> void swap(int* a, int* b); ] = {, , , ,}; void show(int * parry, int size) { ; printf("parry:"); ;…
(0)Redis-port原理: 首先是看到下面这篇文档开始研究的redis-port http://www.itnpc.com/news/web/146085373656602.html  简要截图如下: 上面的两点实际上是实现4个功能,在redis-port安装包README.md的文档中也有介绍 * **DECODE** dumped payload to human readable format (hex-encoding) * **RESTORE** rdb file to targ…
  Preface       When I was compiling the sysbench just now,I encountered some failures in the precedure.I'll show the issue and workaround below.   Issues   1. Executing autogen.sh script turned out to be error. [root@docker1 sysbench]# ./autogen.sh…
一.简介 Redis是什么?redis是一款基于BSD协议,开源的非关系型数据库(nosql数据库),作者是意大利开发者Salvatore Sanfilippo在2009年发布,使用C语言编写:redis是基于内存存储,而且是目前比较流行的键值数据库(key-value database),它提供将内存通过网络远程共享的一种服务,提供类似功能的还有memcache,但相比 memcache,redis 还提供了易扩展.高性能.具备数据持久性等功能.主要的应用场景有session共享,常用于web…
maven打包编译时后台一直输出警告信息 [WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent! 找了半天,原来只要在pom.xml文件中增加一个配置项即可 <properties>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncodi…
Java HotSpot(TM) Server VM warning: Using the DefNew young collector with the CMS collector is deprecated and will likely be removed in a future releaseJava HotSpot(TM) Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be…
Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 转载:http://jackyrong.iteye.com/blog/1930385 根据…
Network Working Group R. Fielding Request for Comments: 2616 UC Irvine Obsoletes: 2068 J. Gettys Category: Standards Track Compaq/W3C J. Mogul Compaq H. Frystyk W3C/MIT L. Masinter Xerox P. Leach Microsoft T. Berners-Lee W3C/MIT June 1999 Hypertext T…
淘宝买了usb转RJ45的接口转换器:https://detail.tmall.com/item.htm?id=524808012954&ali_refid=a3_430582_1006:1105586579:N:USB%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%20%E7%AC%94%E8%AE%B0%E6%9C%AC:eb696d88976cbb7272321d0ffa0bb488&ali_trackid=1_eb696d88976cbb7272321d0…
part of Hypertext Transfer Protocol -- HTTP/1.1RFC 2616 Fielding, et al. 14 Header Field Definitions(规定) This section(部分,章节) defines(规定定义) the syntax(语法) and semantics(语意) of all standard(标准) HTTP/1.1 header fields. For entity-header fields, both sen…
5. Basic Organizations 5.1 Data structures5.2 Security architecture of the card 5.3 APDU message structure 5.4 Coding conventions for command headers, data fields and response trailers 5.5 Logical channels 5.6 Secure messaging 5.1 Data structures Thi…
文章出处:http://www.restran.net/2015/04/09/gilab-centos-installation-note/ 在 CentOS 6.5 Minimal 系统环境下,用源代码的方式安装 Gitlab 7.5 的过程中,遇到了不少问题,现把笔记整理出来. Distribution : CentOS 6.5 Minimal GitLab version : 7.0 - 7.4 Web Server : Apache, Nginx Init system : sysvin…
原文: https://code.google.com/p/googlemock/wiki/CookBook Creating Mock Classes Mocking Private or Protected Methods Mocking Overloaded Methods Mocking Class Templates Mocking Nonvirtual Methods Mocking Free Functions The Nice, the Strict, and the Naggy…
原文地址:http://cheats.jesse-obrien.ca/ Artisan // Displays help for a given command php artisan --help OR -h // Do not output any message php artisan --quiet OR -q // Display this application version php artisan --version OR -V // Do not ask any interac…
准备 1.Python 2.Visual Studio 3.svn checkout http://google-breakpad.googlecode.com/svn/trunk/ source code 编译 1.转到google-breakpad根目录下,打开命令行,运行 src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp  --no-circular-check 如果不加 --no-circular-check 参数,…
Part 1: The asynchronous channel APIs The More New I/O APIs for the Java™ Platform (NIO.2) is one of the major new functional areas in Java 7, adding asynchronous channel functionality and a new file system API to the language. Developers will gain s…