tar time stamp in the future 报错 解决方案_玩IT的川的博客-程序员宅基地

技术标签: 故障排查及解答  

mysql-5.1.60/libmysqld/embedded_priv.h tar: mysql-5.1.60/libmysqld/embedded_priv.h: time stamp 2011-10-30 02:09:51 is 309950846.424678957 s in the future tar: mysql-5.1.60/libmysqld: time stamp 2011-10-30 02:19:47 is 309951442.424618574 s in the future tar: mysql-5.1.60: time stamp 2011-10-30 02:20:16 is 309951471.424596286 s in the future

后面发现原来是

tar time stamp in the future问题

在A机器上用tar压缩的文件,在B机器上进行解包的时候,如果两个机器的时间不一致,如B机器的时间落后A机器的时间,这时

就会出现time stamp in the future的问题。如何解决这个问题呢:

(1)一是检查B机器的时间,如果确有问题请修改B机器的时间(sudo date -s "YYYY-MM-DD HH:MM:SS")

(2)二是使用tar命令的-m参数,比如tar xmzf abc.tgz(-m, --touch, --modification-time【don't extract file modified time】)

大致意思就是suppress时间戳检查,而是使用新的系统时间进行解包,解包后的文件时间戳将是新的系统时间而不是原文件的时间戳了。

以上每一条都可以解决问题,比如第一条可以修改系统的时间超过原压缩包中文件的时间戳即可,而第二条完全不顾时间戳是什么,直接修改时间戳。

 

date -s 11/18/2013

date -s 11:10:53

这样在执行脚本或者tar 命令就不报错了!

/mem/
mysql-5.1.60/storage/innobase/mem/mem0pool.c
mysql-5.1.60/storage/innobase/mem/mem0mem.c
mysql-5.1.60/storage/innobase/mem/mem0dbg.c
mysql-5.1.60/storage/innobase/lock/
mysql-5.1.60/storage/innobase/lock/lock0iter.c
mysql-5.1.60/storage/innobase/lock/lock0lock.c
mysql-5.1.60/storage/innobase/include/
mysql-5.1.60/storage/innobase/include/srv0que.h
mysql-5.1.60/storage/innobase/include/ha0ha.h
mysql-5.1.60/storage/innobase/include/eval0proc.h
mysql-5.1.60/storage/innobase/include/os0thread.h
mysql-5.1.60/storage/innobase/include/row0vers.ic
mysql-5.1.60/storage/innobase/include/sync0arr.ic
mysql-5.1.60/storage/innobase/include/row0ins.ic
mysql-5.1.60/storage/innobase/include/db0err.h
mysql-5.1.60/storage/innobase/include/dict0dict.h
mysql-5.1.60/storage/innobase/include/ha0ha.ic
mysql-5.1.60/storage/innobase/include/eval0proc.ic
mysql-5.1.60/storage/innobase/include/ut0rnd.h
mysql-5.1.60/storage/innobase/include/usr0sess.ic
mysql-5.1.60/storage/innobase/include/trx0undo.h
mysql-5.1.60/storage/innobase/include/row0umod.ic
mysql-5.1.60/storage/innobase/include/pars0sym.ic
mysql-5.1.60/storage/innobase/include/buf0rea.h
mysql-5.1.60/storage/innobase/include/dict0types.h
mysql-5.1.60/storage/innobase/include/btr0sea.ic
mysql-5.1.60/storage/innobase/include/log0log.h
mysql-5.1.60/storage/innobase/include/trx0rec.ic
mysql-5.1.60/storage/innobase/include/dict0boot.h
mysql-5.1.60/storage/innobase/include/mem0pool.h
mysql-5.1.60/storage/innobase/include/thr0loc.ic
mysql-5.1.60/storage/innobase/include/fsp0types.h
mysql-5.1.60/storage/innobase/include/ut0dbg.h
mysql-5.1.60/storage/innobase/include/sync0sync.h
mysql-5.1.60/storage/innobase/include/pars0sym.h
mysql-5.1.60/storage/innobase/include/srv0srv.ic
mysql-5.1.60/storage/innobase/include/rem0rec.h
mysql-5.1.60/storage/innobase/include/trx0sys.ic
mysql-5.1.60/storage/innobase/include/mtr0mtr.ic
mysql-5.1.60/storage/innobase/include/ut0byte.ic
mysql-5.1.60/storage/innobase/include/row0umod.h
mysql-5.1.60/storage/innobase/include/mem0pool.ic
mysql-5.1.60/storage/innobase/include/row0undo.h
mysql-5.1.60/storage/innobase/include/row0row.h
mysql-5.1.60/storage/innobase/include/lock0types.h
mysql-5.1.60/storage/innobase/include/data0data.ic
mysql-5.1.60/storage/innobase/include/dyn0dyn.ic
mysql-5.1.60/storage/innobase/include/dict0mem.h
mysql-5.1.60/storage/innobase/include/row0sel.h
mysql-5.1.60/storage/innobase/include/row0uins.ic
mysql-5.1.60/storage/innobase/include/mach0data.h
mysql-5.1.60/storage/innobase/include/buf0buf.h
mysql-5.1.60/storage/innobase/include/data0types.h
mysql-5.1.60/storage/innobase/include/trx0roll.h
mysql-5.1.60/storage/innobase/include/data0type.ic
mysql-5.1.60/storage/innobase/include/mtr0mtr.h
mysql-5.1.60/storage/innobase/include/pars0opt.h
mysql-5.1.60/storage/innobase/include/lock0lock.ic
mysql-5.1.60/storage/innobase/include/lock0priv.h
mysql-5.1.60/storage/innobase/include/ut0ut.h
mysql-5.1.60/storage/innobase/include/log0recv.h
mysql-5.1.60/storage/innobase/include/ut0list.h
mysql-5.1.60/storage/innobase/include/buf0buf.ic
mysql-5.1.60/storage/innobase/include/row0upd.h
mysql-5.1.60/storage/innobase/include/sync0sync.ic
mysql-5.1.60/storage/innobase/include/sync0types.h
mysql-5.1.60/storage/innobase/include/ut0rnd.ic
mysql-5.1.60/storage/innobase/include/os0proc.ic
mysql-5.1.60/storage/innobase/include/mem0dbg.ic
mysql-5.1.60/storage/innobase/include/trx0roll.ic
mysql-5.1.60/storage/innobase/include/hash0hash.h
mysql-5.1.60/storage/innobase/include/ut0list.ic
mysql-5.1.60/storage/innobase/include/dict0load.ic
mysql-5.1.60/storage/innobase/include/row0mysql.ic
mysql-5.1.60/storage/innobase/include/page0page.h
mysql-5.1.60/storage/innobase/include/row0vers.h
mysql-5.1.60/storage/innobase/include/fut0fut.ic
mysql-5.1.60/storage/innobase/include/lock0iter.h
mysql-5.1.60/storage/innobase/include/dict0boot.ic
mysql-5.1.60/storage/innobase/include/usr0types.h
mysql-5.1.60/storage/innobase/include/ut0mem.h
mysql-5.1.60/storage/innobase/include/ibuf0types.h
mysql-5.1.60/storage/innobase/include/thr0loc.h
mysql-5.1.60/storage/innobase/include/mach0data.ic
mysql-5.1.60/storage/innobase/include/btr0pcur.ic
mysql-5.1.60/storage/innobase/include/trx0trx.h
mysql-5.1.60/storage/innobase/include/mtr0log.ic
mysql-5.1.60/storage/innobase/include/row0mysql.h
mysql-5.1.60/storage/innobase/include/page0cur.h
mysql-5.1.60/storage/innobase/include/fut0lst.h
mysql-5.1.60/storage/innobase/include/dyn0dyn.h
mysql-5.1.60/storage/innobase/include/srv0srv.h
mysql-5.1.60/storage/innobase/include/btr0sea.h
mysql-5.1.60/storage/innobase/include/buf0lru.h
mysql-5.1.60/storage/innobase/include/pars0types.h
mysql-5.1.60/storage/innobase/include/buf0flu.h
mysql-5.1.60/storage/innobase/include/mtr0log.h
mysql-5.1.60/storage/innobase/include/que0que.h
mysql-5.1.60/storage/innobase/include/trx0rseg.h
mysql-5.1.60/storage/innobase/include/buf0flu.ic
mysql-5.1.60/storage/innobase/include/trx0purge.ic
mysql-5.1.60/storage/innobase/include/fsp0fsp.h
mysql-5.1.60/storage/innobase/include/btr0cur.ic
mysql-5.1.60/storage/innobase/include/dict0crea.ic
mysql-5.1.60/storage/innobase/include/trx0sys.h
mysql-5.1.60/storage/innobase/include/trx0xa.h
mysql-5.1.60/storage/innobase/include/que0types.h
mysql-5.1.60/storage/innobase/include/mtr0types.h
mysql-5.1.60/storage/innobase/include/row0types.h
mysql-5.1.60/storage/innobase/include/dict0load.h
mysql-5.1.60/storage/innobase/include/page0types.h
mysql-5.1.60/storage/innobase/include/ut0wqueue.h
mysql-5.1.60/storage/innobase/include/ut0vec.h
mysql-5.1.60/storage/innobase/include/mem0mem.h
mysql-5.1.60/storage/innobase/include/eval0eval.ic
mysql-5.1.60/storage/innobase/include/ibuf0ibuf.ic
mysql-5.1.60/storage/innobase/include/trx0purge.h
mysql-5.1.60/storage/innobase/include/pars0grm.h
mysql-5.1.60/storage/innobase/include/rem0cmp.h
mysql-5.1.60/storage/innobase/include/hash0hash.ic
mysql-5.1.60/storage/innobase/include/trx0undo.ic
mysql-5.1.60/storage/innobase/include/row0uins.h
mysql-5.1.60/storage/innobase/include/read0read.ic
mysql-5.1.60/storage/innobase/include/page0cur.ic
mysql-5.1.60/storage/innobase/include/row0purge.ic
mysql-5.1.60/storage/innobase/include/ha_prototypes.h
mysql-5.1.60/storage/innobase/include/ut0vec.ic
mysql-5.1.60/storage/innobase/include/ut0lst.h
mysql-5.1.60/storage/innobase/include/btr0btr.ic
mysql-5.1.60/storage/innobase/include/eval0eval.h
mysql-5.1.60/storage/innobase/include/btr0btr.h
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/zhouchuan152/article/details/95869785

智能推荐

函数指针的两种调用方式_辉小歌的博客-程序员宅基地_函数指针的调用

void test(int);int main(void){void (*fp)(int); fp=test; (*fp)(9); fp(9); return 0;}void test(int a){ printf( "%d\n", a );}这两种形式是等价的,都是为ANSI C所接受的。历史上,贝尔实验室的C和UNIX的开发者采用的是第一种观点QUOTE:(*fp)(9);而Berkeley的UNIX的扩展者采用第二种观点QUOTE:fp(

Django使用or条件查询和各种查询关键字_子钦加油的博客-程序员宅基地

Django使用or条件查询:from django.db.models import QUser.objects.filter(Q(state=0) | Q(state=1))Django各种条件查询关键字:__exact 精确等于 like ‘aaa’__iexact 精确等于 忽略大小写 ilike ‘aaa’__contains 包含 like ‘%aaa%’__icon...

php和jsp的优缺点,PHP与JSP的相同与不同点在哪里?_蛏子圣子的博客-程序员宅基地

PHP和JSP都是web开发技术,那么PHP与JSP的相同与不同点在哪里?下面本篇文章就来给大家对比一下PHP和JSP,让大家了解PHP与JSP的相同与不同点。有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。PHP是一种专为Web开发而设计的,解释执行的服务器脚本语言,它大量地借用C和Perl语言的语法,具有简单容易上手的特点,所以学过c语言的都可以很快的熟悉php的开发。JSP是一...

Java设计模式——抽象工厂模式(Abstract factory)_孙悟空2015的博客-程序员宅基地

抽象工厂模式可以向客户提供接口,使得客户端在不必指定产品具体类型的情况下创建多个产品族中的产品对象。 系统的设计 采用抽象工厂模式设计出的系统类图如下: 从上图可以看出,抽象工厂模式涉及到角色: 抽象工厂角色(AbstractFactory):担任这个角色的是工厂方法模式的核心,它与应用系统的商业逻辑无关。通常使用Java接口或者抽象Java类实现,而所有的具体工厂类都必须实现这个Jav

【原创】jQuery1.8.2源码解析之jQuery.event_weixin_30500289的博客-程序员宅基地

本片随笔主要是分析了下jQuery的事件模型,即如何统一事件对象,以及处理过程。这里简要说明一下几点:jQuery通过统一的方法(第62行),eventHandle函数进行事件的分发,利用jQuery.Event统一修正了浏览器的event对象,注册事件处理器时,也是注册eventHandle,然后统一将相关的事件信息,存储在与dom相联系的jQuery.cache缓存中,如下图:...

js中substring,substr,slice的用法_sd2131512的博客-程序员宅基地

substring 方法用于提取字符串中介于两个指定下标之间的字符substring(start,end)开始和结束的位置,从零开始的索引参数     描述start     必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的

随便推点

Hadoop本地模式、伪分布式和全分布式集群安装与部署_loop.fu的博客-程序员宅基地

版权声明:原创文章,转载请注明出处! https://blog.csdn.net/L_15156024189/article/details/81810553 ...

Concurrency in C# Cookbook中文翻译 :1.3并发性概述:响应式编程入门(Rx)_自己的九又四分之三站台的博客-程序员宅基地

Introduction to Reactive Programming (Rx) 响应式编程入门(Rx)Reactive programming has a higher learning curve than other forms of concurrency, and the code can be harder to maintain unless you keep up with your reactive skills. If you’re willing to learn it, thou

Smart Card_supergame111的博客-程序员宅基地

智能卡(SmartCard),也叫IC卡,它是一个带有微处理器和存储器等微型集成电路芯片的、具有标准规格的卡片。智能卡必须遵循一套标准,ISO7816是其中最重要的一个。下面将从以下几个方面展开,对Smart Card进行讨论:1. 电气特性2. 复位应答(ATR – Answer to Reset)3. T=0 传输协议电气特性:I

在javascript中,如何判断一个被多次encode 的url 已经被decode到原来的格式?_weixin_30493401的博客-程序员宅基地

%而不能被无限次decodeURIComponent 可以用%来进行判断转载于:https://www.cnblogs.com/zhouyideboke/p/11169705.html

你连原理都还没弄明白?java的基本单位_程序员小伊的博客-程序员宅基地

内容简介:本书一共15章,核心内容为SpringBoot、SpringCloud、Docker、RabbitMQ消息组件。其中,SpringBoot是SpringMVC技术的延伸,使用它进行程序开发会更简单,服务整合也会更容易。SpringCloud是当前微架构的核心技术方案,属于SpringBoot的技术延伸,它可以整合云服务,基于RabbitMQ和 GITHUB进行微服务管理。除此以外,本书还重点分析了OAuth统一认证服务的应用。由于笔记的内容太多,没办法全部展示出来,在此只截取部分内容展示。

minion java上传文件_Spring Boot 上传文件出错:java.io.IOException: The temporary upload location..._屁乎小铭的博客-程序员宅基地

前言,新鲜报错记录一下原因1.Springboot的应用服务在启动的时候,会生成在操作系统的/tmp目录下生成一个Tomcat.*的文件目录,用于"java.io.tmpdir"文件流操作TomcatEmbeddedServletContainerFactory2.程序对文件的操作时:会生成临时文件,暂存在临时文件中;linux系统的tmpwatch 命令会删除10天未使用的临时文件;长时间不操作...