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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-28-2009, 11:41 PM
|
#1
|
Member
Registered: Aug 2009
Posts: 228
Rep:
|
Inquiry:problem on unzip a file?
Dear All
I have tried to get a backup from my Red Hat 7.2 server , as the followings :
#tar -czf conf.tgz conf
Then I got a copy from it on my MS Windows client , through sftp .
At now , when I want to unzip it on my Virtual Box Red Hat 7.2 as guest on Windows XP as host it returns as "incomplete literal tree , format violated" . It cannot even be unzipped on my MS Windows client . But it still can be unzipped on the original RedHat 7.2 server, as the followings :
#tar -zxvf conf.tgz
Can you please do me favor and let me know what is wrong in the above scenario that the backup file is no longer useful ?
Let me thank you in advance
|
|
|
11-29-2009, 03:54 AM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
I expect you have not installed gzip on your windows machine. I don't use windows but I would be amazed if by default it comes with a tool that can decompress gziped files.
Evo2.
|
|
|
11-29-2009, 04:16 AM
|
#3
|
Member
Registered: Aug 2009
Posts: 228
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
I expect you have not installed gzip on your windows machine. I don't use windows but I would be amazed if by default it comes with a tool that can decompress gziped files.
Evo2.
|
Sorry . But the WinRar is installed on my MS Windows client . Can you please let me know why the file cannot be uncompressed ?
Thank you in advance
|
|
|
11-29-2009, 04:22 AM
|
#4
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Ok, check if it has been corrupted. Check the md5sum
Make sure that the output is the same on both the original Red Hat machine and on the virtual machine.
You should also check on the windows machine, but I don't know how to do that.
Evo2.
|
|
|
11-29-2009, 04:27 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Quote:
Originally Posted by evo2
You should also check on the windows machine, but I don't know how to do that.
|
From the Command Window prompt: md5sum file.tgz
Edit: sorry, I forgot that md5sum is not a windows command. I installed it from here.
Last edited by colucix; 11-29-2009 at 04:50 AM.
|
|
|
11-29-2009, 05:00 AM
|
#6
|
Member
Registered: Aug 2009
Posts: 228
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
Ok, check if it has been corrupted. Check the md5sum
Make sure that the output is the same on both the original Red Hat machine and on the virtual machine.
You should also check on the windows machine, but I don't know how to do that.
Evo2.
|
Thank you for your reply . I checked its checksum on my Linux & Windows machine , as the below and attached :
"C:\Documents and Settings\user>md5sum wxc2.tgz
8b4bc0f33bbca8a820bd920239812ee5 *wxc2.tgz"
Please let me know what is wrong here ?
Thank you in advance
|
|
|
11-29-2009, 07:41 AM
|
#7
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Now compare it with the checksum of the original file on the Red Hat server. If they are not the same, something went wrong in the transfer process (and you have to download it again), if they are the same you have to further investigate in order to discover where the problem resides.
|
|
|
All times are GMT -5. The time now is 01:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|