Search the VMware Knowledge Base (KB)
View by Article ID

Inventory Service fails with the error: XhiveException: IO_ERROR (2017370)

  • 13 Ratings
Language Editions

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)


    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\

Purpose

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.

Cause

This issue occurs when the vCenter Inventory Service database is unusable or corrupt.

Resolution

To resolve this issue, use one of these options:
  • Restore the Inventory Service database from backup
  • Reset the Inventory Service database

Restore the Inventory Service database from backup in vCenter Server 5.x


If you have an existing backup of the Inventory Service database, attempt to restore it from backup.

Prerequisites
  • Consult your database administrator about backing up and restoring databases.
  • Ensure that you have system administrator privileges to perform backup or restore operations.
  • Ensure that the account used to perform the backup or restore operation has administrative permissions on the vCenter Server.

To restore from backup:
  1. On the destination machine, stop the vCenter Inventory service:

    1. Click Start > Control Panel > Administrative Tools > Services.
    2. Right-click the vCenter Inventory Service and click Stop. The Status changes from Started to blank.

  2. Click Start > Run, type cmd and click OK. The command prompt opens.
  3. Change directory to the Inventory_Service_Directory\scripts directory.

    Note: The location of the Inventory Service directory is specified during the vCenter Server installation. The default location is:

    C:\Program Files\VMware\Infrastructure\Inventory Service\

    Run this command:

    cd C:\Program Files\VMware\Infrastructure\Inventory Service\scripts

  4. Restore the Inventory Service database by running the command:

    restore -backup backup_file_name

    When the restore operation finishes, the Restore completed successfully message appears.

  5. Start the vCenter Inventory Service:

    1. Click Start > Control Panel > Administrative Tools > Services.
    2. Right-click the vCenter Inventory Service and click Start.

  6. Verify that the Inventory Service started correctly by waiting five minutes and then trying to use the search function in vCenter Server. If the search function does not work as expected, try restarting the VMware VirtualCenter Server service, or consider rebooting the server.

Reset the Inventory Service database in vCenter Server 5.x

If you are unable to restore the Inventory Service database, you can instead reset it.

Warning: This procedure causes all data stored in the Inventory Service database to be lost.

To reset the Inventory Service database, see Resetting the VMware vCenter Server 5.x Inventory Service database (2042200).

Note: To register the vCenter Inventory Service in vCenter Server 5.1 and 5.5, see Re-pointing and re-registering VMware vCenter Server 5.1 / 5.5 and components (2033620).

Impact/Risks

Resetting the Inventory Service database causes all data stored in the Inventory Service to be lost.

Additional Information

Backing up the Inventory Service database in vCenter Server 5.x


Prerequisites
  • Consult your database administrator about backing up and restoring databases.
  • Ensure that you have system administrator privileges to perform backup or restore operations.
  • Ensure that the account used to perform the backup or restore operation has administrative permissions on the vCenter Server

To back up the Inventory Service database on Windows:

  1. On the vCenter Server machine, click Start > Run, type cmd, and click OK. The command prompt opens.
  2. Change directory to the Inventory_Service_Directory\scripts directory. For example, if you used the default location on Windows Server 2008, run this command:

    cd C:\Program Files\VMware\Infrastructure\Inventory Service\scripts

  3. To back up the Inventory Service database, run this command:

    backup.bat -file backup_file_name

  4. When the backup operation finishes, the Backup completed successfully message appears.
For more information, see the ESXi and vCenter Server 5.1 Documentation Guide.

Tags

Inventory Service fails, XhiveException: IO_ERROR.,vmware inventory service not starting,newly added VM was not displayed with vSphere Client,vCenter Inventory service not starting,Unable to start vCenter inventory service

See Also

Update History

09/11/2012 - Changed Inventory Service directory location to proper location. 01/23/2013 - Added "Reset the Inventory Service database in vCenter Server 5.1" to the resolution section. 04/12/2013 - Added link to article 2045422 10/16/2013 - Added link to article 2037952 10/30/2013 - Rewrote the Reset the Inventory Service database in vCenter Server 5.x section.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 13 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 13 Ratings
Actions
KB: