- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error extracting a tar file
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
Forums
Discussions
Discussions
Discussions
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
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-13-2007 09:34 PM
09-13-2007 09:34 PM
error extracting a tar file
I am getting below error on trying to extrcat the tar file, any suggestions pls how to overcome this.
server:/var > file scripts.tar
scripts.tar: tar file
server:/var > tar -tvf scripts.tar
drwx------ unixadm/unixadm 0 2007-06-26 19:51:29 home/unixadm/
-rw-rw-r-- unixadm/unixadm 1903 2006-05-24 14:04:14 home/unixadm/UnixNP
tar: Skipping to next header
tar: Error exit delayed from previous errors
Cheers
Marvik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 09:49 PM
09-13-2007 09:49 PM
Re: error extracting a tar file
any differencies if you don't use the '-'?
tar tvf scripts.tar ?
If this tar is from SGI, for example, use:
'dd if=scripts.tar bs=1024k|tar xvf -'
Else transfer it to windows and try to read it with zip, if the error is the same, then I believe the file is corrupt.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 09:58 PM
09-13-2007 09:58 PM
Re: error extracting a tar file
Thanks for the reply.here is the output.I was able to extract only one file the last one.
Also using tar tvf scripts.tar doesn't makes any difference
daimler:/var > dd if=scripts.tar bs=1024k |tar xvf -
home/unixadm/vkarmak/
home/unixadm/vkarmak/UnixNP
tar: Skipping to next header
13+1 records in
13+1 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 10:37 PM
09-13-2007 10:37 PM
Re: error extracting a tar file
the first part is a directory only, so one file is ok.
Maybe the error is from the creation of the tar file and there's nothing more inside?
How big is the tar file?
Have you tried winzip?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 10:48 PM
09-13-2007 10:48 PM
Re: error extracting a tar file
Tar file is 14MB in size. I tried winzip but no files are visible inside there.
Looks to be corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 11:02 PM
09-13-2007 11:02 PM
Re: error extracting a tar file
from:
13+1 records in
13+1 records out (with bs=1024k)
14 MB looks ok
home/unixadm/vkarmak/UnixNP
has only 1903 bytes?
I believe also another blocksize wouldn't change anything, but you could try bs=128k
V.