VMware Cloud Community
martinelli99
Contributor
Contributor

Patch "ESXi500-201112001.zip" corrupt?

Hello everybody,

when trying to install the latest patch for ESXi 5, I get this error:

esxcli software vib install --maintenance-mode --depot ESXi500-201112001.zip
[MetadataDownloadError]
Could not download from depot at zip:/var/log/vmware/ESXi500-201112001.zip?index.xml, skipping (('zip:/var/log/vmware/ESXi500-201112001.zip?index.xml', '', "Error extracting index.xml from /var/log/vmware/ESXi500-201112001.zip: [Errno 2] No such file or directory: '/var/log/vmware/ESXi500-201112001.zip'"))
        url = zip:/var/log/vmware/ESXi500-201112001.zip?index.xml
Please refer to the log file for more details.

Downloading this patch a different time - because maybe corrupted while downloading - didn't help, although md5sum is correct.

Does anyone know, if there is a problem with this file? Installing the first patches worked without any problems on this host.

Thanks in advance

Regards

martinelli

<42>

Reply
0 Kudos
11 Replies
vmroyale
Immortal
Immortal

Hello.

Where is the ESXi500-201112001.zip file actually sitting on the file system - what directory?

I wrote a blog entry not too long ago that might be helpful.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
martinelli99
Contributor
Contributor

Hi,

different tries, first one with zip on my (local) SSD, from where I started the esxcli-command, then the same

from my iSCSI-Target.

When I execute "esxcli" from /root-dir I named the complete path after "--depot". Both doesn't work.

Again - Installing the first patches didn't make any problems.

With your blog I learned to use "esxcli" for updating my server, so I know this very well, thank you for that! :winking_face:

Regards

martinelli

<42>

Reply
0 Kudos
martinelli99
Contributor
Contributor

Hello everybody,

for me I found a solution: Originally I have had an Installation on a USB-Stick (4 GB), more than enough

space for running ESXi 5. Also enough for installing Patch 1 und Patch 2.

But while trying to install Patch No. 3, vmkernel.log shows me, "insufficient space ...". So I changed the

whole installation to a 60 GB SSD and everything is fine, with all the patches.

Now I'm sure, the patch   i s   n o t  corrupt!

Regards
martinelli

Reply
0 Kudos
a_p_
Leadership
Leadership

Out of curiosity, did you have the persistent scratch location configured while running the Hypervisor from the USB-Stick?

see http://kb.vmware.com/kb/1033696

André

Reply
0 Kudos
martinelli99
Contributor
Contributor

Don't know, cannot check, because of the changed installation-method. But it should have been located

on the SSD, which was already installed as a Backup-Disk for my Virtual Machines, when I ran ESXi from

USB-Stick. And afaik does ESXi configure scratch and log-location automatically on everything "better"

than a stick. Am I right?

And btw - what is the scratch(-setting) good for?

martinelli

<42>

Reply
0 Kudos
a_p_
Leadership
Leadership

And afaik does ESXi configure scratch and log-location automatically on everything "better" than a stick. Am I right?

No, the default 4GB scratch partition will only be created if ESXi is installed on disk or SAN, not on USB even if it was large enough. If ESXi is installed on an USB/SD device you have to define the scratch location manually.

And btw - what is the scratch(-setting) good for?

As explained in the KB article I posted, by default all data will be kept in the RAM disk without a scratch partition/location. Since space is limited this can lead to an out-of-disk-space situation like the one you experienced.

André

Reply
0 Kudos
martinelli99
Contributor
Contributor

... oh oh, one should read everything... Smiley Wink

So I will check again an installation on a Stick, with a persistent

scratch location and then patch 3.

Thanks for your hint!

Regards

Thomas

Message was edited by: a.p. - fixed title and removed email attachment

Reply
0 Kudos
a_p_
Leadership
Leadership

So I will check again an installation on a Stick, with a persistent scratch location and then patch 3.

Please let us know what you find out.

André

PS: Genau die richtige Arbeit für einen trüben Sonntag Nachmittag Smiley Wink

Reply
0 Kudos
martinelli99
Contributor
Contributor

Hi André

I'm sorry for the delay, but there was so much to do on the job (new ESX-Servers, new SAN...)  :winking_face:

Now I set up a test machine, with the same configuration: no disk, boot from an 2 GB USB-Stick and

without a configured scratch partition.

But here I was able to install patch 3 after installing patch 1 and patch 2 without any problems!

Don't know what went wrong with my main machine. Maybe I have to install all the patches before

configuring the rest?

Perhaps I install my server once again, I will observe this situation and have to check the scratch

settings when the error occurs again.

Thanks again!

Best regards

martinelli

Reply
0 Kudos
martinelli99
Contributor
Contributor

And now another try the final! - with my main server - the "patch corrupt"-messages appears already while trying to

install patch #1!

After connecting a SSD to the server, the scratch directory was created automatically (after rebooting the system)

and everything was fine, I was able to install all the three patches.

So André was right thanks for that again!

Regards

martinelli

Reply
0 Kudos
tonyshawn27
Contributor
Contributor

Obviously cannot open zip file denotes file is corrupted. You would to use tool below

Zip file repair

it helps you to get back archives to proper condition and doesn't change source file data before corruption

Reply
0 Kudos