If the vCenter Server Inventory Service fails with the
XhiveException: IO_ERROR, restore the Inventory Service database from backup or reset the Inventory Service database.
Symptoms:
- Backing up the vCenter Server Inventory database fails
- You see the error:
Error: INTERNAL_ERROR: No file found for pageid 144c00000000
Backup failed
- vCenter Server Inventory Service database cannot back up the Inventory Service database
- Inventory Services service fails to start
- In the Inventory Services ds.log file, you see entries similar to:
[<YYYY-MM-DD> <time>,266 WrapperListener_start_runner FATAL com.vmware.vim.dataservices.WrapperListenerImpl] Error starting service:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instanceUUID' defined in class path resource [server/config/server-config.xml]: Cannot resolve reference to bean 'store' while setting bean property 'targetObject'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storeFactory' defined in class path resource [server/config/query-server-config.xml]: Invocation of init method failed; nested exception is com.xhive.error.XhiveException: INTERNAL_ERROR: No file found for pageid 144c00000000
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.
resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.
resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
Caused by: com.xhive.error.XhiveException: INTERNAL_ERROR: No file found for pageid 144c00000000
at xDB_9_0_11.aW.w(xdb:586)
at xDB_9_0_11.aW.a(xdb:570)
at xDB_9_0_11.Ky.l(xdb:109)
at xDB_9_0_11.Ky.n(xdb:194)
at xDB_9_0_11.dY.a(xdb:299)
at xDB_9_0_11.qZ.z(xdb:148)</time>
Note: The ds.log file is located at:
- Windows Server 2008:
C:\ProgramData\VMware\Infrastructure\Inventory Service\Logs\
- Windows Server 2003:
C:\Documents and Settings\All Users\Application Data\VMware\Infrastructure\Inventory Service\Logs\
- Error 7024 in Windows Event Viewer
The VMware Inventory Service service terminated with the following service-specific error:
Incorrect function. - Windows vCenter 6.0 Inventory Service log "C:\ProgramData\VMware\vCenterServer\logs\invsvc\inv-svc" can have following entries:
Caused by: com.xhive.error.XhiveException: IO_ERROR
at com.xhive.kernel.ay.a(xdb:341)
at com.xhive.kernel.at.<init>(xdb:277)
at com.xhive.kernel.ci.a(xdb:88)
at com.xhive.core.s.a(xdb:296)
at com.xhive.core.s.init(xdb:329)
at com.xhive.core.s.init(xdb:345)
at com.xhive.core.s.init(xdb:339)
at com.vmware.vim.query.server.store.impl.StoreFactoryImpl.init(StoreFactoryImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1640)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
... 33 more
Caused by: java.io.EOFException
at java.io.RandomAccessFile.readInt(RandomAccessFile.java:827)
at com.xhive.kernel.ay.bn(xdb:886)
at com.xhive.kernel.ay.a(xdb:217)
... 47 more
- vCenter Appliance 6.0 Inventory Service log "/var/log/vmware/invsvc/inv-svc.log" can have following entries:
2018-02-02T11:20:57.103+02:00 [WrapperListener_start_runner WARN org.springframework.context.support.ClassPathXmlApplicationContext opId=] Exception encountered during context initialization - cancelling refresh attempt: org.springfra
mework.beans.factory.BeanCreationException: Error creating bean with name 'instanceUUID' defined in class path resource [server/config/server-config.xml]: Cannot resolve reference to bean 'store' while setting bean property 'targetObject
'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storeFactory' defined in class path resource [server/config/query-server-config.xml]: Invocation of init method failed; nested
exception is com.xhive.error.XhiveException: INTERNAL_ERROR: Recovery redo error at lsn 367500004b5a