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