Invalid Compressed Data-crc Error Unix
Contents |
known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. Search Forums Show Threads Show Posts Tag Search Advanced Search invalid compressed data--length error Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux
Gzip Invalid Compressed Data--crc Error
commands invalid compressed data--crc error Solaris Thread Tools Search this Thread Display Modes gunzip invalid compressed data--format violated #1 04-20-2007 jxh461 Registered User Join Date: Jun 2002 Last Activity: 17 March 2011, 1:15 AM EDT Posts: 62 Thanks: 1 Thanked 0 Times in 0 Posts invalid compressed data--crc error I invalid compressed data--format violated linux am getting this error when trying to unzip a file.gz . Anyone know how to resolve this ? Remove advertisements Sponsored Links jxh461 View Public Profile Find all posts by jxh461 #2 04-20-2007 reborg Administrator Emeritus Join Date: Mar 2005 Last Activity: 29 March 2012, 7:00 PM EDT Location: Ireland Posts: 4,464 Thanks: 0 Thanked 12 Times in 11 Posts Post the command you are
Gz Invalid Compressed Data--format Violated
using, it may just be a case of doing something incorrectly. One thing I have noticed a few times is that files that come from GNU/Linux systems sometimes don't work properly with the Solaris tar. In which case you could try this if it is a tarball... Code: /usr/sfw/bin/gtar zxvf file.tar.gz or usually you would just gunzip ( or gzip -d ) the file. If you truely have a CRC error, then the best thing to do would be to re-download or re-copy the file from a know good source. Remove advertisements Sponsored Links reborg View Public Profile Find all posts by reborg #3 04-20-2007 jxh461 Registered User Join Date: Jun 2002 Last Activity: 17 March 2011, 1:15 AM EDT Posts: 62 Thanks: 1 Thanked 0 Times in 0 Posts Command The command I am using is > gunzip filename.gz jxh461 View Public Profile Find all posts by jxh461 #4 04-20-2007 stdout Registered User Join Date: Feb 2006 Last Activity: 2 August 2009, 2:45 AM EDT Posts: 103 Thanks: 0 Thanked 0 Times in 0 Posts hi, see gunzip --help or that is because you have download the file from FTP not using binary format. cheers.
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions gzip stdin invalid compressed data--format violated tar unexpected eof in archive you might have Meta Discuss the workings and policies of this gzip data stream error site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Gzip Stdin Invalid Compressed Data--format Violated Ubuntu
or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. http://www.unix.com/solaris/37260-invalid-compressed-data-crc-error.html Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top CRC error during extraction of downloaded compressed tar. Tar file is intact up vote 1 down vote favorite I have downloaded a compressed http://askubuntu.com/questions/651600/crc-error-during-extraction-of-downloaded-compressed-tar-tar-file-is-intact file from http://ds.arm.com/downloads/. File details are DS500-BN-00019-r5p0-21rel1.tgz(64 bit) When I try to extract this file using the following command tar -zxvf DS500-BN-00019-r5p0-21rel1.tgz I receive the following error gzip: stdin: invalid compressed data--crc error tar: Child returned status 1 tar: Error is not recoverable: exiting now The same output I got if I try to view contents using "-tzf" option. In different ubuntu environment file extracts successfully. tar is failing to extract only in my ubuntu environment. If I use 7z, I observe the following failure message 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_IN,Utf16=on,HugeFiles=on,4 CPUs) Processing archive: DS500-BN-00019-r5p0-21rel1.tgz Extracting DS500-BN-00019-r5p0-21rel1.tar CRC Failed Sub items Errors: 1 This behavior is observed for all compressed files downloaded from internet. If I use compressed files from different ubuntu environment or from my system itself, I dont observe this behavior. I suspect this is being observed only in my ubuntu environment. Kindly help me in resolving this issue. Following are the envir
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time https://www.experts-exchange.com/questions/26930430/gzip-stdin-invalid-compressed-data-crc-error.html Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor http://stackoverflow.com/questions/11157355/gunzip-after-automatic-ftp-crc-length-error Services Groups Website Testing Store Headlines Experts Exchange > Questions > gzip: stdin: invalid compressed data--crc error Want to Advertise Here? Solved gzip: stdin: invalid compressed data--crc error invalid compressed Posted on 2011-04-03 Linux OS Dev 1 Verified Solution 6 Comments 5,378 Views Last Modified: 2012-05-11 I am trying to open file and i am getting the following error. could you please advise $ tar xvfz examples.tar.gz ch01_hello tar: Skipping to next header tar: Archive contains obsolescent base-64 headers gzip: stdin: invalid compressed data--crc error gzip: stdin: invalid invalid compressed data--format compressed data--length error tar: Child returned status 1 tar: Error exit delayed from previous errors 0 Question by:sumanth_ora Facebook Twitter LinkedIn Google LVL 31 Best Solution byfarzanj As I said before, it may be corrupted file. Try gunzip Also try If that does not work too, you can try recovering some data by Go to Solution 6 Comments LVL 31 Overall: Level 31 Linux OS Dev 10 Message Expert Comment by:farzanj2011-04-03 Appears that the file is corrupt. Please issue the following as well tar tvf example.tar.gz See what you get You can also try with tar tvfz example.tar.gz But I think the tar archive is corrupted 0 LVL 31 Overall: Level 31 Linux OS Dev 10 Message Expert Comment by:farzanj2011-04-03 Another thing. Please try this gzip -d file.tar.gz and then do tar -xf file.tar 0 Message Author Comment by:sumanth_ora2011-04-06 No Luck $ gzip -d examples.tar.gz gzip: examples.tar.gz: invalid compressed data--crc error gzip: examples.tar.gz: invalid compressed data--length error $ tar tvf examples.tar.gz -rw-rw-r-- ellen/ora 1769 1997-1
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up gunzip after Automatic ftp crc length error up vote 0 down vote favorite I am facing an crc error/length error on .gz file of a file to server. While manually retrieving the file, I am getting a size 1932 bytes and gunzips fine without any problem. But when I retrieve it through a shell script, the file arriving is 1931 bytes. Funny part is I am ftping 3 files and 2 of them are arriving correctly. This is how I automated it : echo "user $username $password" > $BATCH echo "get reston.txt.gz reston.txt.gz" >> $BATCH echo "get tuffnel.txt.gz tuffnel.txt.gz" >> $BATCH echo "get atlanta.txt.gz atlanta.txt.gz" >> $BATCH echo "exit" >> $BATCH ftp -n -v $ipaddress < $BATCH > $LOG then gunzip *.txt.gz tuffnel, atlanta works fine, reston wont gunzip unless downloaded manually. Thanks in advance, Lebu linux unix ftp gunzip share|improve this question edited Jun 22 '12 at 14:03 asked Jun 22 '12 at 13:42 Lordlebu 911211 Maybe FTP defaults to ascii mode? try "BIN" as the first command. –wildplasser Jun 22 '12 at 13:46 Try using wget or curl to download a file via FTP. They are better designed for file download. –dAm2K Jun 22 '12 at 13:47 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Maybe FTP defaults to ASCII/text mode? try "BIN" as the first command: echo "user $username $password" > $BATCH echo "BIN" >> $BATCH echo "get reston.txt.gz reston.txt.gz" >> $BATCH echo "get tuffnel.txt.gz tuffnel.txt.gz" >> $BATCH echo "get atlanta.txt.gz atlanta.txt.gz" >> $BATCH echo "exit" >> $BATCH ftp -n -v $ipaddress < $BATCH > $LOG share|improve this answer edited Jun 23 '12 at 12:27 answered Jun 22 '12 at 13:47 wildplasser 24.3k22748 no luck yet, inva