- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to extract a .gz file on HP-UX
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
тАО09-27-2002 12:07 AM
тАО09-27-2002 12:07 AM
how to extract a .gz file on HP-UX
Managerhpux.tar.gz and I want to extract it on HP-UX , can someone help ,
Please !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:13 AM
тАО09-27-2002 12:13 AM
Re: how to extract a .gz file on HP-UX
Change directory to where you archive is
# /usr/contrib/bin/gunzip ./Managerhpux.tar.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:14 AM
тАО09-27-2002 12:14 AM
Re: how to extract a .gz file on HP-UX
#uncompress Managerhpux.tar.gz
#tar xvf Managerhpux.tar
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:16 AM
тАО09-27-2002 12:16 AM
Re: how to extract a .gz file on HP-UX
#zcat Managerhpux.tar.gz | tar xvf -
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:16 AM
тАО09-27-2002 12:16 AM
Re: how to extract a .gz file on HP-UX
# /usr/contrib/bin/gunzip ./Managerhpux.tar.gz
Once the file has been un-zipped you can extract from the archive.
change directory to where you wish to extract.
# tar xvf /directoryname/Managerhpux.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:22 AM
тАО09-27-2002 12:22 AM
Re: how to extract a .gz file on HP-UX
Mr. SivaKumar, uncompress won't work, that works only for .Z files.
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:32 AM
тАО09-27-2002 12:32 AM
Re: how to extract a .gz file on HP-UX
#gunzip Managerhpux.tar.gz
#tar xvf Managerhpux.tar
will get you the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:45 AM
тАО09-27-2002 12:45 AM
Re: how to extract a .gz file on HP-UX
Mr. Vincent thanks for correcting me.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 12:59 AM
тАО09-27-2002 12:59 AM
Re: how to extract a .gz file on HP-UX
file file.tar.gz
to verify format.
# file /one.tar
/one.tar: tar file
# gzip /one.tar
# file /one.tar.gz
/one.tar.gz: awk program text
awk program text.. yikes..
of course that should say gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 01:04 AM
тАО09-27-2002 01:04 AM
Re: how to extract a .gz file on HP-UX
these are the outputs , What may be the problem ?
# zcat eManager35hpux.tar.gz | tar xvf -
eManager35hpux.tar.gz.Z: No such file or directory
Tar: blocksize = 0; broken pipe?
# gunzip eManager35hpux.tar.gz
gunzip: eManager35hpux.tar.gz: invalid compressed data--format violated
# tar xvf eManager35hpux.tar.gz
directory checksum error
# uncompress eManager35hpux.tar.gz
eManager35hpux.tar.gz.Z: No such file or directory
# tar xvf eManager35hpux.tar
tar: cannot open eManager35hpux.tar
# tar xvf eManager35hpux.tar.gz
directory checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 01:10 AM
тАО09-27-2002 01:10 AM
Re: how to extract a .gz file on HP-UX
what is the output of this command ?
#file Managerhpux.tar.gz
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 06:25 AM
тАО09-27-2002 06:25 AM
Re: how to extract a .gz file on HP-UX
If eManager35hpux.tar.gz is actually a gzipped tar file, you can use "gunzip" or "gzip -d" on it then "tar xvf". To unzip the file, you need enough space in the directory where it resides for the .gz file and the unzipped file (because the system keeps the .gz file until the unzipped file is fully unzipped).
If tight on space or you just want to extract the contents of the tar file, use:
gzip -dc eManager35hpux.tar.gz | tar xvf -
I'd always use "tar tvf" before actually extracting the contents.
"file eManager35hpux.tar.gz" may not tell you what kind of file it really is. I just ran "file" against a gzipped tar file and it said "awk program text".
Where did you get eManager35hpux.tar.gz? It's possibly corrupted. It ftp'ed from a PC, did you use binary mode? You should.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 06:30 AM
тАО09-27-2002 06:30 AM
Re: how to extract a .gz file on HP-UX
Welcome to the forums! I hope you'll find them as useful as I do. You're now part of a global community willing to help each other solve our problems. I think it's the best one anywhere!
Glad you've joined us!
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 07:15 AM
тАО09-27-2002 07:15 AM
Re: how to extract a .gz file on HP-UX
to use 'uncompress' the file, it has to end with .Z (xxx.Z) so you have to copy or move it for trying to 'uncompress'.
The file name suggests me that it is downloaded from internet.
Maybe the download was uncomplete. Try it again.
You also can check a file xxx.gz with winzip or alike.
If the file is incomplete winzip will tell it.
Regards Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 02:41 AM
тАО09-30-2002 02:41 AM
Re: how to extract a .gz file on HP-UX
no reply from you till now.
So some more informations:
zcat and uncompress (your 1. and 4. try) only works with files with extention '.Z'.
tar needs an unzipped file. Your file is zipped (or gzipped) therefor error 'directory checksum error' (3. and 6. try).
5. try doesn't work because file doesn't exists.
2. try says 'format violated':
so either the file is incomplete or the transfer was ascii instead of binary.
Regards Volkmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 02:49 AM
тАО09-30-2002 02:49 AM
Re: how to extract a .gz file on HP-UX
Try with Gnu Zip.
Download it from here:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.3/
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 07:28 AM
тАО09-30-2002 07:28 AM
Re: how to extract a .gz file on HP-UX
Please give us the output of this command:
file ./Managerhpux.tar.gz
My guess is you have a corrupted file, perhaps downloaded as ascii instead of binary.