1.問題描述:服務器
今天解壓tar包遇到這樣一個問題ip
使用命令: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 nowmd5
2.問題分析:
it
經過: md5sum 文件名 命令,比對兩臺服務器上xxxxx.tar.gz 包的文件校驗碼不同,說明在文件scp移動中就被損壞了,最終發現目標服務器內存不足引發。打的包有16G,經過其餘方式(好比清理磁盤或掛載其餘服務器)達到scp目的,再解壓就能夠了。file