VMware Cloud Community
chentschel
Contributor
Contributor

ESX 3.01 - esxupdate fails to install patches

Hi,

im having problems with esxupdate update.

It just won't update patches as described in http://www.vmware.com/pdf/esx3_esxupdate.pdf.

Heres the error im getting (as root):

\# pwd

/var/updates/2006-11-30/ESX-1410076

\# esxupdate -n update

INFO: No repository URL specified, going with file:/var/updates/2006-11-30/ESX-1410076

INFO: Configuring...

INFO: Preparing to install VMware ESX Server ESX-1410076...

INFO: All system files backed up...

INFO: Running yum upgrade...

INFO: | Enabling repackaging capability...

INFO: | Gathering header information file(s) from server(s)

INFO: | Server: Esxupdate-compatible repository for VMware ESX Server ESX-1410076

INFO: | Finding updated packages

INFO: | Downloading needed headers

INFO: | Finding obsoleted packages

INFO: | Resolving dependencies

INFO: | Enabling repackaging capability...

INFO: | Dependencies resolved

INFO: | I will do the following:

INFO: | \[update: VMware-hostd-esx 3.0.1-34176.i386]

INFO: | \[update: VMware-esx-vmx 3.0.1-34176.i386]

INFO: | \[update: VMware-esx-srvrmgmt 3.0.1-34176.i386]

INFO: | \[update: VMware-esx-apps 3.0.1-34176.i386]

INFO: | \[update: VMware-esx-backuptools 3.0.1-34176.i386]

INFO: | Downloading Packages

INFO: |

INFO: | retrygrab() failed for:

INFO: |

INFO: | Executing failover method

INFO: | failover: out of servers to try

INFO: |

INFO: |

INFO: yum upgrade failed for \['VMware-esx-vmx.i386', 'VMware-esx-backuptools.i386', 'VMware-esx-srvrmgmt.i386', 'VMware-hostd-esx.i386', 'VMware-esx-apps.i386']

INFO: --- TOTALS: 0 packages installed, 6 pending or failed, 0 excluded ---

INFO: Yum upgrade failed, correct the problem and retry the update.

yum upgrade says local file doesn't exist:

\# yum upgrade

Gathering header information file(s) from server(s)

Server: Esxupdate-compatible repository for VMware ESX Server ESX-1410076

Finding updated packages

Downloading needed headers

Finding obsoleted packages

Resolving dependencies

Dependencies resolved

I will do the following:

\[update: VMware-hostd-esx 3.0.1-34176.i386]

\[update: VMware-esx-vmx 3.0.1-34176.i386]

\[update: VMware-esx-srvrmgmt 3.0.1-34176.i386]

\[update: VMware-esx-apps 3.0.1-34176.i386]

\[update: VMware-esx-backuptools 3.0.1-34176.i386]

Is this ok \[y/N]: y

Downloading Packages

Getting VMware-hostd-esx-3.0.1-34176.i386.rpm

retrygrab() failed for:

file:/var/updates/2006-11-30/ESX-1410076/VMware-hostd-esx-3.0.1-34176.i386.rpm

Executing failover method

failover: out of servers to try

Error getting file file:/var/updates/2006-11-30/ESX-1410076/VMware-hostd-esx-3.0.1-34176.i386.rpm

\[Errno 2] Local file does not exist: /var/updates/2006-11-30/ESX-1410076/VMware-hostd-esx-3.0.1-34176.i386.rpm

Local file does not exist?! Im pretty sure it does! And its readable for everyone.

\# ls -l

total 118016

-rw-rr 1 root root 1296 Nov 29 07:19 descriptor.xml

drwxr-xr-x 2 root root 4096 Feb 21 18:24 headers

-rw-rr 1 root root 3427356 Nov 6 01:25 VMware-esx-apps-3.0.1-34176.i386.rpm

-rw-rr 1 root root 2072950 Nov 6 01:25 VMware-esx-backuptools-3.0.1-34176.i386.rpm

-rw-rr 1 root root 5514428 Nov 6 01:25 VMware-esx-debug-tools-3.0.1-34176.i386.rpm

-rw-rr 1 root root 5895871 Nov 6 01:25 VMware-esx-srvrmgmt-3.0.1-34176.i386.rpm

-rw-rr 1 root root 5020555 Nov 6 01:25 VMware-esx-vmx-3.0.1-34176.i386.rpm

-rw-rr 1 root root 98747662 Nov 6 01:25 VMware-hostd-esx-3.0.1-34176.i386.rpm

Any help or pointers would be greatly appreciated

Reply
0 Kudos
5 Replies
virtech
Expert
Expert

Can you post the syntax and distribution method you are using?

Reply
0 Kudos
Chiel
Enthusiast
Enthusiast

Try to keep the directory names as simple as possible...

Try renaming it to patch1 or something.

Don't ask me why, but i've run into some problems with installing patches if there where spaces or capital letters in the directory names.

Ive also seen patches fail due to corrupt install files (YES even if the md5sum was correct). Remove the unpacked directory and unpack the tar file again.

Worst case, copy a new tar file to the ESX server.

Reply
0 Kudos
VirtualKenneth
Virtuoso
Virtuoso

Try the full syntax instead

esxupdate -n -r file:</path> update

And I assume you are using the correct order for patching?

First sort on date next sort on numbers (low numbering first)

Reply
0 Kudos
chentschel
Contributor
Contributor

Getting a fresh ESX-patch.tgz directly from http://www.vmware.com/download/vi/ on the ESX did the job.

The problem seems to have been caused by transferring a with winzip unpacked package from a network share to the ESX through winscp... not a good thing to do, seems like some bits fell off...

Thanks!

Reply
0 Kudos
Lfrisino
Enthusiast
Enthusiast

I downloaded th epatch again, and installed it right from the esx /tmp folder and was successful. Strage thing, both times I downloaded it, the md5checksum matched the origional...

Reply
0 Kudos