gzip: stdin: unexpected end of file tar: Unexpected EOF in archive

1.问题描述:

  今天解压tar包遇到这样一个问题

  使用命令:tar -zxvf  xxxxx.tar.gz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

2.问题分析:

  通过: md5sum 文件名  命令,比对两台服务器上xxxxx.tar.gz 包的文件校验码不一样,说明在文件scp移动中就被损坏了,最终发现目标服务器内存不足引起。打的包有16G,通过其他方式(比如清理磁盘或挂载其他服务器)达到scp目的,再解压就可以了。

  

 

posted @ 2018-04-17 17:10  仰望星空的脚踏实地  阅读(17137)  评论(0编辑  收藏  举报