LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-23-2012, 04:13 AM   #1
1300
Member
 
Registered: Nov 2011
Posts: 39

Rep: Reputation: Disabled
gzip: exp2012dec11.dmp.gzip: unknown suffix -- ignored


Morning Gents,,

am un-able to unzip the following! its irritating me


[root@db]# unzip lmsuatexp2012dec11.dmp.gzip
Archive: lmsuatexp2012dec11.dmp.gzip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of lmsuatexp2012dec11.dmp.gzip or
lmsuatexp2012dec11.dmp.gzip.zip, and cannot find lmsuatexp2012dec11.dmp.gzip.ZIP, period.

[root@db]# gunzip lmsuatexp2012dec11.dmp.gzip
gzip: lmsuatexp2012dec11.dmp.gzip: unknown suffix -- ignored

[root@db]# gunzip -d lmsuatexp2012dec11.dmp.gzip
gzip: lmsuatexp2012dec11.dmp.gzip: unknown suffix -- ignored

[root@db]# gunzip -df lmsuatexp2012dec11.dmp.gzip

[root@db]# gzip -d lmsuatexp2012dec11.dmp.gzip
gzip: lmsuatexp2012dec11.dmp.gzip: unknown suffix -- ignored
 
Old 12-23-2012, 04:18 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,122

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Very simple : Files.gzip are not zip files, but gzip files.


Please use : gunzip file.gzip
 
Old 12-23-2012, 04:20 AM   #3
1300
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Very simple : Files.gzip are not zip files, but gzip files.


Please use : gunzip file.gzip

[root@db]# gunzip lmsuatexp2012dec11.dmp.gzip
gzip: lmsuatexp2012dec11.dmp.gzip: unknown suffix -- ignored
 
Old 12-23-2012, 04:21 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
The extension naming might be wrong, what is the output of
Code:
file lmsuatexp2012dec11.dmp.gzip
 
Old 12-23-2012, 04:23 AM   #5
1300
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
The extension naming might be wrong, what is the output of
Code:
file lmsuatexp2012dec11.dmp.gzip
[root@db]# file lmsuatexp2012dec11.dmp.gzip
lmsuatexp2012dec11.dmp.gzip: gzip compressed data, from Unix, last modified: Tue Dec 11 17:51:24 2012
 
Old 12-23-2012, 04:29 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
I'm not sure .gzip is the correct extension.

Try renaming (copying if you like) the file to lmsuatexp2012dec11.dmp.gz and run gunzip lmsuatexp2012dec11.dmp.gz
 
Old 12-23-2012, 04:43 AM   #7
1300
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
I'm not sure .gzip is the correct extension.

Try renaming (copying if you like) the file to lmsuatexp2012dec11.dmp.gz and run gunzip lmsuatexp2012dec11.dmp.gz
changed the name

and no results this time,, hang after pressing ENTER and released by Ctrl+D

but at least am not getting the "unknown suffix" error MSG
 
Old 12-23-2012, 04:46 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Only thing I can think of now: Is this file corrupt?

Try fetching a fresh copy, do a md5sum (or similar) if possible.
 
Old 12-23-2012, 07:25 AM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
upzip is the wrong choice a gzip file is not a zip file. The problem with gzip was the suffix because the person who created it used a non standard suffix. You can get around this with -S (see: man gzip):

Code:
gunzip -S .gzip lmsuatexp2012dec11.dmp.gzip
If the file is very large it could take a while (How big is the file?). I wouldn't assume that gzip is actually hanging. Just wait!

If it really doesn't work then the file is most likely corrupt, though I would then expect an error message in that case, which is why I suspect it is just taking its time.
 
Old 12-23-2012, 08:26 AM   #10
1300
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Only thing I can think of now: Is this file corrupt?

Try fetching a fresh copy, do a md5sum (or similar) if possible.
thanks chap,, renaming the file was excellent and things went fine now
 
Old 12-23-2012, 08:28 AM   #11
1300
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
upzip is the wrong choice a gzip file is not a zip file. The problem with gzip was the suffix because the person who created it used a non standard suffix. You can get around this with -S (see: man gzip):

Code:
gunzip -S .gzip lmsuatexp2012dec11.dmp.gzip
If the file is very large it could take a while (How big is the file?). I wouldn't assume that gzip is actually hanging. Just wait!

If it really doesn't work then the file is most likely corrupt, though I would then expect an error message in that case, which is why I suspect it is just taking its time.
actually your solution will work and it did,, but I was a bit in harry and I didn't notice that the file was huge

thanks anyways mate

Last edited by 1300; 12-23-2012 at 09:11 AM.
 
Old 12-23-2012, 10:19 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
@1300: Glad it worked out in the end!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] gzip -d error: unknown suffix -- ignored elenappli Linux - Software 5 08-08-2012 08:52 PM
how to open gzip file? I have gzip installed mhg Linux - Newbie 3 10-24-2008 03:18 AM
[gzip] appears in process table after gzip command completes redmanDBA Linux - General 0 02-26-2008 07:12 AM
Solaris 8 gzip issues- cannot gzip -d lynx sixosix Solaris / OpenSolaris 4 03-13-2005 04:17 PM


All times are GMT -5. The time now is 12:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration