VMware Cloud Community
windvally
Contributor
Contributor

Inventory service can't be started, service status stay in starting,How to resolve it?

After reboot VCenter server host.The inventory service keeping status in starting.

I can't stop inventory service.

I found some error in  the inventory log file as below:

[2013-08-31 08:48:22,265 pool-3-thread-1  ERROR com.vmware.vim.query.server.store.impl.QueryPerfLogger] Session pool-providerPool-session-5 has been held for 418885

[2013-08-31 08:48:22,274 pool-3-thread-1  ERROR com.vmware.vim.query.server.store.impl.QueryPerfLogger] at xDB_9_0_11.nU.q(xdb:212)

  at xDB_9_0_11.nZ.ia(xdb:399)

  at xDB_9_0_11.nZ.ib(xdb:404)

  at xDB_9_0_11.vf.iR(xdb:48)

  at xDB_9_0_11.nU.qm(xdb:329)

  at xDB_9_0_11.nU.tG(xdb:1751)

  at xDB_9_0_11.nU.lf(xdb:1769)

  at xDB_9_0_11.hA.lf(xdb:85)

  at xDB_9_0_11.hA.kr(xdb:10)

  at xDB_9_0_11.lP.rB(xdb:143)

  at xDB_9_0_11.lP.rD(xdb:163)

  at xDB_9_0_11.lP.rF(xdb:184)

  at xDB_9_0_11.Hd.aV(xdb:50)

  at xDB_9_0_11.ur.aV(xdb:168)

  at xDB_9_0_11.tk.aV(xdb:28)

  at xDB_9_0_11.vi.aV(xdb:465)

  at xDB_9_0_11.pe.getBooleanValue(xdb:102)

  at xDB_9_0_11.ts.dL(xdb:31)

  at xDB_9_0_11.rT.aV(xdb:33)

  at xDB_9_0_11.Bp.l(xdb:146)

  at xDB_9_0_11.kS.a(xdb:60)

  at xDB_9_0_11.pu.a(xdb:68)

  at xDB_9_0_11.kQ.a(xdb:41)

  at xDB_9_0_11.pL.a(xdb:83)

  at xDB_9_0_11.pL.c(xdb:74)

  at xDB_9_0_11.pL.b(xdb:55)

  at xDB_9_0_11.HV.Lq(xdb:29)

  at xDB_9_0_11.HV.aV(xdb:50)

  at xDB_9_0_11.La.a(xdb:25)

  at xDB_9_0_11.Ch.a(xdb:266)

  at xDB_9_0_11.Ch.a(xdb:149)

  at xDB_9_0_11.ur.<init>(xdb:121)

  at xDB_9_0_11.ur.<init>(xdb:95)

  at xDB_9_0_11.sT.a(xdb:52)

  at xDB_9_0_11.jw.a(xdb:37)

  at xDB_9_0_11.jw.a(xdb:37)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.xj.a(xdb:44)

  at xDB_9_0_11.yM.a(xdb:199)

  at xDB_9_0_11.yM.<init>(xdb:194)

  at xDB_9_0_11.NK.a(xdb:150)

  at xDB_9_0_11.NK.a(xdb:136)

  at xDB_9_0_11.zA.ea(xdb:129)

  at xDB_9_0_11.zA.<init>(xdb:95)

  at xDB_9_0_11.cy.a(xdb:23)

  at xDB_9_0_11.xv.dL(xdb:66)

  at xDB_9_0_11.rT.aV(xdb:33)

  at xDB_9_0_11.zA.aV(xdb:101)

  at xDB_9_0_11.J.P(xdb:196)

  at xDB_9_0_11.J.O(xdb:119)

  at xDB_9_0_11.Fd.Gf(xdb:128)

  at xDB_9_0_11.xv.dL(xdb:69)

  at xDB_9_0_11.rT.aV(xdb:33)

  at xDB_9_0_11.ur.aV(xdb:155)

  at xDB_9_0_11.DF.aV(xdb:20)

  at xDB_9_0_11.DF.hasNext(xdb:26)

  at com.vmware.vim.query.server.store.impl.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java:53)

  at com.vmware.vim.vcauthorization.impl.provider.InMemoryAuthCache$1.loadCache(InMemoryAuthCache.java:584)

  at com.vmware.vim.vcauthorization.impl.provider.InMemoryAuthCache.handleUpdatedObjects(InMemoryAuthCache.java:742)

  at com.vmware.vim.vcauthorization.impl.provider.InMemoryAuthCache.processProviders(InMemoryAuthCache.java:691)

  at com.vmware.vim.vcauthorization.impl.provider.InMemoryAuthCache.initializeCache(InMemoryAuthCache.java:666)

  at com.vmware.vim.vcauthorization.impl.provider.InMemoryAuthCache.init(InMemoryAuthCache.java:232)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1412)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1373)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)

  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

  at java.security.AccessController.doPrivileged(AccessController.java:-2)

  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)

  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)

  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)

  at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)

  at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)

  at com.vmware.vim.dataservices.DataService.getService(DataService.java:213)

  at com.vmware.vim.dataservices.WrapperListenerImpl.start(WrapperListenerImpl.java:52)

  at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:3560)

[2013-08-31 08:48:22,275 pool-3-thread-1  ERROR com.vmware.vim.query.server.store.impl.QueryPerfLogger] Session pool-providerPool-session-5

Connected as Administrator to default

Joined by thread Thread[WrapperListener_start_runner,5,main]

Transaction id = 5660440

read only mode (no locks)

Reply
0 Kudos
3 Replies
leonhardtla
Expert
Expert

Can you see this kb : VMware KB: VMware VirtualCenter Server service does not start automatically after reboot

----- Leandro Ariel Leonhardt: Virtualized System Architect at GrupoSothis.com. VSAN vExpert 2016, vExpert 2017/16/15/14/13, VMware Certified Instructor, VCAP5-DCA, VCP6/5-DCV, VCA-DCV, Nutanix NPP/NSEN & Nutanix Technology Champions (NTC). | Founder of BlogVMware Blog: https://www.blogvmware.com & Nutanix Course http://vExpert.me/Z0 Si encuentras que esta o cualquier otra respuesta fue de utilidad, por favor da el voto. Gracias. If you find this or any other answer useful, please consider awarding points. Thank you.
Reply
0 Kudos
raog
Expert
Expert

Whats the size of the IS DB? If the situation is unresolvable then try resetting the IS db:

http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-EBB03F...

however.. you will lose your storage profiles by resetting the DB. if this is not a concern, then i suggest trying this route.. after taking a backup/snapshot.

Regards

Girish

To Virtualization and beyond! PS::If you felt the answer as helpful, please mark it as helpful/answered so that it helps other users as well! Blog:: www.virtualtipsntricks.com
Reply
0 Kudos
sjadapa
Enthusiast
Enthusiast

You can make changes to the wrapper config file to resolve the issue.

C:\Program Files\VMware\Infrastructure\Inventory Service\con\wrapper.conf

# Service dependencies. Add dependencies as needed starting from 1

  1. wrapper.startup.timeout=5400
****If you find this or any other answer useful please consider awarding points by marking the answer CORRECT or HELPFUL **** Shankar Jadapa (RHCE, MCSA, VCP 5 ) http://linuxgurus.wordpress.com
Reply
0 Kudos