Highlighted
Contributor
Contributor

Corrupted esxupdate.conf file, ESXi 4.0, please help.

Jump to solution

I just got Update Manager installed in my vCenter 5.1 install. I have a few 5.0 esxi and a single esxi 4.0. I was trying to stage updates to the 4.0 host, but the small 500MB /var/tmp/cache (on / partition) is too small. So, I changed in the conf file (/etc/vmware/esxupdate/esxupdate.conf) the location of the temp to be one of the datastore mounts that has lots of free space. I then try to redo the stage, and it failed with error 16, failed to parse config. I look at the config now, and it's completely empty, 0 bytes. I'm dead in the water. This was the only 4.0 system I have, so no way to look at another.

If you have an ESXi 4.0 system, and can please paste the content of that file here, that would get me back up and running. I've checked the 5.0 systems, and they don't seem to have this file. (found one, but the content looks different, and it's in a different location)

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Virtuoso
Virtuoso

~ # cat /etc/vmware/esxupdate/esxupdate.conf

[platform]

product = embeddedEsx

version = 4.0.0

build = 1228870

[visor]

bootbankdir = /bootbank

altbootbankdir = /altbootbank

packagingdir = /tmp/stage

stagedir = /tmp/stage/firmware

oemstgdir = /tmp/stage/oemstage

customstgdir = /tmp/stage/customstage

distribution = ESXi

[log]

level = DEBUG

file = /locker/db/esxupdate.log

size = 1024000

[default]

# Float # of seconds to timeout for downloads, 0.0 = no timeout

timeout = 30.0

retry = 5

cachedir = /var/tmp/cache

defaultcachemb = 400

mincachemb = 100

~ # cat /etc/vmware/esxupdate/esxupdate.conf

[platform]

product = embeddedEsx

version = 4.0.0

build = 1228870

[visor]

bootbankdir = /bootbank

altbootbankdir = /altbootbank

packagingdir = /tmp/stage

stagedir = /tmp/stage/firmware

oemstgdir = /tmp/stage/oemstage

customstgdir = /tmp/stage/customstage

distribution = ESXi

[log]

level = DEBUG

file = /locker/db/esxupdate.log

size = 1024000

[default]

# Float # of seconds to timeout for downloads, 0.0 = no timeout

timeout = 30.0

retry = 5

cachedir = /var/tmp/cache

defaultcachemb = 400

mincachemb = 100

~ # vmware -v

VMware ESXi 4.0.0 build-1228870

~ #

Good luck

View solution in original post

0 Kudos
2 Replies
Highlighted
Virtuoso
Virtuoso

~ # cat /etc/vmware/esxupdate/esxupdate.conf

[platform]

product = embeddedEsx

version = 4.0.0

build = 1228870

[visor]

bootbankdir = /bootbank

altbootbankdir = /altbootbank

packagingdir = /tmp/stage

stagedir = /tmp/stage/firmware

oemstgdir = /tmp/stage/oemstage

customstgdir = /tmp/stage/customstage

distribution = ESXi

[log]

level = DEBUG

file = /locker/db/esxupdate.log

size = 1024000

[default]

# Float # of seconds to timeout for downloads, 0.0 = no timeout

timeout = 30.0

retry = 5

cachedir = /var/tmp/cache

defaultcachemb = 400

mincachemb = 100

~ # cat /etc/vmware/esxupdate/esxupdate.conf

[platform]

product = embeddedEsx

version = 4.0.0

build = 1228870

[visor]

bootbankdir = /bootbank

altbootbankdir = /altbootbank

packagingdir = /tmp/stage

stagedir = /tmp/stage/firmware

oemstgdir = /tmp/stage/oemstage

customstgdir = /tmp/stage/customstage

distribution = ESXi

[log]

level = DEBUG

file = /locker/db/esxupdate.log

size = 1024000

[default]

# Float # of seconds to timeout for downloads, 0.0 = no timeout

timeout = 30.0

retry = 5

cachedir = /var/tmp/cache

defaultcachemb = 400

mincachemb = 100

~ # vmware -v

VMware ESXi 4.0.0 build-1228870

~ #

Good luck

View solution in original post

0 Kudos
Highlighted
Contributor
Contributor

Thanks! that got me back up and running. I'm still failing trying to use a different location for the update cache, but at least it's attempting to do work, where before it just couldn't start with an empty conf file.

0 Kudos