Unable to create new VM for customer due to failed to extract gunzip

I am trying to create new VM for customer. This has worked in the past and now its not.

creation failed : Failed to extract filesystem : gunzip: /tmp/.webmin/jp_XenCentOs5.5_IW_JAVA_64/jp_XenCentOs5.5_IW_JAVA_64.ext3.gz: invalid compressed data--crc error gunzip: /tmp/.webmin/jp_XenCentOs5.5_IW_JAVA_64/jp_XenCentOs5.5_IW_JAVA_64.ext3.gz: invalid compressed data--length error

Any ideas? This image has not changed.

-rw------- 1 root bin 460 Sep 25 15:37 JP_XenCentOs5.5_base_64.img -rw------- 1 root bin 942250640 Sep 25 14:03 jp_XenCentOs5.5_IW_JAVA_64.ext3.gz

-John

Status: 
Closed (fixed)

Comments

Is the image file on the Cloudmin master system corrupt?

It can be found in the /var/webmin/server-manager directory - you could check with a command like :

gunzip -c jp_XenCentOs5.5_IW_JAVA_64.ext3.gz >/dev/null

Also, check if it is cached on the host system in /var/cloudmin-images , and if the file is corrupt there.

If so, delete it and it will be re-copied from the master system.

Thanks for your prompt reply.

gunzip -c jp_XenCentOs5.5_IW_JAVA_64.ext3.gz >/dev/null spews out all kinds of stuff verbosely - nothing readable. (still going)

/var/cloudmin-images does not exist on hypervisor server. No such file or directory.

What does gunzip output exactly? The compressed file contents should be thrown away in /dev/null , so you should only see errors ..

In my stupidity I copied and pasted the command not realizing that the > bracket was changed to unicode.

Heres the error:

gunzip: jp_XenCentOs5.5_IW_JAVA_64.ext3.gz: invalid compressed data--crc error

gunzip: jp_XenCentOs5.5_IW_JAVA_64.ext3.gz: invalid compressed data--length error

Im just gonna have to create a new image from the base.

-John

Yeah, that seems like the best option. It is likely that some disk error has corrupted the image file..

Automatically closed -- issue fixed for 2 weeks with no activity.