- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Gzip decompress a file error.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 04:47 PM
тАО03-12-2006 04:47 PM
Gzip decompress a file error.
I'm ftp some file from a windows system to Hp-Unix 11.00.
I used the Binary mode.
After the file transfered to HP-Unix system, I do a uncompressed. But I have error doing this.
command and error message on screen :-
fme6:/users/mpeda/INOTFE> cd data
fme6:/users/mpeda/INOTFE/data> ll
total 2830
-rw-r----- 1 mpeda users 277498 Mar 13 11:15 CP_AC548110.00_01_2_200602090339.gz
-rw-r----- 1 mpeda users 1171398 Mar 13 09:32 RD_AC550207.00_25_1_200602261338.gz
fme6:/users/mpeda/INOTFE/data> gzip -d CP_AC548110.00_01_2_200602090339.gz
incomplete distance tree
gzip: CP_AC548110.00_01_2_200602090339.gz: invalid compressed data--format violated
fme6:/users/mpeda/INOTFE/data> mv CP_AC548110.00_01_2_200602090339.gz cp.gz
fme6:/users/mpeda/INOTFE/data> ll
total 2830
-rw-r----- 1 mpeda users 1171398 Mar 13 09:32 RD_AC550207.00_25_1_200602261338.gz
-rw-r----- 1 mpeda users 277498 Mar 13 11:15 cp.gz
fme6:/users/mpeda/INOTFE/data> gzip -d cp.gz
incomplete distance tree
gzip: cp.gz: invalid compressed data--format violated
fme6:/users/mpeda/INOTFE/data> ll
total 4944
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 04:53 PM
тАО03-12-2006 04:53 PM
Re: Gzip decompress a file error.
After you do the transfer, make sure the "cksum" command gives the similat output on both servers.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:02 PM
тАО03-12-2006 05:02 PM
Re: Gzip decompress a file error.
Another way is try to the same step in server side. Is it working?
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:11 PM
тАО03-12-2006 05:11 PM
Re: Gzip decompress a file error.
I don't you get a different result with "gunzip" command. Still have you tried the following.
#gunzip cp.gz
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:30 PM
тАО03-12-2006 05:30 PM
Re: Gzip decompress a file error.
I cannot do cksum on the Windows server.
Anyway I did try "gunzip" command.
I'm getting the same error message.
It is because of the *.gz files already have problem when FTP to the UNIX server?
regards,
ck chai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:33 PM
тАО03-12-2006 05:33 PM
Re: Gzip decompress a file error.
Are you able to decompress those files in windows box, using "winzip" application.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:34 PM
тАО03-12-2006 05:34 PM
Re: Gzip decompress a file error.
I hope you have downloaded .gz files on Windows and trying to transfer. First of all, check you can open the file in windows without any error. You can try to open with Winzip or Winrar.
I suspect, your download is corrupt.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 05:39 PM
тАО03-12-2006 05:39 PM
Re: Gzip decompress a file error.
Or try to transfer the same file to other platform like linux and check it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 06:07 PM
тАО03-12-2006 06:07 PM
Re: Gzip decompress a file error.
I have an error :-
Invalid compressed data - Unable to inflate.
I'm investigating the problem on the source server that transfer the files to my Hp-unix server.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 06:44 PM
тАО03-12-2006 06:44 PM
Re: Gzip decompress a file error.
Invalid compressed data - Unable to inflate.
This means that the file is corrupted. You need to re-download it again.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 06:51 PM
тАО03-12-2006 06:51 PM
Re: Gzip decompress a file error.
make sure again that you have transferred the file in binary mode.
you may also user unzip for compression and decompression in case this does not work
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 06:54 PM
тАО03-12-2006 06:54 PM
Re: Gzip decompress a file error.
However, google search with "Invalid compressed data - Unable to inflate" says that problem is with winzip or winrar too :(
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 07:26 PM
тАО03-12-2006 07:26 PM
Re: Gzip decompress a file error.
I was able to open *.gz files in the past with the "winzip" app without any errors. If it shoots out error it means, either there was a download problem or download format was wrong. Make sure when you are downloading it from ftp server, *.gz is downloaded in bin format. Test it using "winzip" and then trasfer it to the uniz box where you want it to be inflated.
regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2006 11:55 PM
тАО03-12-2006 11:55 PM
Re: Gzip decompress a file error.
I believe the problem is a corrupt gz file.
Please recreate the gz file on your windows box, then ftp binary format and unzip on hpux box.
This is suggested by the fact that you can not unzip the original gz file on the original windows box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 12:28 AM
тАО03-13-2006 12:28 AM
Re: Gzip decompress a file error.
To turn binary mode on, type "bin" at the FTP prompt after the connection is made.
Make sure the sizes match on the two systems and/or the intermediate system ifyou have one.
If you aren't using FTP, please post the commands you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 07:29 PM
тАО03-13-2006 07:29 PM
Re: Gzip decompress a file error.
any luck with my suggestion to re-creating the zip file on Windows and trying to unzip it on the hp platform?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2006 08:05 AM
тАО03-25-2006 08:05 AM
Re: Gzip decompress a file error.
1. Most likely is an FTP without BINARY mode. You already ruled that out.
2. Is it possible that the Windows file is not a .gz but a .zip? In that case you'd need to use a free unzip program and not gunzip. They are similar but not the same.
3. Other errors such as disk-full or other file corruption would explain it too. In which case the answers is to re-transmit or re-create at its origin.
If this is critical data for which you have no other source, partial or full recovery is quite difficult but not impossible. Post a reply if that is the unfortunate situation you are in and I'll make suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2006 02:48 PM
тАО03-28-2006 02:48 PM
Re: Gzip decompress a file error.
It is the source files corrupted.
I just need to resent the files.
Thanks.