VMware Cloud Community
lewandowskig81
Contributor
Contributor

after ESXi 5.1u3 to 6.0u2 upgrade vmtools upgrade fail with "failed to do tools upgrade: error 21009 Unknown Error"

This doesnt help: Upgrading VMware Tools on Linux virtual machines fails with the error: Error upgrading VMware Tools ...

Other Vms get :

vix error code = 21000

No VMware Tools package is available. The VMware Tools package is not available for this guest operating system.

Guest OS is RHEL 5 and 6

Any suggestions?

0 Kudos
5 Replies
hussainbte
Expert
Expert

Hi,

Login to the ESXi SSH and make sure you have the vmtools directory available with tools ISOs.

below is an example of tools directory in ESXi 5.5.

/locker/packages/5.5.0/packages/5.5.0/vmtools

If the windows.iso exists then try the resolution in the below linked KB

VMware Tools Automatic Upgrade fails with the error: vix error code = 21009 (2129927) | VMware KB

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
lewandowskig81
Contributor
Contributor

[root@xxxxxxx:/vmfs/volumes/55deec00-6ea3414e-222a-e41f13be37f4/packages/6.0.0/vmtools] ls -l

total 206651

-rwx------    1 root     root       3094528 Mar  4 02:45 darwin.iso

-rwx------    1 root     root           256 Mar  4 02:45 darwin.iso.sig

-rwx------    1 root     root      15876096 Mar  4 02:45 freebsd.iso

-rwx------    1 root     root           256 Mar  4 02:45 freebsd.iso.sig

-rwx------    1 root     root      73893888 Jul 22 12:37 linux.iso

-rwx------    1 root     root           256 Jul 22 12:38 linux.iso.sig

-rwx------    1 root     root          1738 Mar  4 02:45 linux_avr_manifest.txt

-rwx------    1 root     root        540672 Mar  4 02:45 netware.iso

-rwx------    1 root     root           256 Mar  4 02:45 netware.iso.sig

-rwx------    1 root     root      13404160 Mar  4 02:45 solaris.iso

-rwx------    1 root     root           256 Mar  4 02:45 solaris.iso.sig

-rwx------    1 root     root            49 Mar  4 02:45 solaris_avr_manifest.txt

-rwx------    1 root     root           451 Mar  4 02:45 tools-key.pub

-rwx------    1 root     root      14090240 Mar  4 02:45 winPre2k.iso

-rwx------    1 root     root           256 Mar  4 02:45 winPre2k.iso.sig

-rwx------    1 root     root            49 Mar  4 02:45 winPre2k_avr_manifest.txt

-rwx------    1 root     root      90701824 Mar  4 02:45 windows.iso

-rwx------    1 root     root           256 Mar  4 02:45 windows.iso.sig

-rwx------    1 root     root          1069 Mar  4 02:45 windows_avr_manifest.txt

[root@xxxxxxx:/vmfs/volumes/55deec00-6ea3414e-222a-e41f13be37f4/packages/6.0.0/vmtools] pwd

/locker/packages/6.0.0/vmtools

[root@xxxxxxx:/vmfs/volumes/55deec00-6ea3414e-222a-e41f13be37f4/packages/6.0.0/vmtools]

So the files are there

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=21299...

doesnt help.

Any other suggestions?

Greg

0 Kudos
hussainbte
Expert
Expert

Could you share the Guest OS details and the latest vmware.log of the VM.

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
hussainbte
Expert
Expert

Also share the /var/log/vmware-tools-upgrader.log file

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
lewandowskig81
Contributor
Contributor

Guest details (do you need more?):

[root@guestos ~]# cat /etc/issue

Red Hat Enterprise Linux Server release 5.11 (Tikanga)

Kernel \r on an \m

[root@guestos ~]# uname -a

Linux guestos 2.6.18-407.el5 #1 SMP Fri Oct 16 12:04:40 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

[root@guestos ~]#

vmware.log:

2016-07-25T07:34:35.259Z| vmx| I120: VigorTransportProcessClientPayload: opID=43B35BFC-00000208-f-67-832a seq=92535: Receiving ToolsInstallManager.Install request.

2016-07-25T07:34:35.280Z| vmx| I120: TOOLS INSTALL entering BEGINNING state.

2016-07-25T07:34:35.282Z| vmx| I120: TOOLS INSTALL could not find tools for this guest OS.

2016-07-25T07:34:35.282Z| vmx| I120: TOOLS INSTALL Initialization failed.

2016-07-25T07:34:35.282Z| vmx| I120: TOOLS INSTALL entering IDLE state.

2016-07-25T07:34:35.282Z| vmx| A115: ConfigDB: Setting toolsInstallManager.updateCounter = "12"

2016-07-25T07:34:35.302Z| vmx| A115: ConfigDB: Setting toolsInstallManager.lastInstallError = "21000"

2016-07-25T07:34:35.302Z| vmx| I120: Vix: [77362 vigorCommands.c:545]: VigorToolsInstallManagerCommandCallback: toolInstallErr = 1

2016-07-25T07:34:35.302Z| vmx| I120: VigorTransport_ServerSendResponse opID=43B35BFC-00000208-f-67-832a seq=92535: Completed ToolsInstallManager request.

2016-07-25T07:34:35.317Z| vmx| I120: Vigor_ClientRequestCb: failed to do op=3 on unregistered device 'VMCI' (cmd=queryFields)

2016-07-25T07:34:35.372Z| vmx| I120: Vigor_ClientRequestCb: failed to do op=3 on unregistered device 'VMCI' (cmd=queryFields)

there is no /var/log/vmware-tools-upgrader.log

Greg

0 Kudos