错误信息:tar: Skipping to next header
tar: Archive contains obsolescent base-64 headersgzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors
出现上面的错误大多是因为*.tar.gz文件在传输过程中产生的错误,大多是在linux通过ftp下载东西的时候有这种情况解决的办法很简单就是在ftp传输前加上bin命令就可以了示例:[root@localhost ~]# ftp 192.168.0.103
Connected to 192.168.0.103.
220
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (192.168.0.103:root): abc
331 Password required for abc
Password:
230 User successfully logged in.
Remote system type is UNIX.
ftp> ls
227 Entering Passive Mode (192,168,0,103,11,35).
150 Opening ASCII mode data connection for directory list.
-rwx------ 1 user group 25283789 Aug 14 04:22 20070814-bbs.tar.gz
-rwx------ 1 user group 99052875 Aug 14 04:22 20070814-
-rwx------ 1 user group 13212260 Aug 14 04:22 20070814-xbbs-data.tar.gz
drwx------ 1 user group 0 Aug 14 19:07 linux
-rwx------ 1 user group 59053420 Sep 03 13:33 moon_lserver_1.3.tar.gz
drwx------ 1 user group 0 Aug 14 08:46 win
226 Transfer complete
ftp> bin
200 Type set to I
ftp> get moon_lserver_1.3.tar.gz
local: moon_lserver_1.3.tar.gz remote: moon_lserver_1.3.tar.gz
227 Entering Passive Mode (192,168,0,103,11,36).
150 Opening BINARY mode data connection for file transfer.
226 Transfer complete
59053420 bytes received in 36 seconds (1.6e+03 Kbytes/s)
ftp>
OK这样再解压就可以了,不用再帖出成功解压的信息了吧.另外说一句bin是二进制模式传输。