VMware Cloud Community
Raymo
Contributor
Contributor

ESXi 5 vshpere update manager has an unknown error

When using update manager and running a scan this error is thrown. I'm not sure which log file to look at or where it is located at. Is this a common error? I also cannot stage any baselines. I can however scan my vms and templates. Are the baselines screwed up?

Message was edited by: Raymo

Message was edited by: Raymo

Reply
0 Kudos
15 Replies
marcelo_soares
Champion
Champion

What error? Smiley Happy

Marcelo Soares
Reply
0 Kudos
Raymo
Contributor
Contributor

Uhh." Update Manager had an unknown error. Check the Tasks and Events tab and log files for details" was the error. As I mentioned I'm trying to find where in the logs to look but I had issues with the hosts previusly so I will be resintalling update manager and see how that goes.

Thanks for you insight. Smiley Happy

Reply
0 Kudos
vmwaredownload
Enthusiast
Enthusiast

Check the logs under C:\Documents and Settings\All Users\Application Data\VMware\VMware Update Manager\Logs

Reply
0 Kudos
Raymo
Contributor
Contributor

Yes I'm looking at the following logs

vmware-vum-server-log4cpp.log
vmware-vum-server-7.log

But I'm not really seeing anything. I also ran the generate update manager log bundle to make sure I'm looking at the correct logs.

Reply
0 Kudos
peetz
Leadership
Leadership

Hi,

please check if this KB article applies to you:

Update Manager fails to scan a host with an unknown error

Also, check the log file /var/log/esxupdate.log on the host that you scanned.

- Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Raymo
Contributor
Contributor

Thanks Andreas

No that KB doesn't apply to me. I'll have a look at the esxupdate.log

Reply
0 Kudos
Raymo
Contributor
Contributor

I exported all the log files (could not choose individual) but I can' find the esxupdate.log.

Reply
0 Kudos
peetz
Leadership
Leadership

It looks like this log file is not included when you export a log bundle via the vSphere client.

However, you can look at it via a web browser. Open the URL

  https://[host-ip]/host

and log in as root user when prompted.

- Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Raymo
Contributor
Contributor

Yes I was looking there too. I see configuration files but no esxupdate log

Reply
0 Kudos
peetz
Leadership
Leadership

Okay, so this is not an ESXi 5.0 host, but 4.x ?!

With 4.1 you need to look at /var/log/vmware/hostd.log (search for "haTask-ha-host-vim.host.PatchManager").

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
Raymo
Contributor
Contributor

No it's ESXi 5 host. Attached are the screen shots. I just didn't have a hand in the original setup so I'm trying to work this issue and verify the setup.

Reply
0 Kudos
Raymo
Contributor
Contributor

OK it's working a little. I can scan but it will throw the error when it tries to stage the patch.

Message was edited by: Raymo

Reply
0 Kudos
Raymo
Contributor
Contributor

OK had to contact VMware on this one. It turns out there was a syslog setting that was pointing to a non existent directory. Created the directory and changed the settigns and after a reboot everything is fine. Again Andreas I appreciate all your help

Reply
0 Kudos
JonesytheGreat
Enthusiast
Enthusiast

Could you give more information on the solution?

Reply
0 Kudos
Raymo
Contributor
Contributor

It appears during the initial setup syslog info was pointed to another directory but the directory did not actually exist. The error was not obvious to me in the logs but the VMware engineer was quick to find it. Once we created this directory for each host I was able to stage the updates and apply them.

Hope that helps

Reply
0 Kudos