Operating System - HP-UX
1821554 Members
2358 Online
109633 Solutions
New Discussion юеВ

Re: Building an installation DVD

 
David Dilly
Regular Advisor

Building an installation DVD

Hello,
When i want to generate an archive impact using the archive_impact command, the command failed with the 2 messages :

gzcat: stdin: unexpected end of gile
ERROR: The tar command failed!

Can you help me ?
I'am on a rx4640 with 11.23 Itanium2.
Thanks a lot.
David
3 REPLIES 3
David Dilly
Regular Advisor

Re: Building an installation DVD

The version of Ignite-UX is C.6.7.79
John P. Kole
Frequent Advisor

Re: Building an installation DVD

This very much resembles a truncated archive file (possibly the filesystem filled up or the archive creation process was interrupted?).

Note my valid archive:
# ls -aol 2006-03-08,04:59
-rw------- 1 bin 101254470 Mar 8 05:05 2006-03-08,04:59


I can validate it via:
# gzcat 2006-03-08,04:59 | tar -tvf - | wc
10842 92686 908195


Now, if I mistakenly have a truncated archive, notice the difference:
dd if=./2006-03-08,04:59 of=./dog count=1000
1000+0 records in
1000+0 records out
# ls -aol 2006-03-08,04:59 dog
-rw------- 1 bin 101254470 Mar 8 05:05 2006-03-08,04:59
-rw-rw-rw- 1 root 512000 Mar 9 10:54 dog
# gzcat dog | tar -tvf - | wc

gzcat: dog: unexpected end of file
Tar: error! blocksize changed
23 184 1353

# /opt/ignite/lbin/archive_impact -tg dog

gzcat: stdin: unexpected end of file
ERROR: The tar command failed!
#
What could possibly go wrong?
David Dilly
Regular Advisor

Re: Building an installation DVD

Thanks a lot
the file was corrupted !!