[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] invalid compressed data--crc error
- Subject: [cobalt-developers] invalid compressed data--crc error
- From: hank <he@xxxxxxxxxxxxxx>
- Date: Tue Sep 3 05:15:00 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi,
I don't seem to be able to compress files in anyway on 2 of our raq4
servers. I have included 2 examples
below.
The first one is a typical creation of a tar.gz. I did it a few times
and sometimes it says the
file is ok and somtimes it doesn't.
The second example is a transfer of 2 working tar.gz from a server that
is OK to one of the
servers with this problem and back.
The large file is corrupted.
This suggests to me that this is a problem with the file size and not
with tar or zip...
(btw I have tried bzip2 and cpio as well.) But I can't find this problem
described anywhere!
Does anyone have any idea what might be going on?
/H
####### Example 1 ###################################
[admin www.website.com]$ tar cz web/ > web.tar.gz
[admin www.website.com]$ gzip -t web.tar.gz
gzip: web.tar.gz: invalid compressed data--crc error
[admin www.website.com]$ rm web.tar.gz
[admin www.website.com]$ tar cz web/ > web.tar.gz
[admin www.website.com]$ gzip -t web.tar.gz
gzip: web.tar.gz: decompression OK, trailing garbage ignored
[admin www.website.com]$ rm web.tar.gz
[admin www.website.com]$ tar cz web/ > web.tar.gz
[admin www.website.com]$ gzip -t web.tar.gz
gzip: web.tar.gz: invalid compressed data--crc error
[admin www.website.com]$ rm web.tar.gz
[admin www.website.com]$ tar cz web/ > web.tar.gz
[admin www.website.com]$ gzip -t web.tar.gz
gunzip: web.tar.gz: decompression OK, trailing garbage ignored
[admin www.website.com]$ rm web.tar.gz
[admin www.website.com]$ tar cz web/ > web.tar.gz
[admin www.website.com]$ gzip -t web.tar.gz
####### Example 2 #######################################
[admin serverPCC]$ gzip -t pcc.db.gz
[admin serverPCC]$ gzip -t pcc.tar.gz
gzip: pcc.tar.gz: decompression OK, trailing garbage ignored
[admin serverPCC]$ ftp remote.wz.com
Connected to remote.wz.com.
220 ProFTPD 1.2.4 Server (ProFTPD) [223.348.178.111]
Name (remote.wz.com:admin): backup
331 Password required for backup.
Password:
230 User backup logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put pcc.db.gz
local: pcc.db.gz remote: pcc.db.gz
200 PORT command successful.
150 Opening BINARY mode data connection for pcc.db.gz.
226 Transfer complete.
365486 bytes sent in 0.353 secs (1e+03 Kbytes/sec)
ftp> get pcc.db.gz
local: pcc.db.gz remote: pcc.db.gz
200 PORT command successful.
150 Opening BINARY mode data connection for pcc.db.gz (365486 bytes).
226 Transfer complete.
365486 bytes received in 2.75 secs (1.3e+02 Kbytes/sec)
ftp> put pcc.tar.gz
local: pcc.tar.gz remote: pcc.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for pcc.tar.gz.
226 Transfer complete.
26347520 bytes sent in 31.9 secs (8.1e+02 Kbytes/sec)
ftp> get pcc.tar.gz
local: pcc.tar.gz remote: pcc.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for pcc.tar.gz (26347520 bytes).
226 Transfer complete.
26347520 bytes received in 199 secs (1.3e+02 Kbytes/sec)
ftp> quit
221 Goodbye.
[admin serverPCC]$ gzip -t pcc.tar.gz
gzip: pcc.tar.gz: invalid compressed data--crc error
[admin serverPCC]$ gzip -t pcc.db.gz
[admin serverPCC]$