ESX Server 3.0.3: Patch Installation Fails if Directory Name Contains Spaces

Details

Summary

Installation of ESX Server 3.0.x patch fails with an error message when the parent directory name contains spaces in them.  

Symptom  

When installing ESX Server 3.0.x patches, if the parent directory contains spaces (for example, 30x all ), the installation fails with the following error message: 
INFO: No repository URL specified, going with file:/root/302 all/ESX-1002975
DEBUG: Lock file /var/run/esxupdate.pid created with PID 1385
DEBUG: Options {'url': 'file:/root/302 all/ESX-1002975', 'verbosity': 10, 'enableRollback': 0} Command update
DEBUG: Entering [ 15:40:04 01/17/08] [ConfigState ]
INFO: Configuring...
DEBUG: Attempting to retrieve descriptor.xml from [file:/root/302 all/ESX-1002975/]
DEBUG: rpms created = 3 for tag='rpmlist'
DEBUG: Host version [3.0.2] release [52542]
DEBUG: LogCommand(grep vmware-vmx /proc/vmware/sched/cpu)
DEBUG: Configure yum.conf to use repositories
DEBUG: Saving descriptor to file /etc/vmware/patchdb/ESX-1002975.xml
DEBUG: Adding entry with key [/current]
DEBUG: Entering [ 15:40:04 01/17/08] [PrepState ]
INFO: Preparing to install VMware ESX Server ESX-1002975...
DEBUG: Prepare pending package list...
DEBUG: Matching package name 2 and NAVR 0
DEBUG: LogCommand(yum info)
ERROR: Error (1) executing [yum info]
using ftp, http[s], or file for servers, Aborting - all/ESX-1002975
DEBUG: Saving descriptor to file /etc/vmware/patchdb/ESX-1002975.xml
DEBUG: Adding entry with key [/current]
DEBUG: Entering [ 15:40:05 01/17/08] [PrepFailed ]
DEBUG: Install cleanup...
DEBUG: LogCommand(rm -f /etc/vmware/esx.conf.WRITELOCK)
DEBUG: LogCommand(rm -f /var/lib/rpm/__db*)
DEBUG: Lock file /var/run/esxupdate.pid deleted
DEBUG: Final state: PrepFailed

Solution

To work around this issue, ensure that the name of the parent directory contains no spaces. If the directory name contains two or more words, the words can be seperated by underscores.

Based on VMware KB 1006164
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...