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目的,再解壓就可以了。

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM