UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 13th, 2004, 02:20 PM
nbagley nbagley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 27 nbagley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 31 sec
Reputation Power: 0
un-tarballing

Help! I am not familiar with un-tarballing files. I have a file that I uploaded to my httpdocs directory and am running this command:

tar -xzvf filename.tar.gz

...but I keep getting this message:

tar (child): filename.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

What's going on? Why can't I open this tar file? Why is it saying that it can't find the file... it's right there in that directory? Any help is much appreciated!

Reply With Quote
  #2  
Old October 14th, 2004, 12:15 PM
nbagley nbagley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 27 nbagley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 31 sec
Reputation Power: 0
Hello? Is there anyone out there? I know it's a simple thing that I'm doing wrong... any sort of suggestion would be helpful. Thanks.

Reply With Quote
  #3  
Old October 14th, 2004, 02:30 PM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
Maybe an unprintable character in the filename? Try:
ls -b

Reply With Quote
  #4  
Old October 14th, 2004, 02:38 PM
nbagley nbagley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 27 nbagley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 31 sec
Reputation Power: 0
Thanks for replying. I get the same response: No such file or directory.

This isn't some small program that I am trying to install here... I'm trying to install phpMyAdmin. I was just following their instructions.

Reply With Quote
  #5  
Old October 14th, 2004, 05:52 PM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
If neither tar nor ls can see the file, what is leading you into thinking it exists?

Reply With Quote
  #6  
Old October 15th, 2004, 07:43 AM
andyb1ack andyb1ack is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 60 andyb1ack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 14 sec
Reputation Power: 4
Your tar file appears to be gzipped (from the .gz extension).
You need to unzip it first before you untar it:

If your gzipped tar file exist in your current directory then using one of the two methods below:

Code:
#-- In two steps:
gzip -d filename.tar.gz
tar xvf filename.tar

#-- In one go
gzip -dc filename.tar.gz |tar xvf -

Reply With Quote
  #7  
Old October 15th, 2004, 09:26 AM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
The gnu version of tar supports -z which will automatically unzip the archive. And he specified -z.

Reply With Quote
  #8  
Old October 15th, 2004, 03:10 PM
nbagley nbagley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 27 nbagley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 31 sec
Reputation Power: 0
Thanks guys... I figured out my problem... and it's too stupid to mention here. That's what I get for working to fast and not paying attention. Thanks again for the help though...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > un-tarballing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway