• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Problems using the vCenter Web Client

Duncan Epping · May 7, 2012 ·

I was doing some upgrades in my lab and ran in to an issue. Whenever I started the vCenter Web Client I got a message that the vCenter Inventory Service wasn’t running. I looked at my Services section in Windows 2008 and found that it wasn’t started. Starting it gave me a new error: 1067. This is very generic but I figured I would google it anyway. That actually brought me to our own documentation, yes I should check that first next time, and it mentioned I could reset the inventory service as follows:

  • Stop the service (was already stopped)
  • Delete the entire contents of the Inventory_Service_Directory/data directory
  • Change directory to Inventory_Service_directory/scripts
  • Run the createDB.bat command, with no arguments, to reset the vCenter Inventory Service database
  • Run the register.bat command to update the stored configuration information of the Inventory Service
    register.bat vcenter-tm01.testlab.local 443
  • Restart the vCenter Inventory Service

I also had to re-register the Web Client to vCenter Server. This is what I had to do:

  • admin-cmd.bat register https://vcenter-tm01.testlab.local:9443/vsphere-client https://vcenter-tm01.testlab.local administrator password
Hope it helps,

 

Share it:

  • Tweet

Related

Server troubleshooting, vcenter, web client

Reader Interactions

Comments

  1. Hank_Q says

    9 May, 2012 at 08:23

    Hi Duncan,
    I got the same problem with teh Inventory Service, but for me these workaround doesn´t work.
    After running the “register.bat” the script show these “error” ->

    java.io.IOException: failed to decrypt safe contents entry: javax.crypto.BadPadd
    ingException: Given final block not properly padded
    at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeySt
    ore.java:1277)
    at java.security.KeyStore.load(KeyStore.java:1185)
    at com.vmware.vim.dataservices.provider.util.KeyStoreUtil.loadKeyStore(K
    eyStoreUtil.java:53)
    at com.vmware.vim.dataservices.provider.util.SetupLocalService.connectVc
    (SetupLocalService.java:117)
    at com.vmware.vim.dataservices.provider.util.SetupLocalService.setupWith
    RunningVpxd(SetupLocalService.java:167)
    at com.vmware.vim.dataservices.provider.util.SetupLocalService.main(Setu
    pLocalService.java:453)
    Caused by: javax.crypto.BadPaddingException: Given final block not properly padd ed
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.PKCS12PBECipherCore.b(DashoA13*..)
    at com.sun.crypto.provider.PKCS12PBECipherCore$PBEWithSHA1AndRC2_40.engi
    neDoFinal(DashoA13*..)
    at javax.crypto.Cipher.doFinal(DashoA13*..)
    at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeySt
    ore.java:1274)
    … 5 more
    EXECUTION FAILED

    —-
    any idea ?

    thanks

  2. Stefan A. says

    25 July, 2012 at 11:56

    I have the same problem.
    Have anyone a idea?

  3. Chris Nakagaki says

    12 March, 2013 at 16:06

    What happens when you reset vCenter Inventory Service database? Is it just indexing information that gets deleted or is it more than that?

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

Feb 9th – Irish VMUG
Feb 23rd – Swiss VMUG
March 7th – Dutch VMUG
May 24th – VMUG Poland
June 1st – VMUG Belgium

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in